From 50dbe555e3d2b6d979061b6fbd0f74642baf3fb4 Mon Sep 17 00:00:00 2001 From: Kenjiro Nakayama Date: Tue, 17 Dec 2024 09:25:50 +0900 Subject: [PATCH] update --- .gitignore | 4 +++- tests/mlkemtest.sh | 12 ++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100755 tests/mlkemtest.sh diff --git a/.gitignore b/.gitignore index 7372f066eb..3c823869c6 100644 --- a/.gitignore +++ b/.gitignore @@ -115,7 +115,9 @@ tests/freenull* tests/gost2814789t* tests/key_schedule* tests/lhash_test* -tests/mlkem* +tests/mlkem*.c +tests/mlkem*.h +tests/mlkem*.txt tests/mont* tests/policy* tests/rfc3779* diff --git a/tests/mlkemtest.sh b/tests/mlkemtest.sh new file mode 100755 index 0000000000..95efa48eb0 --- /dev/null +++ b/tests/mlkemtest.sh @@ -0,0 +1,12 @@ +#!/bin/sh +set -e +TEST=./mlkem1024_decap_tests +if [ -e ./mlkem1024_decap_tests.exe ]; then + TEST=./mlkem1024_decap_tests.exe +fi + +if [ -z $srcdir ]; then + srcdir=. +fi + +$TEST $srcdir/mlkem1024_decap_tests.txt