Data Fields
AESCMAC_Operation Struct Reference

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
 

Detailed Description

Struct containing the parameters required for signing or verifying a message.

Field Documentation

§ 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:
© Copyright 1995-2021, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale