Data Fields
AESCBC_SegmentedOperation Struct Reference

Struct containing the parameters required for encrypting/decrypting a message in a segmented operation. Must be updated for steps of a segmented operation where data is processed (addData() and finalize()). More...

#include <AESCBC.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 for steps of a segmented operation where data is processed (addData() and finalize()).

Field Documentation

§ input

uint8_t* AESCBC_SegmentedOperation::input
  • Encryption: The plaintext buffer to be encrypted in the CBC operation.
  • Decryption: The ciphertext to be decrypted.

§ output

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

§ inputLength

size_t AESCBC_SegmentedOperation::inputLength

Length of the input buffer in bytes for segmented AES CBC operations. Must be a multiple of the AES block size (16 bytes) unless finalizing without new data. In that case, this value can be 0. Also, the output buffer must be large enough to receive the same number of bytes. 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