MCUX CLNS
MCUX Crypto Library Normal Secure
Loading...
Searching...
No Matches
MCUXCLHASH_STATUS_

Return code definitions. More...

Macros

#define MCUXCLHASH_STATUS_OK
 Hash operation successful.
#define MCUXCLHASH_STATUS_COMPARE_EQUAL
 Hash operation and comparison of result successful.
#define MCUXCLHASH_COMPARE_EQUAL
#define MCUXCLHASH_STATUS_FAILURE
 Hash operation failed.
#define MCUXCLHASH_FAILURE
#define MCUXCLHASH_STATUS_INVALID_PARAMS
 Hash function called with invalid parameters.
#define MCUXCLHASH_STATUS_COMPARE_NOT_EQUAL
 Hash operation succeeded, but comparison of result failed.
#define MCUXCLHASH_COMPARE_NOT_EQUAL
#define MCUXCLHASH_STATUS_FULL
 Hash operation failed because the total input size exceeds the upper limit.
#define MCUXCLHASH_STATUS_FAULT_ATTACK
 Fault attack (unexpected behavior) detected.
#define MCUXCLHASH_STATUS_JOB_STARTED
 There is ongoing job in coprocessor which will trigger user callback on exit.
#define MCUXCLHASH_STATUS_JOB_COMPLETED
 Job started in coprocessor has completed successfully.
#define MCUXCLHASH_STATUS_JOB_COMPLETED_COMPARE_NOT_EQUAL
 Job started in coprocessor has completed, but comparison of result failed.
#define MCUXCLHASH_STATUS_JOB_UNAVAILABLE
 Job started in coprocessor is not available.

Detailed Description

Return code definitions.

Macro Definition Documentation

◆ MCUXCLHASH_STATUS_OK

◆ MCUXCLHASH_STATUS_COMPARE_EQUAL

#define MCUXCLHASH_STATUS_COMPARE_EQUAL

Hash operation and comparison of result successful.

◆ MCUXCLHASH_COMPARE_EQUAL

#define MCUXCLHASH_COMPARE_EQUAL

◆ MCUXCLHASH_STATUS_FAILURE

#define MCUXCLHASH_STATUS_FAILURE

Hash operation failed.

◆ MCUXCLHASH_FAILURE

#define MCUXCLHASH_FAILURE

◆ MCUXCLHASH_STATUS_INVALID_PARAMS

#define MCUXCLHASH_STATUS_INVALID_PARAMS

Hash function called with invalid parameters.

◆ MCUXCLHASH_STATUS_COMPARE_NOT_EQUAL

#define MCUXCLHASH_STATUS_COMPARE_NOT_EQUAL

Hash operation succeeded, but comparison of result failed.

◆ MCUXCLHASH_COMPARE_NOT_EQUAL

#define MCUXCLHASH_COMPARE_NOT_EQUAL

◆ MCUXCLHASH_STATUS_FULL

#define MCUXCLHASH_STATUS_FULL

Hash operation failed because the total input size exceeds the upper limit.

◆ MCUXCLHASH_STATUS_FAULT_ATTACK

#define MCUXCLHASH_STATUS_FAULT_ATTACK

Fault attack (unexpected behavior) detected.

◆ MCUXCLHASH_STATUS_JOB_STARTED

#define MCUXCLHASH_STATUS_JOB_STARTED

There is ongoing job in coprocessor which will trigger user callback on exit.

Examples
mcuxClHashModes_sha256_oneshot_dma_nonBlocking_example.c, and mcuxClHashModes_sha256_streaming_dma_nonBlocking_example.c.

◆ MCUXCLHASH_STATUS_JOB_COMPLETED

#define MCUXCLHASH_STATUS_JOB_COMPLETED

◆ MCUXCLHASH_STATUS_JOB_COMPLETED_COMPARE_NOT_EQUAL

#define MCUXCLHASH_STATUS_JOB_COMPLETED_COMPARE_NOT_EQUAL

Job started in coprocessor has completed, but comparison of result failed.

◆ MCUXCLHASH_STATUS_JOB_UNAVAILABLE

#define MCUXCLHASH_STATUS_JOB_UNAVAILABLE

Job started in coprocessor is not available.