5.1.1 crypto_AEAD_Status_E
Description
This enum is used to represent the return type of AEAD algorithm APIs.
Enumeration Data Types | Numerical Value | Description |
---|---|---|
CRYPTO_AEAD_ERROR_CIPNOTSUPPTD | -127 | Error when AEAD algorithm not supported by Crypto software component |
CRYPTO_AEAD_ERROR_CTX | -126 | Error when context pointer is NULL |
CRYPTO_AEAD_ERROR_KEY | -125 | Error when key length is above or below its range or key pointer is NULL |
CRYPTO_AEAD_ERROR_HDLR | -124 | Error when handler type is invalid |
CRYPTO_AEAD_ERROR_INPUTDATA | -123 | Error when input data length is zero or its pointer is NULL |
CRYPTO_AEAD_ERROR_OUTPUTDATA | -122 | Error when output data pointer is NULL |
CRYPTO_AEAD_ERROR_NONCE | -121 | Error when nonce pointer is NULL or its length is below or above range |
CRYPTO_AEAD_ERROR_AUTHTAG | -120 | Error when tag pointer is NULL |
CRYPTO_AEAD_ERROR_AAD | -119 | Error when AAD pointer is NULL |
CRYPTO_AEAD_ERROR_CIPOPER | -118 | Error when cipher operation (encryption or decryption) is invalid |
CRYPTO_AEAD_ERROR_SID | -117 | Error when Session ID is zero or its value is more than max session configure in configurations |
CRYPTO_AEAD_ERROR_ARG | -116 | Error when any other argument is invalid |
CRYPTO_AEAD_ERROR_CIPFAIL | -115 | Error when encryption or decryption operation failed due to any reason |
CRYPTO_AEAD_ERROR_AUTHFAIL | -114 | Error when only authentication fails |
CRYPTO_AEAD_CIPHER_SUCCESS | 0 | Cipher operation and authentication are completed successfully |