1
0
mirror of https://github.com/openbsd/src.git synced 2026-05-01 17:46:35 +00:00

mlkem_internal.h: formate -> format

This commit is contained in:
tb
2026-01-16 18:31:12 +00:00
parent 7f11c9d677
commit f49d58abbf

View File

@@ -1,4 +1,4 @@
/* $OpenBSD: mlkem_internal.h,v 1.11 2026/01/16 18:29:58 tb Exp $ */
/* $OpenBSD: mlkem_internal.h,v 1.12 2026/01/16 18:31:12 tb Exp $ */
/*
* Copyright (c) 2023, Google Inc.
* 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,
* mlkem_parse_private_key parses a private key, in the format generated by
* |MLKEM_marshal_private_key|, from |input| and writes the result to
* |out_private_key|. It returns one on success or zero on parse error or if
* there are trailing bytes in |input|. This formate is verbose and should be avoided.
* there are trailing bytes in |input|. This format is verbose and should be avoided.
* Private keys should be stored as seeds and parsed using |mlkem_private_key_from_seed|.
*/
int mlkem_parse_private_key(const uint8_t *input, size_t input_len,