Data Fields
AESCBC_Operation Struct Reference

Struct containing the parameters required for encrypting/decrypting a message. More...

#include <AESCBC.h>

Collaboration diagram for AESCBC_Operation:
Collaboration graph
[legend]

Data Fields

CryptoKeykey
 
const uint8_t * input
 
uint8_t * output
 
uint8_t * iv
 
size_t inputLength
 
bool ivInternallyGenerated
 

Detailed Description

Struct containing the parameters required for encrypting/decrypting a message.

Field Documentation

§ key

CryptoKey* AESCBC_Operation::key

A previously initialized CryptoKey.

§ input

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

§ output

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

§ iv

uint8_t* AESCBC_Operation::iv

A buffer containing an IV. IVs must be unique to each CBC operation and may not be reused. If ivInternallyGenerated is set, the iv will be generated by this function call and copied to this buffer.

§ inputLength

size_t AESCBC_Operation::inputLength

Length of the input and output in bytes.

§ ivInternallyGenerated

bool AESCBC_Operation::ivInternallyGenerated

When true, the iv buffer passed into AESCBC_oneStepEncrypt() functions will be overwritten with a randomly generated iv. Not supported by all implementations.


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