AES-GCM Error Codes - 2023.1 English

Standalone Library Documentation: BSP and Libraries Document Collection (UG643)

Document ID
UG643
Release Date
2023-05-16
Version
2023.1 English

The table below lists the AES-GCM error codes.

Error Code Error Value Description
XSECURE_CSU_AES_GCM_TAG_MISMATCH 0x1 User provided GCM tag does not match with GCM calculated on data
XSECURE_CSU_AES_IMAGE_LEN_MISMATCH 0x2 When there is a Image length mismatch
XSECURE_CSU_AES_DEVICE_COPY_ERROR 0x3 When there is device copy error.
XSECURE_CSU_AES_ZEROIZATION_ERROR 0x4 When there is an error with Zeroization.
Note: In case of any error during Aes decryption, we perform zeroization of the decrypted data.
XSECURE_CSU_AES_KEY_CLEAR_ERROR 0x20 Error when clearing key storage registers after Aes operation.