From 51b4fa235035070c2f38cf0708c8c1577b4b621f Mon Sep 17 00:00:00 2001 From: tb <> Date: Sat, 14 Dec 2024 19:16:24 +0000 Subject: Normalize top of files RCS marker, KNF for comment, fix and sort includes as usual. --- .../lib/libcrypto/mlkem/mlkem1024_decap_tests.c | 18 +++++++++--------- .../lib/libcrypto/mlkem/mlkem1024_encap_tests.c | 18 +++++++++--------- .../lib/libcrypto/mlkem/mlkem1024_iteration_test.c | 17 ++++++++++------- .../lib/libcrypto/mlkem/mlkem1024_keygen_tests.c | 17 +++++++++-------- .../lib/libcrypto/mlkem/mlkem1024_nist_decap_tests.c | 17 +++++++++-------- .../lib/libcrypto/mlkem/mlkem1024_nist_keygen_tests.c | 17 +++++++++-------- src/regress/lib/libcrypto/mlkem/mlkem768_decap_tests.c | 18 +++++++++--------- src/regress/lib/libcrypto/mlkem/mlkem768_encap_tests.c | 18 +++++++++--------- .../lib/libcrypto/mlkem/mlkem768_iteration_test.c | 17 ++++++++++------- .../lib/libcrypto/mlkem/mlkem768_keygen_tests.c | 17 +++++++++-------- .../lib/libcrypto/mlkem/mlkem768_nist_decap_tests.c | 17 +++++++++-------- .../lib/libcrypto/mlkem/mlkem768_nist_keygen_tests.c | 17 +++++++++-------- src/regress/lib/libcrypto/mlkem/mlkem_tests_util.c | 10 +++++++--- src/regress/lib/libcrypto/mlkem/mlkem_tests_util.h | 14 +++++++++++--- src/regress/lib/libcrypto/mlkem/mlkem_unittest.c | 15 ++++++++++----- 15 files changed, 138 insertions(+), 109 deletions(-) (limited to 'src') diff --git a/src/regress/lib/libcrypto/mlkem/mlkem1024_decap_tests.c b/src/regress/lib/libcrypto/mlkem/mlkem1024_decap_tests.c index 816bc154ab..b38cd52d28 100644 --- a/src/regress/lib/libcrypto/mlkem/mlkem1024_decap_tests.c +++ b/src/regress/lib/libcrypto/mlkem/mlkem1024_decap_tests.c @@ -1,4 +1,6 @@ -/* Copyright (c) 2024, Google Inc. +/* $OpenBSD: mlkem1024_decap_tests.c,v 1.2 2024/12/14 19:16:24 tb Exp $ */ +/* + * Copyright (c) 2024, Google Inc. * Copyright (c) 2024, Bob Beck * * Permission to use, copy, modify, and/or distribute this software for any @@ -11,19 +13,17 @@ * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN - * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ + * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ -#include -#include +#include #include +#include #include -#include +#include +#include -#include "bytestring.h" -#include "mlkem.h" -#include "mlkem_internal.h" -#include "sha3_internal.h" #include "mlkem_tests_util.h" static void diff --git a/src/regress/lib/libcrypto/mlkem/mlkem1024_encap_tests.c b/src/regress/lib/libcrypto/mlkem/mlkem1024_encap_tests.c index 3547a0a6e0..83924ba6d2 100644 --- a/src/regress/lib/libcrypto/mlkem/mlkem1024_encap_tests.c +++ b/src/regress/lib/libcrypto/mlkem/mlkem1024_encap_tests.c @@ -1,4 +1,6 @@ -/* Copyright (c) 2024, Google Inc. +/* $OpenBSD: mlkem1024_encap_tests.c,v 1.2 2024/12/14 19:16:24 tb Exp $ */ +/* + * Copyright (c) 2024, Google Inc. * Copyright (c) 2024, Bob Beck * * Permission to use, copy, modify, and/or distribute this software for any @@ -11,19 +13,17 @@ * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN - * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ + * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ -#include -#include +#include #include +#include #include -#include +#include +#include -#include "bytestring.h" -#include "mlkem.h" -#include "mlkem_internal.h" -#include "sha3_internal.h" #include "mlkem_tests_util.h" static void diff --git a/src/regress/lib/libcrypto/mlkem/mlkem1024_iteration_test.c b/src/regress/lib/libcrypto/mlkem/mlkem1024_iteration_test.c index d44156e715..2b03a724ab 100644 --- a/src/regress/lib/libcrypto/mlkem/mlkem1024_iteration_test.c +++ b/src/regress/lib/libcrypto/mlkem/mlkem1024_iteration_test.c @@ -1,4 +1,6 @@ -/* Copyright (c) 2024, Google Inc. +/* $OpenBSD: mlkem1024_iteration_test.c,v 1.2 2024/12/14 19:16:24 tb Exp $ */ +/* + * Copyright (c) 2024, Google Inc. * Copyright (c) 2024, Bob Beck * * Permission to use, copy, modify, and/or distribute this software for any @@ -11,18 +13,19 @@ * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN - * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ + * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ -#include +#include #include -#include +#include -#include "bytestring.h" +#include +#include -#include "sha3_internal.h" -#include "mlkem.h" #include "mlkem_internal.h" #include "mlkem_tests_util.h" +#include "sha3_internal.h" static int encode_private_key(const struct MLKEM1024_private_key *priv, uint8_t **out_buf, diff --git a/src/regress/lib/libcrypto/mlkem/mlkem1024_keygen_tests.c b/src/regress/lib/libcrypto/mlkem/mlkem1024_keygen_tests.c index 94df22b030..d27d5aacf9 100644 --- a/src/regress/lib/libcrypto/mlkem/mlkem1024_keygen_tests.c +++ b/src/regress/lib/libcrypto/mlkem/mlkem1024_keygen_tests.c @@ -1,4 +1,6 @@ -/* Copyright (c) 2024, Google Inc. +/* $OpenBSD: mlkem1024_keygen_tests.c,v 1.2 2024/12/14 19:16:24 tb Exp $ */ +/* + * Copyright (c) 2024, Google Inc. * Copyright (c) 2024, Bob Beck * * Permission to use, copy, modify, and/or distribute this software for any @@ -11,19 +13,18 @@ * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN - * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ + * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ -#include -#include +#include #include +#include #include -#include +#include +#include -#include "bytestring.h" -#include "mlkem.h" #include "mlkem_internal.h" -#include "sha3_internal.h" #include "mlkem_tests_util.h" static int diff --git a/src/regress/lib/libcrypto/mlkem/mlkem1024_nist_decap_tests.c b/src/regress/lib/libcrypto/mlkem/mlkem1024_nist_decap_tests.c index 3f71a79dc7..a59d062234 100644 --- a/src/regress/lib/libcrypto/mlkem/mlkem1024_nist_decap_tests.c +++ b/src/regress/lib/libcrypto/mlkem/mlkem1024_nist_decap_tests.c @@ -1,4 +1,6 @@ -/* Copyright (c) 2024, Google Inc. +/* $OpenBSD: mlkem1024_nist_decap_tests.c,v 1.2 2024/12/14 19:16:24 tb Exp $ */ +/* + * Copyright (c) 2024, Google Inc. * Copyright (c) 2024, Bob Beck * * Permission to use, copy, modify, and/or distribute this software for any @@ -11,19 +13,18 @@ * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN - * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ + * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ -#include -#include +#include #include +#include #include -#include +#include +#include -#include "bytestring.h" -#include "mlkem.h" #include "mlkem_internal.h" -#include "sha3_internal.h" #include "mlkem_tests_util.h" static void diff --git a/src/regress/lib/libcrypto/mlkem/mlkem1024_nist_keygen_tests.c b/src/regress/lib/libcrypto/mlkem/mlkem1024_nist_keygen_tests.c index aeef6dfa5a..b9600dc6b5 100644 --- a/src/regress/lib/libcrypto/mlkem/mlkem1024_nist_keygen_tests.c +++ b/src/regress/lib/libcrypto/mlkem/mlkem1024_nist_keygen_tests.c @@ -1,4 +1,6 @@ -/* Copyright (c) 2024, Google Inc. +/* $OpenBSD: mlkem1024_nist_keygen_tests.c,v 1.2 2024/12/14 19:16:24 tb Exp $ */ +/* + * Copyright (c) 2024, Google Inc. * Copyright (c) 2024, Bob Beck * * Permission to use, copy, modify, and/or distribute this software for any @@ -11,19 +13,18 @@ * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN - * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ + * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ -#include -#include +#include #include +#include #include -#include +#include +#include -#include "bytestring.h" -#include "mlkem.h" #include "mlkem_internal.h" -#include "sha3_internal.h" #include "mlkem_tests_util.h" static int diff --git a/src/regress/lib/libcrypto/mlkem/mlkem768_decap_tests.c b/src/regress/lib/libcrypto/mlkem/mlkem768_decap_tests.c index 3527a0f842..96dc435c4d 100644 --- a/src/regress/lib/libcrypto/mlkem/mlkem768_decap_tests.c +++ b/src/regress/lib/libcrypto/mlkem/mlkem768_decap_tests.c @@ -1,4 +1,6 @@ -/* Copyright (c) 2024, Google Inc. +/* $OpenBSD: mlkem768_decap_tests.c,v 1.2 2024/12/14 19:16:24 tb Exp $ */ +/* + * Copyright (c) 2024, Google Inc. * Copyright (c) 2024, Bob Beck * * Permission to use, copy, modify, and/or distribute this software for any @@ -11,19 +13,17 @@ * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN - * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ + * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ -#include -#include +#include #include +#include #include -#include +#include +#include -#include "bytestring.h" -#include "mlkem.h" -#include "mlkem_internal.h" -#include "sha3_internal.h" #include "mlkem_tests_util.h" static void diff --git a/src/regress/lib/libcrypto/mlkem/mlkem768_encap_tests.c b/src/regress/lib/libcrypto/mlkem/mlkem768_encap_tests.c index 2f6ad896c6..be6c6149da 100644 --- a/src/regress/lib/libcrypto/mlkem/mlkem768_encap_tests.c +++ b/src/regress/lib/libcrypto/mlkem/mlkem768_encap_tests.c @@ -1,4 +1,6 @@ -/* Copyright (c) 2024, Google Inc. +/* $OpenBSD: mlkem768_encap_tests.c,v 1.2 2024/12/14 19:16:24 tb Exp $ */ +/* + * Copyright (c) 2024, Google Inc. * Copyright (c) 2024, Bob Beck * * Permission to use, copy, modify, and/or distribute this software for any @@ -11,19 +13,17 @@ * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN - * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ + * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ -#include -#include +#include #include +#include #include -#include +#include +#include -#include "bytestring.h" -#include "mlkem.h" -#include "mlkem_internal.h" -#include "sha3_internal.h" #include "mlkem_tests_util.h" static void diff --git a/src/regress/lib/libcrypto/mlkem/mlkem768_iteration_test.c b/src/regress/lib/libcrypto/mlkem/mlkem768_iteration_test.c index 4df8171273..e9866134eb 100644 --- a/src/regress/lib/libcrypto/mlkem/mlkem768_iteration_test.c +++ b/src/regress/lib/libcrypto/mlkem/mlkem768_iteration_test.c @@ -1,4 +1,6 @@ -/* Copyright (c) 2024, Google Inc. +/* $OpenBSD: mlkem768_iteration_test.c,v 1.2 2024/12/14 19:16:24 tb Exp $ */ +/* + * Copyright (c) 2024, Google Inc. * Copyright (c) 2024, Bob Beck * * Permission to use, copy, modify, and/or distribute this software for any @@ -11,18 +13,19 @@ * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN - * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ + * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ -#include +#include #include -#include +#include -#include "bytestring.h" +#include +#include -#include "sha3_internal.h" -#include "mlkem.h" #include "mlkem_internal.h" #include "mlkem_tests_util.h" +#include "sha3_internal.h" static int encode_private_key(const struct MLKEM768_private_key *priv, uint8_t **out_buf, diff --git a/src/regress/lib/libcrypto/mlkem/mlkem768_keygen_tests.c b/src/regress/lib/libcrypto/mlkem/mlkem768_keygen_tests.c index 60c3983dea..b54b8c53ce 100644 --- a/src/regress/lib/libcrypto/mlkem/mlkem768_keygen_tests.c +++ b/src/regress/lib/libcrypto/mlkem/mlkem768_keygen_tests.c @@ -1,4 +1,6 @@ -/* Copyright (c) 2024, Google Inc. +/* $OpenBSD: mlkem768_keygen_tests.c,v 1.2 2024/12/14 19:16:24 tb Exp $ */ +/* + * Copyright (c) 2024, Google Inc. * Copyright (c) 2024, Bob Beck * * Permission to use, copy, modify, and/or distribute this software for any @@ -11,19 +13,18 @@ * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN - * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ + * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ -#include -#include +#include #include +#include #include -#include +#include +#include -#include "bytestring.h" -#include "mlkem.h" #include "mlkem_internal.h" -#include "sha3_internal.h" #include "mlkem_tests_util.h" static int diff --git a/src/regress/lib/libcrypto/mlkem/mlkem768_nist_decap_tests.c b/src/regress/lib/libcrypto/mlkem/mlkem768_nist_decap_tests.c index 248df7971f..0778c921b6 100644 --- a/src/regress/lib/libcrypto/mlkem/mlkem768_nist_decap_tests.c +++ b/src/regress/lib/libcrypto/mlkem/mlkem768_nist_decap_tests.c @@ -1,4 +1,6 @@ -/* Copyright (c) 2024, Google Inc. +/* $OpenBSD: mlkem768_nist_decap_tests.c,v 1.2 2024/12/14 19:16:24 tb Exp $ */ +/* + * Copyright (c) 2024, Google Inc. * Copyright (c) 2024, Bob Beck * * Permission to use, copy, modify, and/or distribute this software for any @@ -11,19 +13,18 @@ * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN - * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ + * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ -#include -#include +#include #include +#include #include -#include +#include +#include -#include "bytestring.h" -#include "mlkem.h" #include "mlkem_internal.h" -#include "sha3_internal.h" #include "mlkem_tests_util.h" static void diff --git a/src/regress/lib/libcrypto/mlkem/mlkem768_nist_keygen_tests.c b/src/regress/lib/libcrypto/mlkem/mlkem768_nist_keygen_tests.c index 009bd30739..ee71aa2620 100644 --- a/src/regress/lib/libcrypto/mlkem/mlkem768_nist_keygen_tests.c +++ b/src/regress/lib/libcrypto/mlkem/mlkem768_nist_keygen_tests.c @@ -1,4 +1,6 @@ -/* Copyright (c) 2024, Google Inc. +/* $OpenBSD: mlkem768_nist_keygen_tests.c,v 1.2 2024/12/14 19:16:24 tb Exp $ */ +/* + * Copyright (c) 2024, Google Inc. * Copyright (c) 2024, Bob Beck * * Permission to use, copy, modify, and/or distribute this software for any @@ -11,19 +13,18 @@ * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN - * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ + * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ -#include -#include +#include #include +#include #include -#include +#include +#include -#include "bytestring.h" -#include "mlkem.h" #include "mlkem_internal.h" -#include "sha3_internal.h" #include "mlkem_tests_util.h" static int diff --git a/src/regress/lib/libcrypto/mlkem/mlkem_tests_util.c b/src/regress/lib/libcrypto/mlkem/mlkem_tests_util.c index ee73e19267..c4c13f0e7a 100644 --- a/src/regress/lib/libcrypto/mlkem/mlkem_tests_util.c +++ b/src/regress/lib/libcrypto/mlkem/mlkem_tests_util.c @@ -1,4 +1,6 @@ -/* Copyright (c) 2024, Google Inc. +/* $OpenBSD: mlkem_tests_util.c,v 1.2 2024/12/14 19:16:24 tb Exp $ */ +/* + * Copyright (c) 2024, Google Inc. * Copyright (c) 2024, Bob Beck * * Permission to use, copy, modify, and/or distribute this software for any @@ -11,11 +13,13 @@ * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN - * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ + * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ #include -#include +#include #include +#include #include #include "mlkem_tests_util.h" 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 @@ -/* Copyright (c) 2024, Bob Beck +/* $OpenBSD: mlkem_tests_util.h,v 1.2 2024/12/14 19:16:24 tb Exp $ */ +/* + * Copyright (c) 2024, Bob Beck * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -10,12 +12,18 @@ * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN - * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ + * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ #ifndef MLKEM_TEST_UTIL_H #define MLKEM_TEST_UTIL_H -#include "bytestring.h" +#include +#include +#include +#include + +#include #define TEST(cond, msg) do { \ if ((cond)) { \ diff --git a/src/regress/lib/libcrypto/mlkem/mlkem_unittest.c b/src/regress/lib/libcrypto/mlkem/mlkem_unittest.c index 14832f1b41..b8779135e5 100644 --- a/src/regress/lib/libcrypto/mlkem/mlkem_unittest.c +++ b/src/regress/lib/libcrypto/mlkem/mlkem_unittest.c @@ -1,4 +1,6 @@ -/* Copyright (c) 2024, Google Inc. +/* $OpenBSD: mlkem_unittest.c,v 1.3 2024/12/14 19:16:24 tb Exp $ */ +/* + * Copyright (c) 2024, Google Inc. * Copyright (c) 2024, Bob Beck * * Permission to use, copy, modify, and/or distribute this software for any @@ -11,14 +13,17 @@ * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN - * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ + * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ -#include +#include #include +#include #include -#include "bytestring.h" -#include "mlkem.h" +#include +#include + #include "mlkem_internal.h" #include "mlkem_tests_util.h" -- cgit v1.2.3-55-g6feb