mbedTLS
mbedtls_sha256_context::buffer
is only used within mbedTLS.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
CodeScope
STM32 Libraries and Samples
mbedTLS
mbedtls_sha256_context::buffer
mbedtls_sha256_context::buffer field
The data block being processed.
Syntax
from
sha256.h:62
unsigned
char
buffer
[
64
]
;
References
Location
Referrer
Text
sha256.h:62
unsigned
char
buffer
[
64
]
;
/*!< The data block being processed. */
sha256.c:299
mbedtls_sha256_update_ret()
memcpy
(
(
void
*
)
(
ctx
->
buffer
+
left
)
,
input
,
fill
)
;
sha256.c:301
mbedtls_sha256_update_ret()
if
(
(
ret
=
mbedtls_internal_sha256_process
(
ctx
,
ctx
->
buffer
)
)
!=
0
)
sha256.c:319
mbedtls_sha256_update_ret()
memcpy
(
(
void
*
)
(
ctx
->
buffer
+
left
)
,
input
,
ilen
)
;
sha256.c:351
mbedtls_sha256_finish_ret()
ctx
->
buffer
[
used
++
]
=
0x80
;
sha256.c:356
mbedtls_sha256_finish_ret()
memset
(
ctx
->
buffer
+
used
,
0
,
56
-
used
)
;
sha256.c:361
mbedtls_sha256_finish_ret()
memset
(
ctx
->
buffer
+
used
,
0
,
64
-
used
)
;
sha256.c:363
mbedtls_sha256_finish_ret()
if
(
(
ret
=
mbedtls_internal_sha256_process
(
ctx
,
ctx
->
buffer
)
)
!=
0
)
sha256.c:366
mbedtls_sha256_finish_ret()
memset
(
ctx
->
buffer
,
0
,
56
)
;
sha256.c:376
mbedtls_sha256_finish_ret()
PUT_UINT32_BE
(
high
,
ctx
->
buffer
,
56
)
;
sha256.c:377
mbedtls_sha256_finish_ret()
PUT_UINT32_BE
(
low
,
ctx
->
buffer
,
60
)
;
sha256.c:379
mbedtls_sha256_finish_ret()
if
(
(
ret
=
mbedtls_internal_sha256_process
(
ctx
,
ctx
->
buffer
)
)
!=
0
)
Data Use
Functions reading
mbedtls_sha256_context::buffer
mbedtls_sha256_context::buffer
mbedtls_sha256_update_ret()
mbedtls_sha256_finish_ret()
all items filtered out