tc_cmac_setup() function
Configures the CMAC state to use the given AES key
Arguments
s
IN/OUT -- the state to set up
sched
IN -- AES key schedule
Return value
returns TC_CRYPTO_SUCCESS (1) after having configured the CMAC state returns TC_CRYPTO_FAIL (0) if: s == NULL or key == NULL