summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/mlkem/mlkem1024.c
diff options
context:
space:
mode:
authortb <>2024-12-19 23:52:26 +0000
committertb <>2024-12-19 23:52:26 +0000
commit83754c5202a04bf72455fc9f3087d591e5f26381 (patch)
treea87b9b9e024cd91ac9b95f84926dae98d1fe1480 /src/lib/libcrypto/mlkem/mlkem1024.c
parent3e5da0b723e0cc18ca2cd8216e41b090c550ff39 (diff)
downloadopenbsd-83754c5202a04bf72455fc9f3087d591e5f26381.tar.gz
openbsd-83754c5202a04bf72455fc9f3087d591e5f26381.tar.bz2
openbsd-83754c5202a04bf72455fc9f3087d591e5f26381.zip
Do not assume mlkem.h and bytestring.h are public in libcrypto
As long as is not quite clear what we want to do about the public API aspect of MLKEM, keep things internal for now. discussed with beck and jsing
Diffstat (limited to 'src/lib/libcrypto/mlkem/mlkem1024.c')
-rw-r--r--src/lib/libcrypto/mlkem/mlkem1024.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/lib/libcrypto/mlkem/mlkem1024.c b/src/lib/libcrypto/mlkem/mlkem1024.c
index b3cacc828b..1de14fde52 100644
--- a/src/lib/libcrypto/mlkem/mlkem1024.c
+++ b/src/lib/libcrypto/mlkem/mlkem1024.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: mlkem1024.c,v 1.4 2024/12/18 10:55:21 tb Exp $ */ 1/* $OpenBSD: mlkem1024.c,v 1.5 2024/12/19 23:52:26 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>
@@ -16,13 +16,12 @@
16 * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 16 * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
17 */ 17 */
18 18
19#include <openssl/mlkem.h>
20
21#include <assert.h> 19#include <assert.h>
22#include <stdlib.h> 20#include <stdlib.h>
23#include <string.h> 21#include <string.h>
24 22
25#include "bytestring.h" 23#include "bytestring.h"
24#include "mlkem.h"
26 25
27#include "sha3_internal.h" 26#include "sha3_internal.h"
28#include "mlkem_internal.h" 27#include "mlkem_internal.h"