diff options
author | tb <> | 2024-12-14 19:16:24 +0000 |
---|---|---|
committer | tb <> | 2024-12-14 19:16:24 +0000 |
commit | 51b4fa235035070c2f38cf0708c8c1577b4b621f (patch) | |
tree | a7eb0af27b6eacab7be47cdbe0cfb903a6bd1ea6 /src/regress/lib/libcrypto/mlkem/mlkem_tests_util.h | |
parent | d9dfb4af218b8d9fe842f363b39f2dc52cc54fc3 (diff) | |
download | openbsd-51b4fa235035070c2f38cf0708c8c1577b4b621f.tar.gz openbsd-51b4fa235035070c2f38cf0708c8c1577b4b621f.tar.bz2 openbsd-51b4fa235035070c2f38cf0708c8c1577b4b621f.zip |
Normalize top of files
RCS marker, KNF for comment, fix and sort includes as usual.
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)) { \ |