nRF Connect SDK API 3.3.99
Loading...
Searching...
No Matches
CRACEN SX Status Codes

SX status code definitions for the CRACEN driver. More...

Macros

#define SX_OK   0
 
#define SX_ERR_INVALID_PARAM   1
 
#define SX_ERR_UNKNOWN_ERROR   2
 
#define SX_ERR_BUSY   3
 
#define SX_ERR_NOT_QUADRATIC_RESIDUE   4
 
#define SX_ERR_COMPOSITE_VALUE   5
 
#define SX_ERR_NOT_INVERTIBLE   6
 
#define SX_ERR_INVALID_SIGNATURE   7
 
#define SX_ERR_NOT_IMPLEMENTED   8
 
#define SX_ERR_INVALID_MICROCODE   9
 
#define SX_ERR_POINT_AT_INFINITY   SX_ERR_INVALID_MICROCODE
 
#define SX_ERR_OUT_OF_RANGE   10
 
#define SX_ERR_INVALID_MODULUS   11
 
#define SX_ERR_POINT_NOT_ON_CURVE   12
 
#define SX_ERR_OPERAND_TOO_LARGE   13
 
#define SX_ERR_PLATFORM_ERROR   14
 
#define SX_ERR_EXPIRED   15
 
#define SX_ERR_IK_MODE   16
 
#define SX_ERR_INVALID_CURVE_PARAM   17
 
#define SX_ERR_IK_NOT_READY   18
 
#define SX_ERR_PK_RETRY   19
 
#define SX_ERR_BAD_ORDER   20
 
#define SX_ERR_INVALID_REQ_SZ   100
 
#define SX_ERR_RESEED_NEEDED   101
 
#define SX_ERR_INVALID_ARG   102
 
#define SX_ERR_READY   103
 
#define SX_ERR_UNSUPPORTED_HASH_ALG   104
 
#define SX_ERR_INVALID_CIPHERTEXT   105
 
#define SX_ERR_TOO_MANY_ATTEMPTS   106
 
#define SX_ERR_RSA_PQ_RANGE_CHECK_FAIL   107
 
#define SX_ERR_WORKMEM_BUFFER_TOO_SMALL   109
 
#define SX_ERR_HW_PROCESSING   -1
 
#define SX_ERR_RETRY   -2
 
#define SX_ERR_INCOMPATIBLE_HW   -3
 
#define SX_ERR_INVALID_TAG   -16
 
#define SX_ERR_DMA_FAILED   -32
 
#define SX_ERR_UNINITIALIZED_OBJ   -33
 
#define SX_ERR_INVALID_KEYREF   -34
 
#define SX_ERR_ALLOCATION_TOO_SMALL   -35
 
#define SX_ERR_TOO_BIG   -64
 
#define SX_ERR_OUTPUT_BUFFER_TOO_SMALL   -65
 
#define SX_ERR_INVALID_KEY_SZ   -66
 
#define SX_ERR_INVALID_TAG_SIZE   -67
 
#define SX_ERR_INVALID_NONCE_SIZE   -68
 
#define SX_ERR_FEED_COUNT_EXCEEDED   -69
 
#define SX_ERR_WRONG_SIZE_GRANULARITY   -70
 
#define SX_ERR_HW_KEY_NOT_SUPPORTED   -71
 
#define SX_ERR_CONTEXT_SAVING_NOT_SUPPORTED   -72
 
#define SX_ERR_FEED_AFTER_DATA   -73
 
#define SX_ERR_RESET_NEEDED   -82
 
#define SX_ERR_SELF_TEST_FAILURE   -83
 
#define SX_ERR_INPUT_BUFFER_TOO_SMALL   -84
 
#define SX_ERR_INSUFFICIENT_ENTROPY   -85
 
#define SX_ERR_CORRUPTION_DETECTED   -86
 

Detailed Description

SX status code definitions for the CRACEN driver.

Note
These APIs are for internal use only. Applications must use the PSA Crypto API (psa_* functions) instead of calling these functions directly.