mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-02-25 18:39:54 +00:00
test_suite_psa_crypto_storage_format: disable KA(ECDH,HKDF_EXTRACT/EXPAND...) test cases
Signed-off-by: Przemek Stekiel <przemyslaw.stekiel@mobica.com>
This commit is contained in:
parent
d9e1287e64
commit
b088a900f4
@ -151,6 +151,11 @@ static int can_exercise( const psa_key_attributes_t *attributes )
|
||||
PSA_ALG_NONE;
|
||||
psa_key_usage_t usage = psa_get_key_usage_flags( attributes );
|
||||
|
||||
/* Disable KA(ECDH,HKDF_EXTRACT/EXPAND...) test cases. */
|
||||
if( PSA_ALG_IS_KEY_AGREEMENT( alg ) &&
|
||||
( PSA_ALG_HKDF_EXTRACT( alg ) || PSA_ALG_HKDF_EXPAND( alg ) ) )
|
||||
return 0;
|
||||
|
||||
#if defined(MBEDTLS_TEST_LIBTESTDRIVER1)
|
||||
/* We test some configurations using drivers where the driver doesn't
|
||||
* support certain hash algorithms, but declares that it supports
|
||||
|
Loading…
x
Reference in New Issue
Block a user