Loading...
Searching...
No Matches
psa_error.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2021 HAW Hamburg
3 *
4 * This file is subject to the terms and conditions of the GNU Lesser
5 * General Public License v2.1. See the file LICENSE in the top level
6 * directory for more details.
7 */
8
19#ifndef PSA_ERROR_H
20#define PSA_ERROR_H
21
22#ifdef __cplusplus
23extern "C" {
24#endif
25
26#include "psa/crypto.h"
27#include "crys_ecpki_error.h"
28#include "crys_ec_mont_edw_error.h"
29#include "crys_hash_error.h"
30#include "ssi_aes_error.h"
31#include "crys_chacha_error.h"
32
40
48
55const char *cryptocell310_status_to_humanly_readable(uint32_t status);
56
57#ifdef __cplusplus
58}
59#endif
60
61#endif /* PSA_ERROR_H */
Function declarations for PSA Crypto.
int32_t psa_status_t
Status code type used for all PSA Certified APIs.
Definition error.h:41
const char * cryptocell310_status_to_humanly_readable(uint32_t status)
Function to print CryptoCell Error values in clear text.
psa_status_t SaSi_to_psa_error(SaSiStatus error)
Convert CryptoCell SaSi errors to PSA status values.
psa_status_t CRYS_to_psa_error(CRYSError_t error)
Convert CryptoCell CRYS errors to PSA status values.