summaryrefslogtreecommitdiff
path: root/src/regress/lib/libcrypto/mlkem/mlkem1024_iteration_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/regress/lib/libcrypto/mlkem/mlkem1024_iteration_test.c')
-rw-r--r--src/regress/lib/libcrypto/mlkem/mlkem1024_iteration_test.c17
1 files changed, 10 insertions, 7 deletions
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 @@
1/* Copyright (c) 2024, Google Inc. 1/* $OpenBSD: mlkem1024_iteration_test.c,v 1.2 2024/12/14 19:16:24 tb Exp $ */
2/*
3 * Copyright (c) 2024, Google Inc.
2 * Copyright (c) 2024, Bob Beck <beck@obtuse.com> 4 * Copyright (c) 2024, Bob Beck <beck@obtuse.com>
3 * 5 *
4 * Permission to use, copy, modify, and/or distribute this software for any 6 * Permission to use, copy, modify, and/or distribute this software for any
@@ -11,18 +13,19 @@
11 * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 13 * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
12 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION 14 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
13 * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN 15 * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
14 * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ 16 * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
17 */
15 18
16#include <stdlib.h> 19#include <stdint.h>
17#include <stdio.h> 20#include <stdio.h>
18#include <string.h> 21#include <stdlib.h>
19 22
20#include "bytestring.h" 23#include <openssl/bytestring.h>
24#include <openssl/mlkem.h>
21 25
22#include "sha3_internal.h"
23#include "mlkem.h"
24#include "mlkem_internal.h" 26#include "mlkem_internal.h"
25#include "mlkem_tests_util.h" 27#include "mlkem_tests_util.h"
28#include "sha3_internal.h"
26 29
27static int 30static int
28encode_private_key(const struct MLKEM1024_private_key *priv, uint8_t **out_buf, 31encode_private_key(const struct MLKEM1024_private_key *priv, uint8_t **out_buf,