psa_generate_derived_ecc_key_weierstrass_check_config: Build only when ECC enabled
Signed-off-by: Przemyslaw Stekiel <przemyslaw.stekiel@mobica.com>
This commit is contained in:
parent
7b6e61a132
commit
aaa1ada086
1 changed files with 5 additions and 0 deletions
|
@ -4949,6 +4949,10 @@ cleanup:
|
|||
}
|
||||
#endif
|
||||
|
||||
#if defined(MBEDTLS_PSA_BUILTIN_KEY_TYPE_ECC_KEY_PAIR) || \
|
||||
defined(MBEDTLS_PSA_BUILTIN_KEY_TYPE_ECC_PUBLIC_KEY) || \
|
||||
defined(MBEDTLS_PSA_ACCEL_KEY_TYPE_ECC_KEY_PAIR) || \
|
||||
defined(MBEDTLS_PSA_ACCEL_KEY_TYPE_ECC_PUBLIC_KEY)
|
||||
static psa_status_t psa_generate_derived_ecc_key_weierstrass_check_config(
|
||||
psa_ecc_family_t curve,
|
||||
size_t bits)
|
||||
|
@ -4992,6 +4996,7 @@ static psa_status_t psa_generate_derived_ecc_key_weierstrass_check_config(
|
|||
}
|
||||
return PSA_SUCCESS;
|
||||
}
|
||||
#endif
|
||||
|
||||
static psa_status_t psa_generate_derived_key_internal(
|
||||
psa_key_slot_t *slot,
|
||||
|
|
Loading…
Reference in a new issue