MCUX CLNS
MCUX Crypto Library Normal Secure

Return code definitions. More...

Macros

#define MCUXCLELS_STATUS_OK
 No error occurred. More...
 
#define MCUXCLELS_STATUS_OK_WAIT
 An _Async function successfully started an ELS command. Call mcuxClEls_WaitForOperation to complete it. More...
 
#define MCUXCLELS_STATUS_HW_FAULT
 ELS hardware detected a fault. More...
 
#define MCUXCLELS_STATUS_HW_ALGORITHM
 An algorithm failed in hardware. More...
 
#define MCUXCLELS_STATUS_HW_OPERATIONAL
 ELS was operated incorrectly. More...
 
#define MCUXCLELS_STATUS_HW_BUS
 A bus access failed. More...
 
#define MCUXCLELS_STATUS_HW_INTEGRITY
 An integrity check failed in hardware. More...
 
#define MCUXCLELS_STATUS_HW_PRNG
 Read access to PRNG output while PRNG is not in ready state. More...
 
#define MCUXCLELS_STATUS_HW_DTRNG
 Unable to get entropy from dTRNG with current configuration. More...
 
#define MCUXCLELS_STATUS_SW_FAULT
 Software detected a fault. More...
 
#define MCUXCLELS_STATUS_SW_CANNOT_INTERRUPT
 an ELS command was started while the ELS was still busy, or a SHA-Direct command was started while the SHA kernel was still busy More...
 
#define MCUXCLELS_STATUS_SW_INVALID_PARAM
 Incorrect parameters were supplied. More...
 
#define MCUXCLELS_STATUS_SW_INVALID_STATE
 This can happen when ELS is in a wrong state for the requested ELS command. More...
 
#define MCUXCLELS_STATUS_SW_COUNTER_EXPIRED
 A software counter expired while waiting for an ELS operation to finish. More...
 
#define MCUXCLELS_STATUS_SW_COMPARISON_FAILED
 A comparison between an ELS flag and its expected value failed. More...
 

Detailed Description

Return code definitions.

Macro Definition Documentation

◆ MCUXCLELS_STATUS_OK

◆ MCUXCLELS_STATUS_OK_WAIT

◆ MCUXCLELS_STATUS_HW_FAULT

#define MCUXCLELS_STATUS_HW_FAULT

ELS hardware detected a fault.

◆ MCUXCLELS_STATUS_HW_ALGORITHM

#define MCUXCLELS_STATUS_HW_ALGORITHM

An algorithm failed in hardware.

◆ MCUXCLELS_STATUS_HW_OPERATIONAL

#define MCUXCLELS_STATUS_HW_OPERATIONAL

ELS was operated incorrectly.

◆ MCUXCLELS_STATUS_HW_BUS

#define MCUXCLELS_STATUS_HW_BUS

A bus access failed.

◆ MCUXCLELS_STATUS_HW_INTEGRITY

#define MCUXCLELS_STATUS_HW_INTEGRITY

An integrity check failed in hardware.

◆ MCUXCLELS_STATUS_HW_PRNG

#define MCUXCLELS_STATUS_HW_PRNG

Read access to PRNG output while PRNG is not in ready state.

◆ MCUXCLELS_STATUS_HW_DTRNG

#define MCUXCLELS_STATUS_HW_DTRNG

Unable to get entropy from dTRNG with current configuration.

◆ MCUXCLELS_STATUS_SW_FAULT

#define MCUXCLELS_STATUS_SW_FAULT

Software detected a fault.

◆ MCUXCLELS_STATUS_SW_CANNOT_INTERRUPT

#define MCUXCLELS_STATUS_SW_CANNOT_INTERRUPT

an ELS command was started while the ELS was still busy, or a SHA-Direct command was started while the SHA kernel was still busy

◆ MCUXCLELS_STATUS_SW_INVALID_PARAM

#define MCUXCLELS_STATUS_SW_INVALID_PARAM

Incorrect parameters were supplied.

◆ MCUXCLELS_STATUS_SW_INVALID_STATE

#define MCUXCLELS_STATUS_SW_INVALID_STATE

This can happen when ELS is in a wrong state for the requested ELS command.

◆ MCUXCLELS_STATUS_SW_COUNTER_EXPIRED

#define MCUXCLELS_STATUS_SW_COUNTER_EXPIRED

A software counter expired while waiting for an ELS operation to finish.

◆ MCUXCLELS_STATUS_SW_COMPARISON_FAILED

#define MCUXCLELS_STATUS_SW_COMPARISON_FAILED

A comparison between an ELS flag and its expected value failed.