Loading...
Searching...
No Matches

Glue code translating between PSA Crypto and the CryptoCell 310 driver APIs. More...

Detailed Description

Glue code translating between PSA Crypto and the CryptoCell 310 driver APIs.

Author
Lena Boeckmann lena..nosp@m.boec.nosp@m.kmann.nosp@m.@haw.nosp@m.-hamb.nosp@m.urg..nosp@m.de

Definition in file psa_error.h.

#include "psa/crypto.h"
#include "crys_ecpki_error.h"
#include "crys_ec_mont_edw_error.h"
#include "crys_hash_error.h"
#include "ssi_aes_error.h"
+ Include dependency graph for psa_error.h:

Go to the source code of this file.

psa_status_t CRYS_to_psa_error (CRYSError_t error)
 Convert CryptoCell CRYS errors to PSA status values.
 
psa_status_t SaSi_to_psa_error (SaSiStatus error)
 Convert CryptoCell SaSi errors to PSA status values.
 
const char * cryptocell310_status_to_humanly_readable (uint32_t status)
 Function to print CryptoCell Error values in clear text.
 

Function Documentation

◆ cryptocell310_status_to_humanly_readable()

const char * cryptocell310_status_to_humanly_readable ( uint32_t  status)

Function to print CryptoCell Error values in clear text.

Parameters
statusError value of type SaSiStatus or CRYSError_t
Returns
const char*

◆ CRYS_to_psa_error()

psa_status_t CRYS_to_psa_error ( CRYSError_t  error)

Convert CryptoCell CRYS errors to PSA status values.

Parameters
errorError value of type CRYSError_t
Returns
psa_status_t

◆ SaSi_to_psa_error()

psa_status_t SaSi_to_psa_error ( SaSiStatus  error)

Convert CryptoCell SaSi errors to PSA status values.

Parameters
errorError value of type SaSiStatus
Returns
psa_status_t