├── .clang-format ├── .github └── workflows │ └── test_ci.yml ├── .gitignore ├── .gitmodules ├── LICENSE ├── Makefile ├── README.md ├── benchmarks ├── bench_helper.hpp ├── bench_keygen.cpp ├── bench_signing.cpp └── bench_verify.cpp ├── examples ├── sign_many.cpp └── sign_one.cpp ├── include ├── common.hpp ├── decoding.hpp ├── encoding.hpp ├── falcon.hpp ├── falcon_tree.hpp ├── ff.hpp ├── ffsampling.hpp ├── fft.hpp ├── hashing.hpp ├── karatsuba.hpp ├── keygen.hpp ├── ntru_gen.hpp ├── ntt.hpp ├── polynomial.hpp ├── prng.hpp ├── samplerz.hpp ├── signing.hpp ├── u72.hpp ├── utils.hpp └── verification.hpp └── tests ├── check_ntru_eq.hpp ├── test_encoding.cpp ├── test_ff.cpp ├── test_ffsampling.cpp ├── test_fft.cpp ├── test_keygen.cpp ├── test_ntru_gen.cpp ├── test_ntt.cpp ├── test_samplerz.cpp └── test_signing.cpp /.clang-format: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itzmeanjan/falcon/HEAD/.clang-format -------------------------------------------------------------------------------- /.github/workflows/test_ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itzmeanjan/falcon/HEAD/.github/workflows/test_ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itzmeanjan/falcon/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itzmeanjan/falcon/HEAD/.gitmodules -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itzmeanjan/falcon/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itzmeanjan/falcon/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itzmeanjan/falcon/HEAD/README.md -------------------------------------------------------------------------------- /benchmarks/bench_helper.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itzmeanjan/falcon/HEAD/benchmarks/bench_helper.hpp -------------------------------------------------------------------------------- /benchmarks/bench_keygen.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itzmeanjan/falcon/HEAD/benchmarks/bench_keygen.cpp -------------------------------------------------------------------------------- /benchmarks/bench_signing.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itzmeanjan/falcon/HEAD/benchmarks/bench_signing.cpp -------------------------------------------------------------------------------- /benchmarks/bench_verify.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itzmeanjan/falcon/HEAD/benchmarks/bench_verify.cpp -------------------------------------------------------------------------------- /examples/sign_many.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itzmeanjan/falcon/HEAD/examples/sign_many.cpp -------------------------------------------------------------------------------- /examples/sign_one.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itzmeanjan/falcon/HEAD/examples/sign_one.cpp -------------------------------------------------------------------------------- /include/common.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itzmeanjan/falcon/HEAD/include/common.hpp -------------------------------------------------------------------------------- /include/decoding.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itzmeanjan/falcon/HEAD/include/decoding.hpp -------------------------------------------------------------------------------- /include/encoding.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itzmeanjan/falcon/HEAD/include/encoding.hpp -------------------------------------------------------------------------------- /include/falcon.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itzmeanjan/falcon/HEAD/include/falcon.hpp -------------------------------------------------------------------------------- /include/falcon_tree.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itzmeanjan/falcon/HEAD/include/falcon_tree.hpp -------------------------------------------------------------------------------- /include/ff.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itzmeanjan/falcon/HEAD/include/ff.hpp -------------------------------------------------------------------------------- /include/ffsampling.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itzmeanjan/falcon/HEAD/include/ffsampling.hpp -------------------------------------------------------------------------------- /include/fft.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itzmeanjan/falcon/HEAD/include/fft.hpp -------------------------------------------------------------------------------- /include/hashing.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itzmeanjan/falcon/HEAD/include/hashing.hpp -------------------------------------------------------------------------------- /include/karatsuba.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itzmeanjan/falcon/HEAD/include/karatsuba.hpp -------------------------------------------------------------------------------- /include/keygen.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itzmeanjan/falcon/HEAD/include/keygen.hpp -------------------------------------------------------------------------------- /include/ntru_gen.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itzmeanjan/falcon/HEAD/include/ntru_gen.hpp -------------------------------------------------------------------------------- /include/ntt.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itzmeanjan/falcon/HEAD/include/ntt.hpp -------------------------------------------------------------------------------- /include/polynomial.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itzmeanjan/falcon/HEAD/include/polynomial.hpp -------------------------------------------------------------------------------- /include/prng.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itzmeanjan/falcon/HEAD/include/prng.hpp -------------------------------------------------------------------------------- /include/samplerz.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itzmeanjan/falcon/HEAD/include/samplerz.hpp -------------------------------------------------------------------------------- /include/signing.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itzmeanjan/falcon/HEAD/include/signing.hpp -------------------------------------------------------------------------------- /include/u72.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itzmeanjan/falcon/HEAD/include/u72.hpp -------------------------------------------------------------------------------- /include/utils.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itzmeanjan/falcon/HEAD/include/utils.hpp -------------------------------------------------------------------------------- /include/verification.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itzmeanjan/falcon/HEAD/include/verification.hpp -------------------------------------------------------------------------------- /tests/check_ntru_eq.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itzmeanjan/falcon/HEAD/tests/check_ntru_eq.hpp -------------------------------------------------------------------------------- /tests/test_encoding.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itzmeanjan/falcon/HEAD/tests/test_encoding.cpp -------------------------------------------------------------------------------- /tests/test_ff.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itzmeanjan/falcon/HEAD/tests/test_ff.cpp -------------------------------------------------------------------------------- /tests/test_ffsampling.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itzmeanjan/falcon/HEAD/tests/test_ffsampling.cpp -------------------------------------------------------------------------------- /tests/test_fft.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itzmeanjan/falcon/HEAD/tests/test_fft.cpp -------------------------------------------------------------------------------- /tests/test_keygen.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itzmeanjan/falcon/HEAD/tests/test_keygen.cpp -------------------------------------------------------------------------------- /tests/test_ntru_gen.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itzmeanjan/falcon/HEAD/tests/test_ntru_gen.cpp -------------------------------------------------------------------------------- /tests/test_ntt.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itzmeanjan/falcon/HEAD/tests/test_ntt.cpp -------------------------------------------------------------------------------- /tests/test_samplerz.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itzmeanjan/falcon/HEAD/tests/test_samplerz.cpp -------------------------------------------------------------------------------- /tests/test_signing.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itzmeanjan/falcon/HEAD/tests/test_signing.cpp --------------------------------------------------------------------------------