Home GnuPG

cipher: Add headers to Kyber implementation.

Description

cipher: Add headers to Kyber implementation.

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

Generated the header by:

for f in fips202.h params.h poly.h polyvec.h indcpa.h kem.h \
  ntt.h randombytes.h reduce.h symmetric.h verify.h \
  do echo "/*************** kyber/ref/$f */"; \
  grep -v NAMESPACE $f | grep -v '^#include'; done > /tmp/headers

And insert it into cipher/kyber.c.

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

Details

Provenance
gniibeAuthored on Jan 15 2024, 2:06 AM
Parents
rC18e5c0d268b1: cipher: Put the original Kyber implementation.
Branches
Unknown
Tags
Unknown