diff options
author | tb <> | 2025-08-15 14:47:54 +0000 |
---|---|---|
committer | tb <> | 2025-08-15 14:47:54 +0000 |
commit | eefcba80b2dbea3302f9a6b70fbf0e57be4d0fc0 (patch) | |
tree | c2e245b0b6f79d0f94314e2001f182eae56d0ca5 /src | |
parent | c4721bb4b616d58a1f81071806c6d5fd13ce9adc (diff) | |
download | openbsd-eefcba80b2dbea3302f9a6b70fbf0e57be4d0fc0.tar.gz openbsd-eefcba80b2dbea3302f9a6b70fbf0e57be4d0fc0.tar.bz2 openbsd-eefcba80b2dbea3302f9a6b70fbf0e57be4d0fc0.zip |
Fix includes in mlkem unit and iteration tests
Diffstat (limited to 'src')
4 files changed, 5 insertions, 16 deletions
diff --git a/src/regress/lib/libcrypto/mlkem/mlkem_iteration_tests.c b/src/regress/lib/libcrypto/mlkem/mlkem_iteration_tests.c index 10c4b1f4e0..461928a2ef 100644 --- a/src/regress/lib/libcrypto/mlkem/mlkem_iteration_tests.c +++ b/src/regress/lib/libcrypto/mlkem/mlkem_iteration_tests.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: mlkem_iteration_tests.c,v 1.6 2025/08/14 15:48:48 beck Exp $ */ | 1 | /* $OpenBSD: mlkem_iteration_tests.c,v 1.7 2025/08/15 14:47:54 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2024 Google Inc. | 3 | * Copyright (c) 2024 Google Inc. |
4 | * Copyright (c) 2024 Bob Beck <beck@obtuse.com> | 4 | * Copyright (c) 2024 Bob Beck <beck@obtuse.com> |
@@ -21,7 +21,6 @@ | |||
21 | #include <stdint.h> | 21 | #include <stdint.h> |
22 | #include <stdio.h> | 22 | #include <stdio.h> |
23 | #include <stdlib.h> | 23 | #include <stdlib.h> |
24 | #include <string.h> | ||
25 | 24 | ||
26 | #include "mlkem.h" | 25 | #include "mlkem.h" |
27 | 26 | ||
diff --git a/src/regress/lib/libcrypto/mlkem/mlkem_tests_util.c b/src/regress/lib/libcrypto/mlkem/mlkem_tests_util.c index 9d6e604386..d2e0fbd7c7 100644 --- a/src/regress/lib/libcrypto/mlkem/mlkem_tests_util.c +++ b/src/regress/lib/libcrypto/mlkem/mlkem_tests_util.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: mlkem_tests_util.c,v 1.9 2025/08/14 15:48:48 beck Exp $ */ | 1 | /* $OpenBSD: mlkem_tests_util.c,v 1.10 2025/08/15 14:47:54 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2024 Google Inc. | 3 | * Copyright (c) 2024 Google Inc. |
4 | * Copyright (c) 2024 Bob Beck <beck@obtuse.com> | 4 | * Copyright (c) 2024 Bob Beck <beck@obtuse.com> |
@@ -22,11 +22,6 @@ | |||
22 | #include <stdio.h> | 22 | #include <stdio.h> |
23 | #include <string.h> | 23 | #include <string.h> |
24 | 24 | ||
25 | #include "bytestring.h" | ||
26 | #include <openssl/mlkem.h> | ||
27 | |||
28 | #include "mlkem_internal.h" | ||
29 | |||
30 | #include "mlkem_tests_util.h" | 25 | #include "mlkem_tests_util.h" |
31 | 26 | ||
32 | static void | 27 | static void |
diff --git a/src/regress/lib/libcrypto/mlkem/mlkem_tests_util.h b/src/regress/lib/libcrypto/mlkem/mlkem_tests_util.h index a2348c75f3..514a309112 100644 --- a/src/regress/lib/libcrypto/mlkem/mlkem_tests_util.h +++ b/src/regress/lib/libcrypto/mlkem/mlkem_tests_util.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: mlkem_tests_util.h,v 1.8 2025/08/14 15:48:48 beck Exp $ */ | 1 | /* $OpenBSD: mlkem_tests_util.h,v 1.9 2025/08/15 14:47:54 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2024 Bob Beck <beck@obtuse.com> | 3 | * Copyright (c) 2024 Bob Beck <beck@obtuse.com> |
4 | * Copyright (c) 2024 Theo Buehler <tb@openbsd.org> | 4 | * Copyright (c) 2024 Theo Buehler <tb@openbsd.org> |
@@ -22,11 +22,6 @@ | |||
22 | #include <stddef.h> | 22 | #include <stddef.h> |
23 | #include <stdint.h> | 23 | #include <stdint.h> |
24 | 24 | ||
25 | #include "bytestring.h" | ||
26 | |||
27 | #include "mlkem.h" | ||
28 | #include "mlkem_internal.h" | ||
29 | |||
30 | int compare_data(const uint8_t *want, const uint8_t *got, size_t len, | 25 | int compare_data(const uint8_t *want, const uint8_t *got, size_t len, |
31 | const char *msg); | 26 | const char *msg); |
32 | 27 | ||
diff --git a/src/regress/lib/libcrypto/mlkem/mlkem_unittest.c b/src/regress/lib/libcrypto/mlkem/mlkem_unittest.c index d89773b83b..a5197b3090 100644 --- a/src/regress/lib/libcrypto/mlkem/mlkem_unittest.c +++ b/src/regress/lib/libcrypto/mlkem/mlkem_unittest.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: mlkem_unittest.c,v 1.13 2025/08/15 07:25:19 tb Exp $ */ | 1 | /* $OpenBSD: mlkem_unittest.c,v 1.14 2025/08/15 14:47:54 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2024 Google Inc. | 3 | * Copyright (c) 2024 Google Inc. |
4 | * Copyright (c) 2024 Bob Beck <beck@obtuse.com> | 4 | * Copyright (c) 2024 Bob Beck <beck@obtuse.com> |
@@ -22,8 +22,8 @@ | |||
22 | #include <stdlib.h> | 22 | #include <stdlib.h> |
23 | #include <string.h> | 23 | #include <string.h> |
24 | 24 | ||
25 | #include "bytestring.h" | ||
26 | #include "mlkem.h" | 25 | #include "mlkem.h" |
26 | #include "mlkem_internal.h" | ||
27 | 27 | ||
28 | #include "mlkem_tests_util.h" | 28 | #include "mlkem_tests_util.h" |
29 | 29 | ||