diff options
Diffstat (limited to 'src/regress/lib/libcrypto/mlkem/Makefile')
-rw-r--r-- | src/regress/lib/libcrypto/mlkem/Makefile | 43 |
1 files changed, 23 insertions, 20 deletions
diff --git a/src/regress/lib/libcrypto/mlkem/Makefile b/src/regress/lib/libcrypto/mlkem/Makefile index cb24605bd7..9c0c24f432 100644 --- a/src/regress/lib/libcrypto/mlkem/Makefile +++ b/src/regress/lib/libcrypto/mlkem/Makefile | |||
@@ -1,28 +1,31 @@ | |||
1 | # $OpenBSD: Makefile,v 1.7 2024/12/20 01:53:46 tb Exp $ | 1 | # $OpenBSD: Makefile,v 1.8 2024/12/26 00:04:24 tb Exp $ |
2 | 2 | ||
3 | PROGS += mlkem768_decap_tests | 3 | REGRESS_SLOW_TARGETS += run-regress-mlkem_iteration_tests |
4 | PROGS += mlkem768_encap_tests | 4 | |
5 | PROGS += mlkem768_iteration_test | 5 | PROGS += mlkem_tests |
6 | PROGS += mlkem768_keygen_tests | ||
7 | PROGS += mlkem768_nist_decap_tests | ||
8 | PROGS += mlkem768_nist_keygen_tests | ||
9 | PROGS += mlkem1024_decap_tests | ||
10 | PROGS += mlkem1024_encap_tests | ||
11 | PROGS += mlkem1024_iteration_test | ||
12 | PROGS += mlkem1024_keygen_tests | ||
13 | PROGS += mlkem1024_nist_decap_tests | ||
14 | PROGS += mlkem1024_nist_keygen_tests | ||
15 | PROGS += mlkem_unittest | 6 | PROGS += mlkem_unittest |
7 | PROGS += mlkem_iteration_tests | ||
16 | 8 | ||
17 | # Link test programs with mlkem_tests_util.c and use custom target | 9 | FILE_TEST += mlkem768_decap_tests |
18 | .for p in ${PROGS} | 10 | FILE_TEST += mlkem768_encap_tests |
19 | SRCS_$p += $p.c mlkem_tests_util.c | 11 | FILE_TEST += mlkem768_keygen_tests |
12 | FILE_TEST += mlkem768_nist_decap_tests | ||
13 | FILE_TEST += mlkem768_nist_keygen_tests | ||
14 | FILE_TEST += mlkem1024_decap_tests | ||
15 | FILE_TEST += mlkem1024_encap_tests | ||
16 | FILE_TEST += mlkem1024_keygen_tests | ||
17 | FILE_TEST += mlkem1024_nist_decap_tests | ||
18 | FILE_TEST += mlkem1024_nist_keygen_tests | ||
20 | 19 | ||
21 | REGRESS_TARGETS += run-$p | 20 | run-regress-mlkem_tests: mlkem_tests |
22 | run-$p: $p | 21 | .for f in ${FILE_TEST} |
23 | ./$p ${.CURDIR}/$p.txt | 22 | ./mlkem_tests $f ${.CURDIR}/$f.txt |
24 | .endfor | 23 | .endfor |
25 | 24 | ||
25 | SRCS_mlkem_tests = mlkem_tests.c mlkem_tests_util.c parse_test_file.c | ||
26 | SRCS_mlkem_iteration_tests = mlkem_iteration_tests.c mlkem_tests_util.c | ||
27 | SRCS_mlkem_unittest = mlkem_unittest.c mlkem_tests_util.c | ||
28 | |||
26 | LDADD = ${CRYPTO_INT} | 29 | LDADD = ${CRYPTO_INT} |
27 | DPADD = ${LIBCRYPTO} | 30 | DPADD = ${LIBCRYPTO} |
28 | 31 | ||