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>
diff --git a/include/psa/crypto_config.h b/include/psa/crypto_config.h
index fa83f9a..8e2f40e 100644
--- a/include/psa/crypto_config.h
+++ b/include/psa/crypto_config.h
@@ -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