summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortb <>2026-01-16 18:31:12 +0000
committertb <>2026-01-16 18:31:12 +0000
commit72dc54bbad1c240705b7047940026b4472f5dc2e (patch)
tree6fad6d53de9bbb4681a5d2373ae19ce5ff40bb2f /src
parentdcbd53bcbd78c031d6d012192ac183de96a3082f (diff)
downloadopenbsd-72dc54bbad1c240705b7047940026b4472f5dc2e.tar.gz
openbsd-72dc54bbad1c240705b7047940026b4472f5dc2e.tar.bz2
openbsd-72dc54bbad1c240705b7047940026b4472f5dc2e.zip
mlkem_internal.h: formate -> format
Diffstat (limited to 'src')
-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,