MCUX CLNS
MCUX Crypto Library Normal Secure

Return code definitions. More...

Macros

#define MCUXCLCSS_STATUS_OK
 No error occurred. More...
 
#define MCUXCLCSS_STATUS_OK_WAIT
 An _Async function successfully started a CSS command. Call mcuxClCss_WaitForOperation to complete it. More...
 
#define MCUXCLCSS_STATUS_HW_FAULT
 CSSv2 hardware detected a fault. More...
 
#define MCUXCLCSS_STATUS_HW_ALGORITHM
 An algorithm failed in hardware. More...
 
#define MCUXCLCSS_STATUS_HW_OPERATIONAL
 CSSv2 was operated incorrectly. More...
 
#define MCUXCLCSS_STATUS_HW_BUS
 A bus access failed. More...
 
#define MCUXCLCSS_STATUS_HW_INTEGRITY
 An integrity check failed in hardware. More...
 
#define MCUXCLCSS_STATUS_HW_PRNG
 Read access to PRNG output while PRNG is not in ready state. More...
 
#define MCUXCLCSS_STATUS_HW_DTRNG
 Unable to get entropy from dTRNG with current configuration. More...
 
#define MCUXCLCSS_STATUS_SW_FAULT
 Software detected a fault. More...
 
#define MCUXCLCSS_STATUS_SW_CANNOT_INTERRUPT
 A CSS command was started while the CSS was still busy, or a SHA-Direct command was started while the SHA kernel was still busy. More...
 
#define MCUXCLCSS_STATUS_SW_INVALID_PARAM
 Incorrect parameters were supplied. More...
 
#define MCUXCLCSS_STATUS_SW_INVALID_STATE
 This can happen when CSS is in a wrong state for the requested CSS command. More...
 
#define MCUXCLCSS_STATUS_SW_COUNTER_EXPIRED
 A software counter expired while waiting for a CSS operation to finish. More...
 
#define MCUXCLCSS_STATUS_SW_COMPARISON_FAILED
 A comparison between a CSS flag and its expected value failed. More...
 

Detailed Description

Return code definitions.

Macro Definition Documentation

◆ MCUXCLCSS_STATUS_OK

◆ MCUXCLCSS_STATUS_OK_WAIT

◆ MCUXCLCSS_STATUS_HW_FAULT

#define MCUXCLCSS_STATUS_HW_FAULT

CSSv2 hardware detected a fault.

◆ MCUXCLCSS_STATUS_HW_ALGORITHM

#define MCUXCLCSS_STATUS_HW_ALGORITHM

An algorithm failed in hardware.

◆ MCUXCLCSS_STATUS_HW_OPERATIONAL

#define MCUXCLCSS_STATUS_HW_OPERATIONAL

CSSv2 was operated incorrectly.

◆ MCUXCLCSS_STATUS_HW_BUS

#define MCUXCLCSS_STATUS_HW_BUS

A bus access failed.

◆ MCUXCLCSS_STATUS_HW_INTEGRITY

#define MCUXCLCSS_STATUS_HW_INTEGRITY

An integrity check failed in hardware.

◆ MCUXCLCSS_STATUS_HW_PRNG

#define MCUXCLCSS_STATUS_HW_PRNG

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

◆ MCUXCLCSS_STATUS_HW_DTRNG

#define MCUXCLCSS_STATUS_HW_DTRNG

Unable to get entropy from dTRNG with current configuration.

◆ MCUXCLCSS_STATUS_SW_FAULT

#define MCUXCLCSS_STATUS_SW_FAULT

Software detected a fault.

◆ MCUXCLCSS_STATUS_SW_CANNOT_INTERRUPT

#define MCUXCLCSS_STATUS_SW_CANNOT_INTERRUPT

A CSS command was started while the CSS was still busy, or a SHA-Direct command was started while the SHA kernel was still busy.

◆ MCUXCLCSS_STATUS_SW_INVALID_PARAM

#define MCUXCLCSS_STATUS_SW_INVALID_PARAM

Incorrect parameters were supplied.

◆ MCUXCLCSS_STATUS_SW_INVALID_STATE

#define MCUXCLCSS_STATUS_SW_INVALID_STATE

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

◆ MCUXCLCSS_STATUS_SW_COUNTER_EXPIRED

#define MCUXCLCSS_STATUS_SW_COUNTER_EXPIRED

A software counter expired while waiting for a CSS operation to finish.

◆ MCUXCLCSS_STATUS_SW_COMPARISON_FAILED

#define MCUXCLCSS_STATUS_SW_COMPARISON_FAILED

A comparison between a CSS flag and its expected value failed.