nRF Connect SDK API 3.3.99
Loading...
Searching...
No Matches
CRACEN SX Error Handling

SX error code conversion utilities. More...

Functions

int sx_err2errno (int sx_err)
 Function to convert CRACEN SW library error codes to errno.
 
const char * sx_err2str (int sx_err)
 Function to convert CRACEN SW library error codes to strings for logging.
 

Detailed Description

SX error code conversion utilities.

SX error code to errno and string conversion utilities.

Provides sx_err2errno to convert SX_* codes to POSIX errno values, and sx_err2str to convert them to human-readable string literals.

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