Home GnuPG

cipher: Add headers to the Dilithium implementation.

Description

cipher: Add headers to the Dilithium implementation.

* cipher/dilithium.c: Add headers from the reference implementation.

Generated the header by:

for f in fips202.h ntt.h packing.h params.h poly.h polyvec.h \
         randombytes.h reduce.h rounding.h sign.h symmetric.h
  do echo "/*************** dilithium/ref/$f */"
     grep -v NAMESPACE $f | grep -v '^#include'
  done > /tmp/headers

And paste into the file.

  • GnuPG-bug-id: T7640
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Sat, Jun 28, 2:56 AM
Parents
rC1b422366e2b3: cipher: Put the original Dilithium implementation.
Branches
Unknown
Tags
Unknown
Tasks
T7640: ML-DSA for libgcrypt