nrfxlib API 2.8.99
|
psa_status_t cc3xx_aead_verify | ( | cc3xx_aead_operation_t * | operation, |
uint8_t * | plaintext, | ||
size_t | plaintext_size, | ||
size_t * | plaintext_length, | ||
const uint8_t * | tag, | ||
size_t | tag_size ) |
Finish decrypting a message in an AEAD operation.
[in] | operation | Active AEAD operation. |
[out] | plaintext | Buffer containing the plaintext. |
[in] | plaintext_size | Size of the plaintext buffer in bytes. |
[out] | plaintext_length | The number of bytes that make up the plaintext |
[in] | tag | Buffer containing the tag |
[in] | tag_size | Size of the tag buffer in bytes |
PSA_SUCCESS | |
PSA_ERROR_INVALID_ARGUMENT | |
PSA_ERROR_CORRUPTION_DETECTED | |
PSA_ERROR_NOT_SUPPORTED |