AES-GCM Error Codes - 2021.1 English

Xilinx Standalone Library Documentation OS and Libraries Document Collection (UG643)

Document ID
Release Date
2021.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.