5.1.1 crypto_AEAD_Status_E

Description

This enum is used to represent the return type of AEAD algorithm APIs.

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