Loading...
Searching...
No Matches
psa_error.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2021 HAW Hamburg
3 * SPDX-License-Identifier: LGPL-2.1-only
4 */
5
6#pragma once
7
18
19#ifdef __cplusplus
20extern "C" {
21#endif
22
23#include "psa/crypto.h"
24#include "crys_ecpki_error.h"
25#include "crys_ec_mont_edw_error.h"
26#include "crys_hash_error.h"
27#include "ssi_aes_error.h"
28#include "crys_chacha_error.h"
29
37
45
52const char *cryptocell310_status_to_humanly_readable(uint32_t status);
53
54#ifdef __cplusplus
55}
56#endif
57
Function declarations for PSA Crypto.
int32_t psa_status_t
Status code type used for all PSA Certified APIs.
Definition error.h:37
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.