mbedTLS
mbedtls_sha512_context::total
is only used within mbedTLS.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
mbedTLS
mbedtls_sha512_context::total
mbedtls_sha512_context::total field
The number of Bytes processed.
Syntax
Show:
Summary
Declaration
from
sha512.h:40
uint64_t
MBEDTLS_PRIVATE
(
total
)
[
2
]
;
Examples
References
from
examples
Code
Location
Referrer
uint64_t
MBEDTLS_PRIVATE
(
total
)
[
2
]
;
/*!< The number of Bytes processed. */
sha512.h:40
uint64_t
total
[
2
]
;
/*!< number of bytes processed */
sha512_alt.h:48
ctx
->
total
[
0
]
=
0
;
esp_sha512.c:129
mbedtls_sha512_starts()
ctx
->
total
[
1
]
=
0
;
esp_sha512.c:130
mbedtls_sha512_starts()
left
=
(
unsigned
int
)
(
ctx
->
total
[
0
]
&
0x7F
)
;
esp_sha512.c:323
mbedtls_sha512_update()
ctx
->
total
[
0
]
+=
(
uint64_t
)
ilen
;
esp_sha512.c:326
mbedtls_sha512_update()
if
(
ctx
->
total
[
0
]
<
(
uint64_t
)
ilen
)
{
esp_sha512.c:328
mbedtls_sha512_update()
ctx
->
total
[
1
]
++
;
esp_sha512.c:329
mbedtls_sha512_update()
high
=
(
ctx
->
total
[
0
]
>
>
61
)
esp_sha512.c:384
mbedtls_sha512_finish()
|
(
ctx
->
total
[
1
]
<
<
3
)
;
esp_sha512.c:385
mbedtls_sha512_finish()
low
=
(
ctx
->
total
[
0
]
<
<
3
)
;
esp_sha512.c:386
mbedtls_sha512_finish()
last
=
(
size_t
)
(
ctx
->
total
[
0
]
&
0x7F
)
;
esp_sha512.c:391
mbedtls_sha512_finish()
ctx
->
total
[
0
]
=
0
;
sha512.c:260
mbedtls_sha512_starts()
ctx
->
total
[
1
]
=
0
;
sha512.c:261
mbedtls_sha512_starts()
left
=
(
unsigned
int
)
(
ctx
->
total
[
0
]
&
0x7F
)
;
sha512.c:772
mbedtls_sha512_update()
ctx
->
total
[
0
]
+=
(
uint64_t
)
ilen
;
sha512.c:775
mbedtls_sha512_update()
if
(
ctx
->
total
[
0
]
<
(
uint64_t
)
ilen
)
{
sha512.c:777
mbedtls_sha512_update()
ctx
->
total
[
1
]
++
;
sha512.c:778
mbedtls_sha512_update()
used
=
ctx
->
total
[
0
]
&
0x7F
;
sha512.c:825
mbedtls_sha512_finish()
high
=
(
ctx
->
total
[
0
]
>
>
61
)
sha512.c:846
mbedtls_sha512_finish()
|
(
ctx
->
total
[
1
]
<
<
3
)
;
sha512.c:847
mbedtls_sha512_finish()
low
=
(
ctx
->
total
[
0
]
<
<
3
)
;
sha512.c:848
mbedtls_sha512_finish()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
mbedtls_sha512_context::total
is read by 3 functions:
All items filtered out
mbedtls_sha512_context::total
mbedtls_sha512_starts()
mbedtls_sha512_update()
mbedtls_sha512_finish()
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out