tc_cmac_update() function
Incrementally computes CMAC over the next data segment
Arguments
s
IN/OUT -- the CMAC state
data
IN -- the next data segment to MAC
dlen
IN -- the length of data in bytes
Return value
returns TC_CRYPTO_SUCCESS (1) after successfully updating the CMAC state returns TC_CRYPTO_FAIL (0) if: s == NULL or if data == NULL when dlen > 0
![]()
if (tc_cmac_update(&state, sg->data,
tc_cmac_update() is called by 1 function and calls 2 functions:
![]()
tc_cmac_update()
tc_cmac_update() reads 5 variables and writes 2 variables:
![]()
tc_cmac_update()