Struct containing the parameters required for encrypting/decrypting a message.
More...
#include <AESCBC.h>
Struct containing the parameters required for encrypting/decrypting a message.
§ 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: