[PATCH 07/17] cipher:dilithium: Fix comment style.

NIIBE Yutaka via Gcrypt-devel <[email protected]> Sat, 28 Jun 2025 12:44:44 +0900
Newsgroups gmane.comp.encryption.gpg.libgcrypt.devel
Message-ID <caba6463ed257ff8b43827f0b14927e1171ec2ea.1751080340.git.gniibe@fsij.org>
* cipher/dilithium.c: Fix comments.

--

GnuPG-bug-id: 7640
Signed-off-by: NIIBE Yutaka <[email protected]>
---
 cipher/dilithium.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

_______________________________________________
Gcrypt-devel mailing list
[email protected]
https://lists.gnupg.org/mailman/listinfo/gcrypt-devel
0007-cipher-dilithium-Fix-comment-style.patch (text/x-patch, 511 B)
diff --git a/cipher/dilithium.c b/cipher/dilithium.c
index 79ca211f..b9a16459 100644
--- a/cipher/dilithium.c
+++ b/cipher/dilithium.c
@@ -201,8 +201,8 @@ static void polyw1_pack(uint8_t *r, const poly *a);
 void randombytes(uint8_t *out, size_t outlen);
 
 /*************** dilithium/ref/reduce.h */
-#define MONT -4186625 // 2^32 % Q
-#define QINV 58728449 // q^(-1) mod 2^32
+#define MONT -4186625 /* 2^32 % Q */
+#define QINV 58728449 /* q^(-1) mod 2^32 */
 
 static int32_t montgomery_reduce(int64_t a);