Mbed TLS v3.6.3
config_psa.h
Go to the documentation of this file.
1 
13 /*
14  * Copyright The Mbed TLS Contributors
15  * SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
16  */
17 
18 #ifndef MBEDTLS_CONFIG_PSA_H
19 #define MBEDTLS_CONFIG_PSA_H
20 
21 #include "psa/crypto_legacy.h"
22 
24 
26 
28 
29 #if defined(MBEDTLS_PSA_CRYPTO_CONFIG)
30 
31 /* Require built-in implementations based on PSA requirements */
32 
33 /* We need this to have a complete list of requirements
34  * before we deduce what built-ins are required. */
36 
37 #if defined(MBEDTLS_PSA_CRYPTO_C)
38 /* If we are implementing PSA crypto ourselves, then we want to enable the
39  * required built-ins. Otherwise, PSA features will be provided by the server. */
41 #endif
42 
43 #else /* MBEDTLS_PSA_CRYPTO_CONFIG */
44 
45 /* Infer PSA requirements from Mbed TLS capabilities */
46 
48 
49 /* Hopefully the file above will have enabled keypair symbols in a consistent
50  * way, but including this here fixes them if that wasn't the case. */
52 
53 #endif /* MBEDTLS_PSA_CRYPTO_CONFIG */
54 
55 #if defined(PSA_WANT_ALG_JPAKE)
56 #define PSA_WANT_ALG_SOME_PAKE 1
57 #endif
58 
60 
61 #endif /* MBEDTLS_CONFIG_PSA_H */
Adjust PSA configuration: activate legacy implementations.
Adjust PSA configuration: construct PSA configuration from legacy.
Adjust PSA configuration: automatic enablement from legacy.
Adjust PSA configuration: enable always-on features.
Adjust PSA configuration by resolving some dependencies.
Adjust PSA configuration for key pair types.
Adjust PSA configuration: enable quasi-synonyms.
Add temporary suppport for deprecated symbols before they are removed from the library.