4.1.1 crypto_Mac_Status_E

Enumeration Data TypesNumerical ValueDescription
CRYPTO_MAC_ERROR_CIPNOTSUPPTD-127Error when MAC Algorithm not supported by Crypto software component
CRYPTO_MAC_ERROR_CTX-126Error when Context pointer is NULL
CRYPTO_MAC_ERROR_KEY-125Error when Key length is above or below its range Or Key pointer is NULL
CRYPTO_MAC_ERROR_HDLR-124Error when Handler Type is Invalid
CRYPTO_MAC_ERROR_INPUTDATA-123Error when input data length is zero or its pointer is NULL
CRYPTO_MAC_ERROR_MACDATA-122Error when Output Data MAC pointer is NULL, or its length is out of range
CRYPTO_MAC_ERROR_CIPOPER-121Error when Cipher Operation (MAC calculation) is Invalid
CRYPTO_MAC_ERROR_SID-120Error when Session ID is zero or Its value is more than Max. session configure in configurations
CRYPTO_MAC_ERROR_ARG-119Error when any other argument is Invalid
CRYPTO_MAC_ERROR_CIPFAIL-118Error when Cipher operation failed due to any reason
CRYPTO_MAC_ERROR_IV-117Error when IV is incorrect
CRYPTO_MAC_ERROR_AAD-116Error when Additional Authentication Data is incorrect.
CRYPTO_MAC_CIPHER_SUCCESS0Cipher operation is complete successfully