libff
libff copied to clipboard
C++ library for Finite Fields and Elliptic Curves
The multiplication function in a finite field currently checks in runtime what the limb size is, when its instead known at compile time as its a template parameter. Line where...
Fix some compile warnings thrown up by newer compilers. Also enabled the test asserts in release builds (in lieu of using a test framework).
Being able to convert field elements to bits and vice versa would be useful for some cryptographic protocols. There are already functions to generate random field elements and serialize with...
To remove some of the boiler plate of adding new field, we should add method/parameter to Antoine's field parameter generation script to directly output the cpp code needed for it....
Currently only ALT_BN128/BN128, MNT4-298/MNT6-298 and EDWARDS-80 elliptic curves are supported in libff. All of them have a lower security level than 128-bit. Is there any plans to support other curves...
I can't build libff with LTO (a lots of compiler errors), but I'd like to enables some other performance options. We should split CMake flags for LTO from other performance...
I'm following the paper to learn the mnt4 and mnt6 curves, it's said that t6=2-t4, the t4 value is 689871209842287392837045615510547309923794945,so the t6 value should be -689871209842287392837045615510547309923794943 instead of -689871209842287392837045615510547309923794944. I'm...
How are the `wnaf_window_table` and `fixed_base_exp_window_table` are computed for each curve? Thanks
It would be nice to improve the library's tooling to use things like: - [clang-tidy](https://clang.llvm.org/extra/clang-tidy/) - [Sanitizers](https://github.com/google/sanitizers) - Things like [cppcheck](http://cppcheck.sourceforge.net/) and `Doxygen` for the documentation, as well as [lcov](https://wiki.documentfoundation.org/Development/Lcov)...
The linux install instructions are for Ubuntu 14.04 LTS, which is now quite old. We should update them for newer distros. @solomonjoseph pointed out that the installation for libprocps for...