ESP-IDF
tc_sha256_init()
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading (4/5)...
Files
loading (4/5)...
Summary
Syntax
Arguments
Related
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
tc_sha256_init()
tc_sha256_init() function
SHA256 initialization procedure Initializes s
Syntax
Show:
Summary
Declaration
Definition
from
sha256.h:87
int
tc_sha256_init
(
TCSha256State_t
s
)
;
Implemented in
sha256.c:39
Arguments
Argument
Description
s
Sha256 state struct
Return value
returns TC_CRYPTO_SUCCESS (1) returns TC_CRYPTO_FAIL (0) if s == NULL
Related Functions
Found 2 other functions taking a
tc_sha256_state_struct
argument:
Function
Description
tc_sha256_update()
SHA256 update procedure Hashes data_length bytes addressed by data into state s
tc_sha256_final()
SHA256 final procedure Inserts the completed hash computation into digest
Examples
References
from
examples
Code
Location
Referrer
int
tc_sha256_init
(
TCSha256State_t
s
)
sha256.c:39
int
tc_sha256_init
(
TCSha256State_t
s
)
sha256.c:39
int
tc_sha256_init
(
TCSha256State_t
s
)
;
sha256.h:87
int
tc_sha256_init
(
TCSha256State_t
s
)
;
sha256.h:87
(
void
)
tc_sha256_init
(
&
dummy_state
.
hash_state
)
;
hmac.c:73
tc_hmac_set_key()
(
void
)
tc_sha256_init
(
&
ctx
->
hash_state
)
;
hmac.c:83
tc_hmac_set_key()
(
void
)
tc_sha256_init
(
&
ctx
->
hash_state
)
;
hmac.c:103
tc_hmac_init()
(
void
)
tc_sha256_init
(
&
ctx
->
hash_state
)
;
hmac.c:136
tc_hmac_final()
(
void
)
tc_sha256_init
(
&
dummy_state
.
hash_state
)
;
hmac.c:74
tc_hmac_set_key()
(
void
)
tc_sha256_init
(
&
ctx
->
hash_state
)
;
hmac.c:84
tc_hmac_set_key()
(
void
)
tc_sha256_init
(
&
ctx
->
hash_state
)
;
hmac.c:104
tc_hmac_init()
(
void
)
tc_sha256_init
(
&
ctx
->
hash_state
)
;
hmac.c:137
tc_hmac_final()
Call Tree
from
examples
tc_sha256_init()
is called by 3 functions and calls 1 function:
tc_hmac_set_key()
tc_hmac_init()
tc_hmac_final()
All items filtered out
tc_sha256_init()
_set()
All items filtered out
Data Use
from
examples
tc_sha256_init()
reads 1 variable:
tc_sha256_state_struct::iv
All items filtered out
tc_sha256_init()
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