|
MODA
1.0.1
ModularAES
|
Interface to single pass CMAC implementation as defined in NIST SP 800-38B.
Functions | |
| void | MODA_AES_CMAC (const struct aes_ctxt *aes, const uint8_t *in, uint32_t inLen, uint8_t *t, uint8_t tSize) |
| Produce a CMAC in one step starting with an initialised block cipher. More... | |
| void MODA_AES_CMAC | ( | const struct aes_ctxt * | aes, |
| const uint8_t * | in, | ||
| uint32_t | inLen, | ||
| uint8_t * | t, | ||
| uint8_t | tSize | ||
| ) |
Produce a CMAC in one step starting with an initialised block cipher.
| [in] | aes | block cipher expanded key |
| [in] | in | input buffer to CMAC |
| [in] | inLen | byte length of in |
| [out] | t | authentication tag output buffer |
| [in] | tSize | byte length of t in range (0..16) |