Home GnuPG

cipher: Put the original Dilithium implementation.

Description

cipher: Put the original Dilithium implementation.

* 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: T7640
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Sat, Jun 28, 2:54 AM
Parents
rCb945002e44ce: tests:common: Increse buffer size to allow input for PQC testing.
Branches
Unknown
Tags
Unknown
Tasks
T7640: ML-DSA for libgcrypt