Data Fields
AESCTR_OneStepOperation Struct Reference

Struct containing the parameters required for encrypting/decrypting a message using a one-step operation. More...

#include <AESCTR.h>

Collaboration diagram for AESCTR_OneStepOperation:
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 using a one-step operation.

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_OneStepOperation::key

Pointer to a previously initialized CryptoKey.

§ input

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

§ output

uint8_t* AESCTR_OneStepOperation::output
  • Encryption: The output ciphertext buffer that the encrypted plaintext is copied to.
  • Decryption: The plaintext derived from the decrypted ciphertext is copied here. Size of the output buffer must be greater than or equal to the inputLength.

§ initialCounter

const uint8_t* AESCTR_OneStepOperation::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. If NULL, zero will be used for the initial counter value. The buffer's size must be at least 16-bytes.

§ inputLength

size_t AESCTR_OneStepOperation::inputLength

Length of the input in bytes. An equal number of bytes will be output by the operation. 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