mbedTLS
mbedtls_sha256_context::total
is only used within mbedTLS.
Symbol previews are coming soon...
Symbols
loading...
Files
loading (4/5)...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
mbedTLS
mbedtls_sha256_context::total
mbedtls_sha256_context::total field
The number of Bytes processed.
Syntax
Show:
Summary
Declaration
from
sha256.h:42
uint32_t
MBEDTLS_PRIVATE
(
total
)
[
2
]
;
Examples
References
from
examples
Code
Location
Referrer
uint32_t
MBEDTLS_PRIVATE
(
total
)
[
2
]
;
/*!< The number of Bytes processed. */
sha256.h:42
uint32_t
total
[
2
]
;
/*!< number of bytes processed */
sha256_alt.h:46
ctx
->
total
[
0
]
=
0
;
esp_sha256.c:105
mbedtls_sha256_starts()
ctx
->
total
[
1
]
=
0
;
esp_sha256.c:106
mbedtls_sha256_starts()
left
=
ctx
->
total
[
0
]
&
0x3F
;
esp_sha256.c:287
mbedtls_sha256_update()
ctx
->
total
[
0
]
+=
(
uint32_t
)
ilen
;
esp_sha256.c:290
mbedtls_sha256_update()
ctx
->
total
[
0
]
&=
0xFFFFFFFF
;
esp_sha256.c:291
mbedtls_sha256_update()
if
(
ctx
->
total
[
0
]
<
(
uint32_t
)
ilen
)
{
esp_sha256.c:293
mbedtls_sha256_update()
ctx
->
total
[
1
]
++
;
esp_sha256.c:294
mbedtls_sha256_update()
high
=
(
ctx
->
total
[
0
]
>
>
29
)
esp_sha256.c:346
mbedtls_sha256_finish()
|
(
ctx
->
total
[
1
]
<
<
3
)
;
esp_sha256.c:347
mbedtls_sha256_finish()
low
=
(
ctx
->
total
[
0
]
<
<
3
)
;
esp_sha256.c:348
mbedtls_sha256_finish()
last
=
ctx
->
total
[
0
]
&
0x3F
;
esp_sha256.c:353
mbedtls_sha256_finish()
ctx
->
total
[
0
]
=
0
;
sha256.c:264
mbedtls_sha256_starts()
ctx
->
total
[
1
]
=
0
;
sha256.c:265
mbedtls_sha256_starts()
left
=
ctx
->
total
[
0
]
&
0x3F
;
sha256.c:657
mbedtls_sha256_update()
ctx
->
total
[
0
]
+=
(
uint32_t
)
ilen
;
sha256.c:660
mbedtls_sha256_update()
ctx
->
total
[
0
]
&=
0xFFFFFFFF
;
sha256.c:661
mbedtls_sha256_update()
if
(
ctx
->
total
[
0
]
<
(
uint32_t
)
ilen
)
{
sha256.c:663
mbedtls_sha256_update()
ctx
->
total
[
1
]
++
;
sha256.c:664
mbedtls_sha256_update()
used
=
ctx
->
total
[
0
]
&
0x3F
;
sha256.c:711
mbedtls_sha256_finish()
high
=
(
ctx
->
total
[
0
]
>
>
29
)
sha256.c:732
mbedtls_sha256_finish()
|
(
ctx
->
total
[
1
]
<
<
3
)
;
sha256.c:733
mbedtls_sha256_finish()
low
=
(
ctx
->
total
[
0
]
<
<
3
)
;
sha256.c:734
mbedtls_sha256_finish()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
mbedtls_sha256_context::total
is read by 3 functions:
All items filtered out
mbedtls_sha256_context::total
mbedtls_sha256_starts()
mbedtls_sha256_update()
mbedtls_sha256_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