Struct containing the parameters required for encrypting/decrypting a message in a single-step operation.
More...
#include <AESCBC.h>
Struct containing the parameters required for encrypting/decrypting a message in a single-step operation.
§ key
Pointer to a previously initialized CryptoKey.
§ input
uint8_t* AESCBC_OneStepOperation::input |
- Encryption: The plaintext buffer to be encrypted in the CBC operation.
- Decryption: The ciphertext to be decrypted.
§ output
uint8_t* AESCBC_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.
§ iv
uint8_t* AESCBC_OneStepOperation::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 AESCBC_oneStepEncrypt() and copied to this buffer.
§ inputLength
size_t AESCBC_OneStepOperation::inputLength |
Length of the input buffer in bytes for one-step AES CBC operations. Must be a multiple of the AES block size (16 bytes). Also, the output buffer must be large enough to receive the same number of bytes. The user or application should take care of necessary padding. Max length supported may be limited depending on the return behavior.
§ ivInternallyGenerated
bool AESCBC_OneStepOperation::ivInternallyGenerated |
When true, the IV buffer passed into AESCBC_oneStepEncrypt() will be overwritten with a randomly generated IV. Not supported by all implementations.
The documentation for this struct was generated from the following file: