From 708b1052d531f81a8a901f38fcb8bd0fa159950f Mon Sep 17 00:00:00 2001 From: "Matthias J. Kannwischer" Date: Tue, 10 Jun 2025 20:49:19 +0800 Subject: [PATCH] Adjust constan-time test exception for mlkem-native [extended tests] (#2162) The constant-time tests have been failing for mlkem-native as check_sk changed it's name and is no no longer recognized as an exception. This function processes exclusively public data in the secret key and it's, hence, okay to branch both inside the function and depending on the return value. This commit renames the function in the constant_time exceptions file. Signed-off-by: Matthias J. Kannwischer --- tests/constant_time/kem/passes/ml_kem | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/constant_time/kem/passes/ml_kem b/tests/constant_time/kem/passes/ml_kem index 34674562b..2e8dad75d 100644 --- a/tests/constant_time/kem/passes/ml_kem +++ b/tests/constant_time/kem/passes/ml_kem @@ -1,14 +1,14 @@ { The parts of sk being hashed and compared here are public. Memcheck:Cond - fun:PQCP_MLKEM_NATIVE_MLKEM*_check_sk + fun:mlk_check_sk fun:PQCP_MLKEM_NATIVE_MLKEM*_dec } { The parts of sk being hashed and compared here are public. Memcheck:Cond fun:bcmp - fun:PQCP_MLKEM_NATIVE_MLKEM*_check_sk + fun:mlk_check_sk fun:PQCP_MLKEM_NATIVE_MLKEM*_dec } {