From 44eca95ace9b7aae3e6e37c16a25089f0a790b9f Mon Sep 17 00:00:00 2001 From: Janos Follath Date: Thu, 22 Aug 2024 18:55:40 +0100 Subject: [PATCH] Fix incorrect test result Signed-off-by: Janos Follath --- tf-psa-crypto/tests/suites/test_suite_bignum.function | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tf-psa-crypto/tests/suites/test_suite_bignum.function b/tf-psa-crypto/tests/suites/test_suite_bignum.function index c71f3c8bb1..1102e18403 100644 --- a/tf-psa-crypto/tests/suites/test_suite_bignum.function +++ b/tf-psa-crypto/tests/suites/test_suite_bignum.function @@ -1129,7 +1129,7 @@ void mpi_exp_mod_size(int A_bytes, int E_bytes, int N_bytes, #endif TEST_ASSERT(mbedtls_mpi_exp_mod_unsafe(&Z, &A, &E, &N, &RR) == exp_result); #if defined(MBEDTLS_TEST_HOOKS) && !defined(MBEDTLS_THREADING_C) - TEST_EQUAL(mbedtls_codepath_check, MBEDTLS_MPI_IS_SECRET); + TEST_EQUAL(mbedtls_codepath_check, MBEDTLS_MPI_IS_PUBLIC); #endif exit: