Skip to main content

Getting Started

Requirements

  • GMP 6.3.0
  • NTL 11.5.1
  • Falcon 2021-11-01 (Optional)
  • Clang 14.0.0 (Optional - necessary if Falcon is used)

NOTE: it is possible to set USE_FALCON = 1 (default) in the Makefile, to automatically download and use the Falcon_keygen and Falcon_GSampler from the Falcon reference implementation, for better performance.

Otherwise, with USE_FALCON = 0 the NTRU_TrapGen and GSampler function defined in Lattice.cc are used.

For installation instructions and additional information, see INSTALL.md

Usage

After cloning this repository, build and run the BLNS executable as follows:

make -j$(nproc)

./BLNS