Post-quantum key encapsulation


Reference implementation

The latest version of the reference implementation is maintained on github:

Reference implementation submitted to NIST

The NewHope C reference implementation contains software for the 4 instantiations of NewHope described in the NewHope specification in subdirectories that where submitted to NIST

  • Reference_Implementation/crypto_kem/newhope1024cca
  • Reference_Implementation/crypto_kem/newhope1024cpa
  • Reference_Implementation/crypto_kem/newhope512cca
  • Reference_Implementation/crypto_kem/newhope512cpa

In each of those subdirectories, simply run "make" to build software for the corresponding instance of NewHope and the the binary PQCgenKAT_sign, which generates test-vector files (KAT files) in the format requested by NIST.