Data Fields
AESGCM_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 <AESGCM.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* AESGCM_SegmentedDataOperation::input
  • Encryption: The plaintext buffer to be encrypted and authenticated in the GCM operation.
  • Decryption: The ciphertext to be decrypted and verified.

§ output

uint8_t* AESGCM_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 AESGCM_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 payload data is being passed in. In that case, this value doesn't need to be an AES block-sized multiple.


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