mirror of
https://github.com/Mbed-TLS/mbedtls-framework.git
synced 2026-10-08 17:57:23 +00:00
pk_wrap: guard all ECDSA function with MBEDTLS_PK_HAVE_ECC_KEYS
Signed-off-by: Valerio Setti <[email protected]>
This commit is contained in:
+1
-1
@@ -1396,7 +1396,6 @@ const mbedtls_pk_info_t mbedtls_eckeydh_info = {
|
|||||||
#endif /* MBEDTLS_PK_USE_PSA_EC_DATA */
|
#endif /* MBEDTLS_PK_USE_PSA_EC_DATA */
|
||||||
.debug_func = eckey_debug, /* Same underlying key structure */
|
.debug_func = eckey_debug, /* Same underlying key structure */
|
||||||
};
|
};
|
||||||
#endif /* MBEDTLS_PK_HAVE_ECC_KEYS */
|
|
||||||
|
|
||||||
#if defined(MBEDTLS_PK_CAN_ECDSA_SOME)
|
#if defined(MBEDTLS_PK_CAN_ECDSA_SOME)
|
||||||
static int ecdsa_can_do(mbedtls_pk_type_t type)
|
static int ecdsa_can_do(mbedtls_pk_type_t type)
|
||||||
@@ -1490,6 +1489,7 @@ const mbedtls_pk_info_t mbedtls_ecdsa_info = {
|
|||||||
.debug_func = eckey_debug, /* Compatible key structures */
|
.debug_func = eckey_debug, /* Compatible key structures */
|
||||||
};
|
};
|
||||||
#endif /* MBEDTLS_PK_CAN_ECDSA_SOME */
|
#endif /* MBEDTLS_PK_CAN_ECDSA_SOME */
|
||||||
|
#endif /* MBEDTLS_PK_HAVE_ECC_KEYS */
|
||||||
|
|
||||||
#if defined(MBEDTLS_PK_RSA_ALT_SUPPORT)
|
#if defined(MBEDTLS_PK_RSA_ALT_SUPPORT)
|
||||||
/*
|
/*
|
||||||
|
|||||||
Reference in New Issue
Block a user