2. CMOX_HASH_RETVALS ¶
2.1. Hash return values ¶
- group CMOX_HASH_RETVALS
-
Defines
-
CMOX_HASH_SUCCESS
-
Hash operation successfully performed.
-
CMOX_HASH_ERR_INTERNAL
-
Some error happens internally in the hash module.
-
CMOX_HASH_ERR_BAD_PARAMETER
-
One or more parameter has been wrongly passed to the function (e.g. pointer to NULL).
-
CMOX_HASH_ERR_BAD_OPERATION
-
Error on performing the operation (e.g. an operation has been called before initializing the handle).
-
CMOX_HASH_ERR_BAD_TAG_SIZE
-
The desired digest size is not supported by the hash algorithm.
Typedefs
-
typedef
uint32_t
cmox_hash_retval_t
-
Hash module return value type.
-
CMOX_HASH_SUCCESS