mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-01-27 06:35:22 +00:00
test_suite_ecp: Updated dependency macros for ecp_raw_generic.
This patch introduces a new local hash define of `MBEDTLS_ECP_DP_SECP_GENERIC_ENABLED` to replace the removed curve specific macros, introduced in upstream. Signed-off-by: Minos Galanakis <minos.galanakis@arm.com>
This commit is contained in:
parent
1358648f77
commit
92278dc407
@ -67,6 +67,15 @@ inline static int mbedtls_ecp_group_cmp(mbedtls_ecp_group *grp1,
|
||||
return 0;
|
||||
}
|
||||
|
||||
#if defined(MBEDTLS_TEST_HOOKS) && \
|
||||
(defined(MBEDTLS_ECP_DP_SECP192R1_ENABLED) || \
|
||||
defined(MBEDTLS_ECP_DP_SECP224R1_ENABLED) || \
|
||||
defined(MBEDTLS_ECP_DP_SECP256R1_ENABLED) || \
|
||||
defined(MBEDTLS_ECP_DP_SECP384R1_ENABLED) || \
|
||||
defined(MBEDTLS_ECP_DP_SECP521R1_ENABLED))
|
||||
#define MBEDTLS_ECP_DP_SECP_GENERIC_ENABLED
|
||||
#endif
|
||||
|
||||
/* END_HEADER */
|
||||
|
||||
/* BEGIN_DEPENDENCIES
|
||||
@ -1266,7 +1275,7 @@ exit:
|
||||
}
|
||||
/* END_CASE */
|
||||
|
||||
/* BEGIN_CASE depends_on:MBEDTLS_TEST_HOOKS */
|
||||
/* BEGIN_CASE depends_on:MBEDTLS_TEST_HOOKS:MBEDTLS_ECP_DP_SECP_GENERIC_ENABLED */
|
||||
void ecp_mod_p_generic_raw(int curve_id,
|
||||
char *input_N,
|
||||
char *input_X,
|
||||
|
Loading…
x
Reference in New Issue
Block a user