remove PSA_HAVE_FULL_ECDH symbol

Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no>
This commit is contained in:
Valerio Setti 2023-04-11 10:50:47 +02:00
parent b16a50eeab
commit 48859cc7d8
2 changed files with 1 additions and 7 deletions

View File

@ -306,7 +306,7 @@
/* Helper for ECDH dependencies, will be undefined at the end of the file */
#if defined(MBEDTLS_USE_PSA_CRYPTO)
#if defined(PSA_HAVE_FULL_ECDH)
#if defined(PSA_WANT_ALG_ECDH) && defined(PSA_WANT_KEY_TYPE_ECC_KEY_PAIR)
#define MBEDTLS_PK_HAVE_ECDH
#endif
#else /* MBEDTLS_USE_PSA_CRYPTO */

View File

@ -887,12 +887,6 @@ extern "C" {
#define PSA_HAVE_FULL_JPAKE 1
#endif
/* Having support for ECDH implicitly includes support for private and
* public keys, so we don't specify that requirement here. */
#if defined(PSA_WANT_ALG_ECDH)
#define PSA_HAVE_FULL_ECDH 1
#endif
/* These features are always enabled. */
#define PSA_WANT_KEY_TYPE_DERIVE 1
#define PSA_WANT_KEY_TYPE_PASSWORD 1