Data Fields
AESCTR_Operation Struct Reference

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

#include <AESCTR.h>

Collaboration diagram for AESCTR_Operation:
Collaboration graph
[legend]

Data Fields

const CryptoKeykey
 
const uint8_t * input
 
uint8_t * output
 
const uint8_t * initialCounter
 
size_t inputLength
 

Detailed Description

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

The driver may access it at any point during the operation. It must remain in scope for the entire duration of the operation.

Field Documentation

§ key

const CryptoKey* AESCTR_Operation::key

A previously initialized CryptoKey.

§ input

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

§ output

uint8_t* AESCTR_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.

§ initialCounter

const uint8_t* AESCTR_Operation::initialCounter

A buffer containing an initial counter. Under the same key, each counter value may only be used to encrypt or decrypt a single input block.

§ inputLength

size_t AESCTR_Operation::inputLength

Length of the input and output in bytes.


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