From 3dee9a92e4b6b5fd56ef9b94f0ab42629bcd13d2 Mon Sep 17 00:00:00 2001 From: Waleed Elmelegy Date: Mon, 3 Mar 2025 12:48:40 +0000 Subject: [PATCH] Replace zero by PSA_ALG_NONE in key derivation test function Signed-off-by: Waleed Elmelegy --- tests/suites/test_suite_psa_crypto.function | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/suites/test_suite_psa_crypto.function b/tests/suites/test_suite_psa_crypto.function index 39dd89ae7a..837a137a93 100644 --- a/tests/suites/test_suite_psa_crypto.function +++ b/tests/suites/test_suite_psa_crypto.function @@ -4520,7 +4520,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)); }