Struct containing the parameters required for signing or verifying a message. More...
#include <AESCMAC.h>
Data Fields | |
uint8_t * | input |
uint8_t * | mac |
size_t | inputLength |
size_t | macLength |
Struct containing the parameters required for signing or verifying a message.
uint8_t* AESCMAC_Operation::input |
uint8_t* AESCMAC_Operation::mac |
size_t AESCMAC_Operation::inputLength |
Length of the input message in bytes. May be zero for CMAC but must be non-zero for CBC-MAC. See function descriptions for further restrictions. Max length supported may be limited depending on the return behavior.
size_t AESCMAC_Operation::macLength |
Length of the MAC in bytes. Must be <= 16. A length of < 8 is not recommended and should severely restrict MAC recomputation attempts. See appendix A of NIST SP800-38b for more information.