Struct containing the parameters required for finalizing an encryption/decryption and authentication/verification of a message in a segmented operation.
More...
#include <AESCCM.h>
Struct containing the parameters required for finalizing an encryption/decryption and authentication/verification of a message in a segmented operation.
§ input
uint8_t* AESCCM_SegmentedFinalizeOperation::input |
- Encryption: The plaintext buffer to be encrypted and authenticated in the CCM operation.
- Decryption: The ciphertext to be decrypted and verified.
§ output
uint8_t* AESCCM_SegmentedFinalizeOperation::output |
- Encryption: The output ciphertext buffer that the encrypted plaintext is copied to.
- Decryption: The plaintext derived from the decrypted and verified ciphertext is copied here.
§ mac
uint8_t* AESCCM_SegmentedFinalizeOperation::mac |
- Encryption: The buffer where the message authentication code is copied.
- Decryption: The buffer containing the received message authentication code.
§ inputLength
size_t AESCCM_SegmentedFinalizeOperation::inputLength |
Length of the input/output data in bytes. Can be 0 if finalizing without new payload data. Unlike this field in AESCCM_SegmentedDataOperation, the length doesn't need to be block-aligned. Max length supported may be limited depending on the return behavior.
§ macLength
uint8_t AESCCM_SegmentedFinalizeOperation::macLength |
Length of mac
in bytes. Valid MAC lengths are [0, 4, 6, 8, 10, 12, 14, 16]. A length of 0 disables authentication and verification. This is only permitted when using CCM*.
The documentation for this struct was generated from the following file: