ESP-IDF
tc_hmac_init()
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading (3/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_hmac_init()
tc_hmac_init() function
HMAC init procedure Initializes ctx to begin the next HMAC operation
Syntax
Show:
Summary
Declaration
Definition
from
hmac.h:102
int
tc_hmac_init
(
TCHmacState_t
ctx
)
;
Implemented in
hmac.c:96
Arguments
Argument
Description
ctx
IN/OUT -- struct tc_hmac_state_struct buffer to init
Return value
returns TC_CRYPTO_SUCCESS (1) returns TC_CRYPTO_FAIL (0) if: ctx == NULL or key == NULL
Related Functions
Found 3 other functions taking a
tc_hmac_state_struct
argument:
Function
Description
tc_hmac_update()
HMAC update procedure Mixes data_length bytes addressed by data into state
tc_hmac_final()
HMAC final procedure Writes the HMAC tag into the tag buffer
tc_hmac_set_key()
HMAC set key procedure Configures ctx to use key
Examples
References
from
examples
Code
Location
Referrer
int
tc_hmac_init
(
TCHmacState_t
ctx
)
hmac.c:95
int
tc_hmac_init
(
TCHmacState_t
ctx
)
hmac.c:96
int
tc_hmac_init
(
TCHmacState_t
ctx
)
;
hmac.h:102
int
tc_hmac_init
(
TCHmacState_t
ctx
)
;
hmac.h:102
return
tc_hmac_init
(
ctx
)
;
ext.c:558
bt_mesh_ext_tc_hmac_init()
(
void
)
tc_hmac_init
(
&
prng
->
h
)
;
hmac_prng.c:87
update()
(
void
)
tc_hmac_init
(
&
prng
->
h
)
;
hmac_prng.c:104
update()
(
void
)
tc_hmac_init
(
&
prng
->
h
)
;
hmac_prng.c:116
update()
(
void
)
tc_hmac_init
(
&
prng
->
h
)
;
hmac_prng.c:129
update()
(
void
)
tc_hmac_init
(
&
prng
->
h
)
;
hmac_prng.c:217
tc_hmac_prng_generate()
(
void
)
tc_hmac_init
(
&
prng
->
h
)
;
hmac_prng.c:84
update()
(
void
)
tc_hmac_init
(
&
prng
->
h
)
;
hmac_prng.c:93
update()
(
void
)
tc_hmac_init
(
&
prng
->
h
)
;
hmac_prng.c:98
update()
(
void
)
tc_hmac_init
(
&
prng
->
h
)
;
hmac_prng.c:107
update()
(
void
)
tc_hmac_init
(
&
prng
->
h
)
;
hmac_prng.c:195
tc_hmac_prng_generate()
Call Tree
from
examples
tc_hmac_init()
is called by 4 functions and calls 2 functions:
update()
tc_hmac_prng_generate()
update()
bt_mesh_ext_tc_hmac_init()
All items filtered out
tc_hmac_init()
tc_sha256_init()
tc_sha256_update()
All items filtered out
Data Use
from
examples
tc_hmac_init()
reads 1 variable:
tc_hmac_state_struct::key
All items filtered out
tc_hmac_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