mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-10-28 23:14:56 +03:00
Replace zero by PSA_ALG_NONE in key derivation test function
Signed-off-by: Waleed Elmelegy <waleed.elmelegy@arm.com>
This commit is contained in:
@@ -8839,7 +8839,7 @@ void derive_input(int alg_arg,
|
||||
psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_DERIVE);
|
||||
psa_set_key_algorithm(&attributes, alg);
|
||||
|
||||
if (alg != 0) {
|
||||
if (alg != PSA_ALG_NONE) {
|
||||
PSA_ASSERT(psa_key_derivation_setup(&operation, alg));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user