mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-09-24 02:57:22 +00:00
Replace zero by PSA_ALG_NONE in key derivation test function
Signed-off-by: Waleed Elmelegy <[email protected]>
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