[PATCH 01/17] cipher: Put the original Dilithium implementation.

NIIBE Yutaka gniibe at fsij.org
Sat Jun 28 05:44:38 CEST 2025


* cipher/dilithium.c: Add the Dilithium reference implementation into
one file.

--

At dilithium/ref directory of the reference implementation,
it is generated by:

    for f in ntt.c packing.c poly.c polyvec.c reduce.c rounding.c \
             sign.c symmetric-shake.c
      do echo "/*************** dilithium/ref/$f */"
      grep -v '^#include' $f
    done > /tmp/dilithium.c

And added the top comment manually.

GnuPG-bug-id: 7640
Signed-off-by: NIIBE Yutaka <gniibe at fsij.org>
---
 cipher/dilithium.c | 2264 ++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 2264 insertions(+)
 create mode 100644 cipher/dilithium.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-cipher-Put-the-original-Dilithium-implementation.patch
Type: text/x-patch
Size: 73904 bytes
Desc: not available
URL: <https://lists.gnupg.org/pipermail/gcrypt-devel/attachments/20250628/20fe8066/attachment-0001.bin>


More information about the Gcrypt-devel mailing list