#include <subsys/nrf_security/src/drivers/cracen/cracen_sw/include/cracen_sw_aead.h>
Finish the software AEAD decryption and verify the tag.
- Parameters
-
| [in,out] | operation | Pointer to the AEAD operation structure. |
| [out] | plaintext | Final plaintext output buffer. |
| [in] | plaintext_size | Size of plaintext buffer. |
| [out] | plaintext_length | Pointer to store actual plaintext length. |
| [in] | tag | Tag to verify. |
| [in] | tag_length | Length of the tag. |
- Return values
-
| PSA_SUCCESS | Decryption finished successfully; tag verified. |
| PSA_ERROR_NOT_SUPPORTED | Unsupported algorithm. |
| PSA_ERROR_INVALID_SIGNATURE | Tag verification failed. |
| PSA_ERROR_BAD_STATE | Operation not initialized. |