├── .github ├── ISSUE_TEMPLATE │ └── bug_report.md └── workflows │ └── oncici.yml ├── CMakeLists.txt ├── LICENSE.txt ├── README.md ├── bench ├── CMakeLists.txt ├── bench.c ├── bench.h ├── bench_ecdh.c ├── bench_eddsa.c ├── bench_fp.c ├── bench_hash.c ├── bench_third_party.c ├── clocks.c ├── clocks.h └── gbench.cpp ├── doc ├── CMakeLists.txt ├── gen_doc.doxyfile └── manual.pdf ├── examples ├── CMakeLists.txt ├── cpu_id.c ├── ecdh.c ├── eddsa.c ├── field.c ├── hash.c └── hello.c ├── include ├── edwards255.h ├── edwards448.h ├── faz_ecdh_avx2.h ├── faz_eddsa_avx2.h ├── faz_fp_avx2.h ├── faz_hash_avx2.h ├── simd_avx2.h ├── table_sign_w4_12k_ed25519.h ├── table_sign_w4_24k_ed25519.h ├── table_sign_w4_3675k_ed448.h ├── table_verf_w7_ed25519.h └── table_verf_w7_ed448.h ├── src ├── bytestring.c ├── dh255.c ├── dh448.c ├── ed255.c ├── ed448.c ├── edwards255.c ├── edwards448.c ├── eltfp25519_1w_fullradix.c ├── eltfp25519_1w_redradix.c ├── eltfp25519_2w_redradix.c ├── eltfp25519_2w_redradix_x2.c ├── eltfp25519_4w_redradix.c ├── eltfp448_1w_fullradix.c ├── eltfp448_1w_redradix.c ├── eltfp448_2w_redradix.c ├── eltfp448_4w_redradix.c ├── fp255.c ├── fp448.c ├── hash255.c ├── ladder255.c ├── ladder448.c ├── sign255.c ├── sign448.c └── target.c ├── tests ├── CMakeLists.txt ├── FindGMP.cmake ├── runTests.cpp ├── test_ecdh.c ├── test_ed25519.cpp ├── test_eddsa.c ├── test_fp.c ├── test_fp25519_avx2.cpp ├── test_fp25519_x64.cpp ├── test_fp448_x64.cpp ├── test_hash255.cpp ├── test_x25519.cpp ├── tests.c ├── tests.h ├── vectors.c └── vectors.h └── third_party ├── CMakeLists.txt ├── cpu_caps.c ├── cpu_caps.h ├── multi_hash.h ├── prng.c ├── prng.h ├── sha3.c ├── sha3.h ├── sha512.c ├── sha512.h └── sha512_2way.c /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/armfazh/fld-ecc-vec/HEAD/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /.github/workflows/oncici.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/armfazh/fld-ecc-vec/HEAD/.github/workflows/oncici.yml -------------------------------------------------------------------------------- /CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/armfazh/fld-ecc-vec/HEAD/CMakeLists.txt -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/armfazh/fld-ecc-vec/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/armfazh/fld-ecc-vec/HEAD/README.md -------------------------------------------------------------------------------- /bench/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/armfazh/fld-ecc-vec/HEAD/bench/CMakeLists.txt -------------------------------------------------------------------------------- /bench/bench.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/armfazh/fld-ecc-vec/HEAD/bench/bench.c -------------------------------------------------------------------------------- /bench/bench.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/armfazh/fld-ecc-vec/HEAD/bench/bench.h -------------------------------------------------------------------------------- /bench/bench_ecdh.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/armfazh/fld-ecc-vec/HEAD/bench/bench_ecdh.c -------------------------------------------------------------------------------- /bench/bench_eddsa.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/armfazh/fld-ecc-vec/HEAD/bench/bench_eddsa.c -------------------------------------------------------------------------------- /bench/bench_fp.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/armfazh/fld-ecc-vec/HEAD/bench/bench_fp.c -------------------------------------------------------------------------------- /bench/bench_hash.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/armfazh/fld-ecc-vec/HEAD/bench/bench_hash.c -------------------------------------------------------------------------------- /bench/bench_third_party.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/armfazh/fld-ecc-vec/HEAD/bench/bench_third_party.c -------------------------------------------------------------------------------- /bench/clocks.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/armfazh/fld-ecc-vec/HEAD/bench/clocks.c -------------------------------------------------------------------------------- /bench/clocks.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/armfazh/fld-ecc-vec/HEAD/bench/clocks.h -------------------------------------------------------------------------------- /bench/gbench.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/armfazh/fld-ecc-vec/HEAD/bench/gbench.cpp -------------------------------------------------------------------------------- /doc/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/armfazh/fld-ecc-vec/HEAD/doc/CMakeLists.txt -------------------------------------------------------------------------------- /doc/gen_doc.doxyfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/armfazh/fld-ecc-vec/HEAD/doc/gen_doc.doxyfile -------------------------------------------------------------------------------- /doc/manual.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/armfazh/fld-ecc-vec/HEAD/doc/manual.pdf -------------------------------------------------------------------------------- /examples/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/armfazh/fld-ecc-vec/HEAD/examples/CMakeLists.txt -------------------------------------------------------------------------------- /examples/cpu_id.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/armfazh/fld-ecc-vec/HEAD/examples/cpu_id.c -------------------------------------------------------------------------------- /examples/ecdh.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/armfazh/fld-ecc-vec/HEAD/examples/ecdh.c -------------------------------------------------------------------------------- /examples/eddsa.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/armfazh/fld-ecc-vec/HEAD/examples/eddsa.c -------------------------------------------------------------------------------- /examples/field.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/armfazh/fld-ecc-vec/HEAD/examples/field.c -------------------------------------------------------------------------------- /examples/hash.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/armfazh/fld-ecc-vec/HEAD/examples/hash.c -------------------------------------------------------------------------------- /examples/hello.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/armfazh/fld-ecc-vec/HEAD/examples/hello.c -------------------------------------------------------------------------------- /include/edwards255.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/armfazh/fld-ecc-vec/HEAD/include/edwards255.h -------------------------------------------------------------------------------- /include/edwards448.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/armfazh/fld-ecc-vec/HEAD/include/edwards448.h -------------------------------------------------------------------------------- /include/faz_ecdh_avx2.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/armfazh/fld-ecc-vec/HEAD/include/faz_ecdh_avx2.h -------------------------------------------------------------------------------- /include/faz_eddsa_avx2.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/armfazh/fld-ecc-vec/HEAD/include/faz_eddsa_avx2.h -------------------------------------------------------------------------------- /include/faz_fp_avx2.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/armfazh/fld-ecc-vec/HEAD/include/faz_fp_avx2.h -------------------------------------------------------------------------------- /include/faz_hash_avx2.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/armfazh/fld-ecc-vec/HEAD/include/faz_hash_avx2.h -------------------------------------------------------------------------------- /include/simd_avx2.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/armfazh/fld-ecc-vec/HEAD/include/simd_avx2.h -------------------------------------------------------------------------------- /include/table_sign_w4_12k_ed25519.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/armfazh/fld-ecc-vec/HEAD/include/table_sign_w4_12k_ed25519.h -------------------------------------------------------------------------------- /include/table_sign_w4_24k_ed25519.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/armfazh/fld-ecc-vec/HEAD/include/table_sign_w4_24k_ed25519.h -------------------------------------------------------------------------------- /include/table_sign_w4_3675k_ed448.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/armfazh/fld-ecc-vec/HEAD/include/table_sign_w4_3675k_ed448.h -------------------------------------------------------------------------------- /include/table_verf_w7_ed25519.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/armfazh/fld-ecc-vec/HEAD/include/table_verf_w7_ed25519.h -------------------------------------------------------------------------------- /include/table_verf_w7_ed448.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/armfazh/fld-ecc-vec/HEAD/include/table_verf_w7_ed448.h -------------------------------------------------------------------------------- /src/bytestring.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/armfazh/fld-ecc-vec/HEAD/src/bytestring.c -------------------------------------------------------------------------------- /src/dh255.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/armfazh/fld-ecc-vec/HEAD/src/dh255.c -------------------------------------------------------------------------------- /src/dh448.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/armfazh/fld-ecc-vec/HEAD/src/dh448.c -------------------------------------------------------------------------------- /src/ed255.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/armfazh/fld-ecc-vec/HEAD/src/ed255.c -------------------------------------------------------------------------------- /src/ed448.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/armfazh/fld-ecc-vec/HEAD/src/ed448.c -------------------------------------------------------------------------------- /src/edwards255.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/armfazh/fld-ecc-vec/HEAD/src/edwards255.c -------------------------------------------------------------------------------- /src/edwards448.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/armfazh/fld-ecc-vec/HEAD/src/edwards448.c -------------------------------------------------------------------------------- /src/eltfp25519_1w_fullradix.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/armfazh/fld-ecc-vec/HEAD/src/eltfp25519_1w_fullradix.c -------------------------------------------------------------------------------- /src/eltfp25519_1w_redradix.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/armfazh/fld-ecc-vec/HEAD/src/eltfp25519_1w_redradix.c -------------------------------------------------------------------------------- /src/eltfp25519_2w_redradix.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/armfazh/fld-ecc-vec/HEAD/src/eltfp25519_2w_redradix.c -------------------------------------------------------------------------------- /src/eltfp25519_2w_redradix_x2.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/armfazh/fld-ecc-vec/HEAD/src/eltfp25519_2w_redradix_x2.c -------------------------------------------------------------------------------- /src/eltfp25519_4w_redradix.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/armfazh/fld-ecc-vec/HEAD/src/eltfp25519_4w_redradix.c -------------------------------------------------------------------------------- /src/eltfp448_1w_fullradix.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/armfazh/fld-ecc-vec/HEAD/src/eltfp448_1w_fullradix.c -------------------------------------------------------------------------------- /src/eltfp448_1w_redradix.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/armfazh/fld-ecc-vec/HEAD/src/eltfp448_1w_redradix.c -------------------------------------------------------------------------------- /src/eltfp448_2w_redradix.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/armfazh/fld-ecc-vec/HEAD/src/eltfp448_2w_redradix.c -------------------------------------------------------------------------------- /src/eltfp448_4w_redradix.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/armfazh/fld-ecc-vec/HEAD/src/eltfp448_4w_redradix.c -------------------------------------------------------------------------------- /src/fp255.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/armfazh/fld-ecc-vec/HEAD/src/fp255.c -------------------------------------------------------------------------------- /src/fp448.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/armfazh/fld-ecc-vec/HEAD/src/fp448.c -------------------------------------------------------------------------------- /src/hash255.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/armfazh/fld-ecc-vec/HEAD/src/hash255.c -------------------------------------------------------------------------------- /src/ladder255.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/armfazh/fld-ecc-vec/HEAD/src/ladder255.c -------------------------------------------------------------------------------- /src/ladder448.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/armfazh/fld-ecc-vec/HEAD/src/ladder448.c -------------------------------------------------------------------------------- /src/sign255.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/armfazh/fld-ecc-vec/HEAD/src/sign255.c -------------------------------------------------------------------------------- /src/sign448.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/armfazh/fld-ecc-vec/HEAD/src/sign448.c -------------------------------------------------------------------------------- /src/target.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/armfazh/fld-ecc-vec/HEAD/src/target.c -------------------------------------------------------------------------------- /tests/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/armfazh/fld-ecc-vec/HEAD/tests/CMakeLists.txt -------------------------------------------------------------------------------- /tests/FindGMP.cmake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/armfazh/fld-ecc-vec/HEAD/tests/FindGMP.cmake -------------------------------------------------------------------------------- /tests/runTests.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/armfazh/fld-ecc-vec/HEAD/tests/runTests.cpp -------------------------------------------------------------------------------- /tests/test_ecdh.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/armfazh/fld-ecc-vec/HEAD/tests/test_ecdh.c -------------------------------------------------------------------------------- /tests/test_ed25519.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/armfazh/fld-ecc-vec/HEAD/tests/test_ed25519.cpp -------------------------------------------------------------------------------- /tests/test_eddsa.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/armfazh/fld-ecc-vec/HEAD/tests/test_eddsa.c -------------------------------------------------------------------------------- /tests/test_fp.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/armfazh/fld-ecc-vec/HEAD/tests/test_fp.c -------------------------------------------------------------------------------- /tests/test_fp25519_avx2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/armfazh/fld-ecc-vec/HEAD/tests/test_fp25519_avx2.cpp -------------------------------------------------------------------------------- /tests/test_fp25519_x64.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/armfazh/fld-ecc-vec/HEAD/tests/test_fp25519_x64.cpp -------------------------------------------------------------------------------- /tests/test_fp448_x64.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/armfazh/fld-ecc-vec/HEAD/tests/test_fp448_x64.cpp -------------------------------------------------------------------------------- /tests/test_hash255.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/armfazh/fld-ecc-vec/HEAD/tests/test_hash255.cpp -------------------------------------------------------------------------------- /tests/test_x25519.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/armfazh/fld-ecc-vec/HEAD/tests/test_x25519.cpp -------------------------------------------------------------------------------- /tests/tests.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/armfazh/fld-ecc-vec/HEAD/tests/tests.c -------------------------------------------------------------------------------- /tests/tests.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/armfazh/fld-ecc-vec/HEAD/tests/tests.h -------------------------------------------------------------------------------- /tests/vectors.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/armfazh/fld-ecc-vec/HEAD/tests/vectors.c -------------------------------------------------------------------------------- /tests/vectors.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/armfazh/fld-ecc-vec/HEAD/tests/vectors.h -------------------------------------------------------------------------------- /third_party/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/armfazh/fld-ecc-vec/HEAD/third_party/CMakeLists.txt -------------------------------------------------------------------------------- /third_party/cpu_caps.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/armfazh/fld-ecc-vec/HEAD/third_party/cpu_caps.c -------------------------------------------------------------------------------- /third_party/cpu_caps.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/armfazh/fld-ecc-vec/HEAD/third_party/cpu_caps.h -------------------------------------------------------------------------------- /third_party/multi_hash.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/armfazh/fld-ecc-vec/HEAD/third_party/multi_hash.h -------------------------------------------------------------------------------- /third_party/prng.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/armfazh/fld-ecc-vec/HEAD/third_party/prng.c -------------------------------------------------------------------------------- /third_party/prng.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/armfazh/fld-ecc-vec/HEAD/third_party/prng.h -------------------------------------------------------------------------------- /third_party/sha3.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/armfazh/fld-ecc-vec/HEAD/third_party/sha3.c -------------------------------------------------------------------------------- /third_party/sha3.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/armfazh/fld-ecc-vec/HEAD/third_party/sha3.h -------------------------------------------------------------------------------- /third_party/sha512.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/armfazh/fld-ecc-vec/HEAD/third_party/sha512.c -------------------------------------------------------------------------------- /third_party/sha512.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/armfazh/fld-ecc-vec/HEAD/third_party/sha512.h -------------------------------------------------------------------------------- /third_party/sha512_2way.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/armfazh/fld-ecc-vec/HEAD/third_party/sha512_2way.c --------------------------------------------------------------------------------