Struct containing the parameters required for signing or verifying a message.
More...
#include <AESCMAC.h>
Struct containing the parameters required for signing or verifying a message.
§ input
uint8_t* AESCMAC_Operation::input |
- Sign: Pointer to the input message to be authenticated.
- Verify: Pointer to the input message to be verified.
§ mac
uint8_t* AESCMAC_Operation::mac |
- Sign: Pointer to the output buffer to write the generated MAC. Buffer size must be at least equal to macLength.
- Verify: Pointer to the input MAC to be used for verification.
§ inputLength
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.
§ macLength
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.
The documentation for this struct was generated from the following file: