1 /*
2  * Copyright (c) 2024, Arm Limited and Contributors. All rights reserved.
3  *
4  * SPDX-License-Identifier: BSD-3-Clause
5  */
6 
7 #ifndef CRYPTO_BACKEND_H
8 #define CRYPTO_BACKEND_H
9 
10 /**
11  * The crypto backend implements the backend interface used by a crypto
12  * provider.  By default, the backend interface is the standard psa
13  * crypto api with additional functions to provide a common interface
14  * for partitioning the keystore into separate namespaces.  Alternative
15  * backends can provide their own version of the interface with overridden
16  * types and keystore namespacing functions.
17  */
18 #ifdef ALTERNATIVE_CRYPTO_BACKEND
19 #include ALTERNATIVE_CRYPTO_BACKEND
20 #else
21 #include "default_psa_crypto_backend.h"
22 #endif
23 
24 #endif /* CRYPTO_BACKEND_H */
25