mirror of
https://github.com/ARMmbed/mbedtls.git
synced 2025-06-06 15:03:20 +08: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:
parent
07e5739115
commit
cba05ece2b
@ -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));
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user