Home GnuPG

cipher: Put the original Kyber implementation.

Description

cipher: Put the original Kyber implementation.

* cipher/kyber.c: Kyber reference implementation.

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

for f in cbd.c indcpa.c kem.c ntt.c poly.c  \
         polyvec.c reduce.c symmetric-shake.c
  do echo "/*************** kyber/ref/$f */"
  grep -v '^#include' $f
done > libgcrypt/cipher/kyber.c

And added the top comment manually.

  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Jan 15 2024, 2:03 AM
Parents
rCbdadd65d440b: cipher: Allow standalone use of SNTRUP761 implementation.
Branches
Unknown
Tags
Unknown