Data Fields
AESCCM_SegmentedDataOperation Struct Reference

Struct containing the parameters required for encrypting/decrypting a message in a segmented operation. Must be updated between each add data step of a segmented operation. More...

#include <AESCCM.h>

Data Fields

uint8_t * input
 
uint8_t * output
 
size_t inputLength
 

Detailed Description

Struct containing the parameters required for encrypting/decrypting a message in a segmented operation. Must be updated between each add data step of a segmented operation.

Field Documentation

§ input

uint8_t* AESCCM_SegmentedDataOperation::input
  • Encryption: The plaintext buffer to be encrypted and authenticated in the CCM operation.
  • Decryption: The ciphertext to be decrypted and verified.

§ output

uint8_t* AESCCM_SegmentedDataOperation::output
  • Encryption: The output ciphertext buffer that the encrypted plaintext is copied to.
  • Decryption: The plaintext derived from the decrypted and verified ciphertext is copied here.

§ inputLength

size_t AESCCM_SegmentedDataOperation::inputLength

Length of the input/output data in bytes. Must be non-zero, multiple of the AES block size (16 bytes) unless the last chunk of data is being passed in. In that case, this value doesn't need to a block size multiple. Max length supported may be limited depending on the return behavior.


The documentation for this struct was generated from the following file:
© Copyright 1995-2022, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale