#include <subsys/nrf_security/src/drivers/cracen/cracen_sw/include/cracen_sw_aes_gcm.h>
Verify the tag and finish the software AES-GCM decryption operation.
- Parameters
-
| [in,out] | operation | Pointer to the AEAD operation structure. |
| [out] | plaintext | Output buffer for remaining plaintext (typically none for CCM). |
| [in] | plaintext_size | Size of the plaintext buffer. |
| [out] | plaintext_length | Pointer to store the actual plaintext length. |
| [in] | tag | Authentication tag to verify. |
| [in] | tag_length | Length of the authentication tag. |
- Return values
-
| PSA_SUCCESS | Authentication tag verified successfully. |
| PSA_ERROR_INVALID_SIGNATURE | Authentication tag verification failed. |
| PSA_ERROR_BAD_STATE | Operation not initialized. |