From 51f3e6b4984d3f6aefd6bd726bdd75d798f2b801 Mon Sep 17 00:00:00 2001 From: Thomas Grainger Date: Tue, 14 Jul 2026 15:06:25 +0100 Subject: [PATCH] Fix "algoithms" typo in KEM and ML-DSA comments * cipher/kem.c: Fix misspelled "algorithms" in comments. * cipher/pubkey-dilithium.c: Likewise. * tests/t-mldsa.c: Likewise. Signed-off-by: Thomas Grainger --- cipher/kem.c | 4 ++-- cipher/pubkey-dilithium.c | 2 +- tests/t-mldsa.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cipher/kem.c b/cipher/kem.c index 59fe33fdc..989808728 100644 --- a/cipher/kem.c +++ b/cipher/kem.c @@ -35,7 +35,7 @@ #include "kem-ecc.h" -/* Information about the KEM algoithms for use by the s-expression +/* Information about the KEM algorithms for use by the s-expression * interface. */ static const struct { @@ -60,7 +60,7 @@ static const struct }; /* This is a short version of kem_infos from above. It is required - * for the algoithm module interface. Keep in sync. */ + * for the algorithm module interface. Keep in sync. */ static const char *kem_names[] = { "sntrup761", diff --git a/cipher/pubkey-dilithium.c b/cipher/pubkey-dilithium.c index 9d13aad3b..3abdda634 100644 --- a/cipher/pubkey-dilithium.c +++ b/cipher/pubkey-dilithium.c @@ -49,7 +49,7 @@ struct mldsa_info int seckey_len; /* Length of the secret key. */ int sig_len; /* Length of the signature. */ }; -/* Information about the ML-DSA algoithms for use by the +/* Information about the ML-DSA algorithms for use by the * s-expression interface. */ static const struct mldsa_info mldsa_infos[] = { diff --git a/tests/t-mldsa.c b/tests/t-mldsa.c index 2f7576361..2a60588c3 100644 --- a/tests/t-mldsa.c +++ b/tests/t-mldsa.c @@ -65,7 +65,7 @@ struct mldsa_info int sig_len; /* Length of the signature. */ }; -/* Information about the ML-DSA algoithms for use by the +/* Information about the ML-DSA algorithms for use by the * s-expression interface. */ static const struct mldsa_info mldsa_infos[] = {