nrfxlib API 2.8.99
Loading...
Searching...
No Matches

◆ cc3xx_aead_verify()

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.

Parameters
[in]operationActive AEAD operation.
[out]plaintextBuffer containing the plaintext.
[in]plaintext_sizeSize of the plaintext buffer in bytes.
[out]plaintext_lengthThe number of bytes that make up the plaintext
[in]tagBuffer containing the tag
[in]tag_sizeSize of the tag buffer in bytes
Return values
PSA_SUCCESS
PSA_ERROR_INVALID_ARGUMENT
PSA_ERROR_CORRUPTION_DETECTED
PSA_ERROR_NOT_SUPPORTED