summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/libcrypto/mlkem/mlkem_internal.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/mlkem/mlkem_internal.h b/src/lib/libcrypto/mlkem/mlkem_internal.h
index 30141a4faf..c8bfb65431 100644
--- a/src/lib/libcrypto/mlkem/mlkem_internal.h
+++ b/src/lib/libcrypto/mlkem/mlkem_internal.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: mlkem_internal.h,v 1.11 2026/01/16 18:29:58 tb Exp $ */ 1/* $OpenBSD: mlkem_internal.h,v 1.12 2026/01/16 18:31:12 tb Exp $ */
2/* 2/*
3 * Copyright (c) 2023, Google Inc. 3 * Copyright (c) 2023, Google Inc.
4 * Copyright (c) 2025, Bob Beck <beck@obtuse.com> 4 * Copyright (c) 2025, Bob Beck <beck@obtuse.com>
@@ -255,7 +255,7 @@ int mlkem_parse_public_key(const uint8_t *input, size_t input_len,
255 * mlkem_parse_private_key parses a private key, in the format generated by 255 * mlkem_parse_private_key parses a private key, in the format generated by
256 * |MLKEM_marshal_private_key|, from |input| and writes the result to 256 * |MLKEM_marshal_private_key|, from |input| and writes the result to
257 * |out_private_key|. It returns one on success or zero on parse error or if 257 * |out_private_key|. It returns one on success or zero on parse error or if
258 * there are trailing bytes in |input|. This formate is verbose and should be avoided. 258 * there are trailing bytes in |input|. This format is verbose and should be avoided.
259 * Private keys should be stored as seeds and parsed using |mlkem_private_key_from_seed|. 259 * Private keys should be stored as seeds and parsed using |mlkem_private_key_from_seed|.
260 */ 260 */
261int mlkem_parse_private_key(const uint8_t *input, size_t input_len, 261int mlkem_parse_private_key(const uint8_t *input, size_t input_len,