![]() |
nrfxlib API 3.4.99
|
| psa_status_t cc3xx_aead_finish | ( | cc3xx_aead_operation_t * | operation, |
| uint8_t * | ciphertext, | ||
| size_t | ciphertext_size, | ||
| size_t * | ciphertext_length, | ||
| uint8_t * | tag, | ||
| size_t | tag_size, | ||
| size_t * | tag_length ) |
Finish encrypting a message in an AEAD operation.
| [in] | operation | Active AEAD operation. |
| [out] | ciphertext | Buffer containing the ciphertext. |
| [in] | ciphertext_size | Size of the ciphertext buffer in bytes. |
| [out] | ciphertext_length | The number of bytes that make up the ciphertext |
| [out] | tag | Buffer where the tag is to be written. |
| [in] | tag_size | Size of the tag buffer in bytes. |
| [out] | tag_length | The number of bytes that make up the tag. |
| PSA_SUCCESS | |
| PSA_ERROR_INVALID_ARGUMENT | |
| PSA_ERROR_CORRUPTION_DETECTED | |
| PSA_ERROR_NOT_SUPPORTED |