#include <subsys/nrf_security/src/drivers/cracen/cracen_sw/include/cracen_sw_aes_ccm.h>
Finish the software AES-CCM encryption operation.
- Parameters
-
| [in,out] | operation | Pointer to the AEAD operation structure. |
| [out] | ciphertext | Output buffer for remaining ciphertext (typically none for CCM). |
| [in] | ciphertext_size | Size of the ciphertext buffer. |
| [out] | ciphertext_length | Pointer to store the actual ciphertext length. |
| [out] | tag | Output buffer for the authentication tag. |
| [in] | tag_size | Size of the tag buffer. |
| [out] | tag_length | Pointer to store the actual tag length. |
- Return values
-
| PSA_SUCCESS | Operation finished successfully; tag generated. |
| PSA_ERROR_BUFFER_TOO_SMALL | Tag buffer too small. |
| PSA_ERROR_BAD_STATE | Operation not initialized. |