MCUX CLNS MCUX Crypto Library Normal Secure |

Macros
MCUXCLCSS_STATUS_
mcuxClCss » mcuxClCss_Types » mcuxClCss_Types_Macros

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

#define MCUXCLCSS_STATUS_OK

No error occurred.

Examples
  cipher_aes128_cbc_encrypt.c, cipher_aes128_ecb_encrypt.c, common_get_info.c, ecc_keygen_sign_verify.c, hash_sha224_one_block.c, hash_sha256_one_block.c, hash_sha256_sha_direct_one_block.c, hash_sha384_one_block.c, hash_sha384_sha_direct_one_block.c, hash_sha512_one_block.c, mcuxClEcc_Mont_example.c, mcuxClMac_cmac_oneshot_example.c, mcuxClRsa_sign_NoEncode_example.c, mcuxClRsa_sign_pss_sha2_256_example.c, mcuxClRsa_verify_NoVerify_example.c, mcuxClRsa_verify_pssverify_sha2_256_example.c, rng_prng_get_random.c, and tls_master_key_session_keys.c.

## ◆ MCUXCLCSS_STATUS_OK_WAIT

#define MCUXCLCSS_STATUS_OK_WAIT

An `_Async` function successfully started a CSS command. Call mcuxClCss_WaitForOperation to complete it.

Examples
  cipher_aes128_cbc_encrypt.c, cipher_aes128_ecb_encrypt.c, common_get_info.c, ecc_keygen_sign_verify.c, hash_sha224_one_block.c, hash_sha256_one_block.c, hash_sha256_sha_direct_one_block.c, hash_sha384_one_block.c, hash_sha384_sha_direct_one_block.c, hash_sha512_one_block.c, mcuxClEcc_Mont_example.c, mcuxClMac_cmac_oneshot_example.c, mcuxClRsa_sign_NoEncode_example.c, mcuxClRsa_sign_pss_sha2_256_example.c, mcuxClRsa_verify_NoVerify_example.c, mcuxClRsa_verify_pssverify_sha2_256_example.c, rng_prng_get_random.c, and tls_master_key_session_keys.c.

## ◆ 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.