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