ESP-IDF
tc_hmac_update()
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
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_update()
tc_hmac_update() function
HMAC update procedure Mixes data_length bytes addressed by data into state
Syntax
Show:
Summary
Declaration
Definition
from
hmac.h:114
int
tc_hmac_update
(
TCHmacState_t
ctx
,
const
void
*
data
,
unsigned
int
data_length
)
;
Implemented in
hmac.c:110
Arguments
Argument
Description
ctx
IN/OUT -- state of HMAC computation so far
data
IN -- data to incorporate into state
data_length
IN -- size of data in bytes
Return value
returns TC_CRYPTO_SUCCCESS (1) returns TC_CRYPTO_FAIL (0) if: ctx == NULL or key == NULL
Notes
Assumes state has been initialized by tc_hmac_init
Related Functions
Found 3 other functions taking a
tc_hmac_state_struct
argument:
Function
Description
tc_hmac_init()
HMAC init procedure Initializes ctx to begin the next HMAC operation
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_update
(
TCHmacState_t
ctx
,
hmac.c:109
int
tc_hmac_update
(
TCHmacState_t
ctx
,
hmac.c:110
int
tc_hmac_update
(
TCHmacState_t
ctx
,
const
void
*
data
,
hmac.h:114
int
tc_hmac_update
(
TCHmacState_t
ctx
,
const
void
*
data
,
hmac.h:114
return
tc_hmac_update
(
ctx
,
data
,
data_length
)
;
ext.c:563
bt_mesh_ext_tc_hmac_update()
(
void
)
tc_hmac_update
(
&
prng
->
h
,
prng
->
v
,
sizeof
(
prng
->
v
)
)
;
hmac_prng.c:88
update()
(
void
)
tc_hmac_update
(
&
prng
->
h
,
&
separator0
,
sizeof
(
separator0
)
)
;
hmac_prng.c:89
update()
(
void
)
tc_hmac_update
(
&
prng
->
h
,
data
,
datalen
)
;
hmac_prng.c:92
update()
(
void
)
tc_hmac_update
(
&
prng
->
h
,
additional_data
,
additional_datalen
)
;
hmac_prng.c:95
update()
(
void
)
tc_hmac_update
(
&
prng
->
h
,
prng
->
v
,
sizeof
(
prng
->
v
)
)
;
hmac_prng.c:105
update()
(
void
)
tc_hmac_update
(
&
prng
->
h
,
prng
->
v
,
sizeof
(
prng
->
v
)
)
;
hmac_prng.c:117
update()
(
void
)
tc_hmac_update
(
&
prng
->
h
,
&
separator1
,
sizeof
(
separator1
)
)
;
hmac_prng.c:118
update()
(
void
)
tc_hmac_update
(
&
prng
->
h
,
data
,
datalen
)
;
hmac_prng.c:119
update()
(
void
)
tc_hmac_update
(
&
prng
->
h
,
additional_data
,
additional_datalen
)
;
hmac_prng.c:121
update()
(
void
)
tc_hmac_update
(
&
prng
->
h
,
prng
->
v
,
sizeof
(
prng
->
v
)
)
;
hmac_prng.c:130
update()
(
void
)
tc_hmac_update
(
&
prng
->
h
,
prng
->
v
,
sizeof
(
prng
->
v
)
)
;
hmac_prng.c:218
tc_hmac_prng_generate()
(
void
)
tc_hmac_update
(
&
prng
->
h
,
prng
->
v
,
sizeof
(
prng
->
v
)
)
;
hmac_prng.c:85
update()
(
void
)
tc_hmac_update
(
&
prng
->
h
,
&
separator0
,
sizeof
(
separator0
)
)
;
hmac_prng.c:86
update()
(
void
)
tc_hmac_update
(
&
prng
->
h
,
e
,
len
)
;
hmac_prng.c:87
update()
(
void
)
tc_hmac_update
(
&
prng
->
h
,
prng
->
v
,
sizeof
(
prng
->
v
)
)
;
hmac_prng.c:94
update()
(
void
)
tc_hmac_update
(
&
prng
->
h
,
prng
->
v
,
sizeof
(
prng
->
v
)
)
;
hmac_prng.c:99
update()
(
void
)
tc_hmac_update
(
&
prng
->
h
,
&
separator1
,
sizeof
(
separator1
)
)
;
hmac_prng.c:100
update()
(
void
)
tc_hmac_update
(
&
prng
->
h
,
e
,
len
)
;
hmac_prng.c:101
update()
(
void
)
tc_hmac_update
(
&
prng
->
h
,
prng
->
v
,
sizeof
(
prng
->
v
)
)
;
hmac_prng.c:108
update()
(
void
)
tc_hmac_update
(
&
prng
->
h
,
prng
->
v
,
sizeof
(
prng
->
v
)
)
;
hmac_prng.c:196
tc_hmac_prng_generate()
Call Tree
from
examples
tc_hmac_update()
is called by 4 functions and calls 1 function:
update()
tc_hmac_prng_generate()
update()
bt_mesh_ext_tc_hmac_update()
All items filtered out
tc_hmac_update()
tc_sha256_update()
All items filtered out
Data Use
from
examples
tc_hmac_update()
:
All items filtered out
tc_hmac_update()
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