Data Fields
AESGCM_SegmentedFinalizeOperation Struct Reference

Struct containing the parameters required for finalizing an encryption/decryption and authentication/verification of a message in a segmented operation. More...

#include <AESGCM.h>

Data Fields

uint8_t * input
 
uint8_t * output
 
uint8_t * mac
 
size_t inputLength
 
uint8_t macLength
 

Detailed Description

Struct containing the parameters required for finalizing an encryption/decryption and authentication/verification of a message in a segmented operation.

Field Documentation

§ input

uint8_t* AESGCM_SegmentedFinalizeOperation::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_SegmentedFinalizeOperation::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.

§ mac

uint8_t* AESGCM_SegmentedFinalizeOperation::mac
  • Encryption: The buffer where the message authentication code is copied.
  • Decryption: The buffer containing the received message authentication code.

§ inputLength

size_t AESGCM_SegmentedFinalizeOperation::inputLength

Length of the input/output data in bytes. Can be 0 if finalizing without new payload data. Unlike this field in AESGCM_SegmentedDataOperation, the length doesn't need to be block-aligned.

§ macLength

uint8_t AESGCM_SegmentedFinalizeOperation::macLength

Length of mac in bytes. Valid MAC lengths are [4, 8, 12, 13, 14, 15, 16].


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