summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortb <>2024-12-26 07:26:45 +0000
committertb <>2024-12-26 07:26:45 +0000
commit69bd06490cab79fac2c91dd0af8fb80cf7cc3a0b (patch)
treecfb8a03e15fdfe704ec0ed2a1bee9b40510a08a5 /src
parentf6bed4a99db17d77c283519bd8b4bd8a6f8d6253 (diff)
downloadopenbsd-69bd06490cab79fac2c91dd0af8fb80cf7cc3a0b.tar.gz
openbsd-69bd06490cab79fac2c91dd0af8fb80cf7cc3a0b.tar.bz2
openbsd-69bd06490cab79fac2c91dd0af8fb80cf7cc3a0b.zip
mlkem iteration test: drop extraneous typedef
Diffstat (limited to 'src')
-rw-r--r--src/regress/lib/libcrypto/mlkem/mlkem_iteration_tests.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/regress/lib/libcrypto/mlkem/mlkem_iteration_tests.c b/src/regress/lib/libcrypto/mlkem/mlkem_iteration_tests.c
index 1ecda95bb9..5a61248090 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.1 2024/12/26 00:04:24 tb Exp $ */ 1/* $OpenBSD: mlkem_iteration_tests.c,v 1.2 2024/12/26 07:26:45 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>
@@ -63,9 +63,6 @@ const uint8_t kExpectedAdam1024[32] = {
63 0x04, 0xab, 0xdb, 0x94, 0x8b, 0x90, 0x8b, 0x75, 0xba, 0xd5 63 0x04, 0xab, 0xdb, 0x94, 0x8b, 0x90, 0x8b, 0x75, 0xba, 0xd5
64}; 64};
65 65
66typedef void (*mlkem_public_from_private_fn)(void *out_public_key,
67 const void *private_key);
68
69struct iteration_ctx { 66struct iteration_ctx {
70 uint8_t *encoded_public_key; 67 uint8_t *encoded_public_key;
71 size_t encoded_public_key_len; 68 size_t encoded_public_key_len;