mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-01-30 15:32:58 +00:00
remove PSA_HAVE_FULL_ECDH symbol
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no>
This commit is contained in:
parent
b16a50eeab
commit
48859cc7d8
@ -306,7 +306,7 @@
|
|||||||
|
|
||||||
/* Helper for ECDH dependencies, will be undefined at the end of the file */
|
/* Helper for ECDH dependencies, will be undefined at the end of the file */
|
||||||
#if defined(MBEDTLS_USE_PSA_CRYPTO)
|
#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
|
#define MBEDTLS_PK_HAVE_ECDH
|
||||||
#endif
|
#endif
|
||||||
#else /* MBEDTLS_USE_PSA_CRYPTO */
|
#else /* MBEDTLS_USE_PSA_CRYPTO */
|
||||||
|
@ -887,12 +887,6 @@ extern "C" {
|
|||||||
#define PSA_HAVE_FULL_JPAKE 1
|
#define PSA_HAVE_FULL_JPAKE 1
|
||||||
#endif
|
#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. */
|
/* These features are always enabled. */
|
||||||
#define PSA_WANT_KEY_TYPE_DERIVE 1
|
#define PSA_WANT_KEY_TYPE_DERIVE 1
|
||||||
#define PSA_WANT_KEY_TYPE_PASSWORD 1
|
#define PSA_WANT_KEY_TYPE_PASSWORD 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user