Update how MBEDTLS_PSA_CRYPTO_CONFIG is handled
Originally, MBEDTLS_PSA_CRYPTO_CONFIG was being used to allow inclusion of mbedlts/config_psa.h, but that needed to be updated so that mbedtls/config_psa.h is always included and the definitions specific to PSA configuration are now guarded by MBEDTLS_PSA_CRYPTO_CONFIG. This will allow for the standard setup to continue working while new PSA configuration items to also work. Signed-off-by: John Durkop <john.durkop@fermatsoftware.com>
This commit is contained in:
parent
d8959390c5
commit
2dfaf9ca23
3 changed files with 20 additions and 13 deletions
|
@ -30,6 +30,13 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
|
||||
#define PSA_WANT_ALG_ECDSA
|
||||
|
||||
#define PSA_WANT_ALG_ECDSA_DETERMINISTIC
|
||||
|
||||
//#define MBEDTLS_PSA_ACCEL_ALG_ECDSA
|
||||
//#define MBEDTLS_PSA_ACCEL_ALG_ECDSA_DETERMINISTIC
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue