diff options
Diffstat (limited to 'src/regress/lib/libcrypto/mlkem/mlkem_tests_util.h')
| -rw-r--r-- | src/regress/lib/libcrypto/mlkem/mlkem_tests_util.h | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/src/regress/lib/libcrypto/mlkem/mlkem_tests_util.h b/src/regress/lib/libcrypto/mlkem/mlkem_tests_util.h index 6666097577..934de44009 100644 --- a/src/regress/lib/libcrypto/mlkem/mlkem_tests_util.h +++ b/src/regress/lib/libcrypto/mlkem/mlkem_tests_util.h | |||
| @@ -1,4 +1,6 @@ | |||
| 1 | /* Copyright (c) 2024, Bob Beck <beck@obtuse.com> | 1 | /* $OpenBSD: mlkem_tests_util.h,v 1.2 2024/12/14 19:16:24 tb Exp $ */ |
| 2 | /* | ||
| 3 | * Copyright (c) 2024, Bob Beck <beck@obtuse.com> | ||
| 2 | * | 4 | * |
| 3 | * Permission to use, copy, modify, and/or distribute this software for any | 5 | * Permission to use, copy, modify, and/or distribute this software for any |
| 4 | * purpose with or without fee is hereby granted, provided that the above | 6 | * purpose with or without fee is hereby granted, provided that the above |
| @@ -10,12 +12,18 @@ | |||
| 10 | * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES | 12 | * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES |
| 11 | * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION | 13 | * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION |
| 12 | * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN | 14 | * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN |
| 13 | * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ | 15 | * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
| 16 | */ | ||
| 14 | 17 | ||
| 15 | #ifndef MLKEM_TEST_UTIL_H | 18 | #ifndef MLKEM_TEST_UTIL_H |
| 16 | #define MLKEM_TEST_UTIL_H | 19 | #define MLKEM_TEST_UTIL_H |
| 17 | 20 | ||
| 18 | #include "bytestring.h" | 21 | #include <stdint.h> |
| 22 | #include <stdio.h> | ||
| 23 | #include <stdlib.h> | ||
| 24 | #include <string.h> | ||
| 25 | |||
| 26 | #include <openssl/bytestring.h> | ||
| 19 | 27 | ||
| 20 | #define TEST(cond, msg) do { \ | 28 | #define TEST(cond, msg) do { \ |
| 21 | if ((cond)) { \ | 29 | if ((cond)) { \ |
