3.1.2 crypto_Hash_Status_E

Description

This Enum is used to represent the return type of Hash algorithm APIs

Enumeration Data TypesNumerical ValueDescription
CRYPTO_HASH_ERROR_NOTSUPPTED-127Error when cipher algorithm not supported by Crypto software component
CRYPTO_HASH_ERROR_CTX-126Error when context pointer is NULL
CRYPTO_HASH_ERROR_INPUTDATA-125Error when input data length is zero or its pointer is NULL
CRYPTO_HASH_ERROR_OUTPUTDATA-124Error when outputdData pointer is NULL
CRYPTO_HASH_ERROR_SID-123Error when session ID is zero or its value is more than max session configured in configurations
CRYPTO_HASH_ERROR_ALGO-122Error when hash algorithm passed in argument is not in defined range of enum crypto_Hash_Algo_E
CRYPTO_HASH_ERROR_KEY-121Error when key length is above or below its range or key pointer is NULL for BLAKE algorithm
CRYPTO_HASH_ERROR_ARG-120Error when any other argument is invalid
CRYPTO_HASH_ERROR_HDLR-119Error when handler type is invalid
CRYPTO_HASH_ERROR_FAIL-118When any failure occurred while calculating hash
CRYPTO_HASH_SUCCESS0When hash calculated successfully