Antoine Rondelet
Antoine Rondelet
Let's implement Scott's trick for efficient cofactor clearing in G1 (see Section 5 https://eprint.iacr.org/2019/403.pdf) along with Budroni and Pintore's method for cofactor mult in G2.
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)...
For now, the CI checks only run on Linux (see: https://github.com/scipr-lab/libff/commit/864be23c08a957565f4a1b6b296887727aecebb2). This contrasts, however, with the fact that the library can also be used on `macOS` and `Windows`. As such,...
See thread here: https://github.com/scipr-lab/libff/pull/43#discussion_r462920866 TL;DR: No checks are made to verify that the recovered point lies on the curve, and nothing is done to make sure that we are manipulating...
It could be very helpful IMO to define interfaces (via abstraction/inheritance or CRTPs, cc: @madars) to make the code related to field arithmetic generic (same would apply to groups btw)....
I think it would be nice to refactor tests as specified here: https://github.com/scipr-lab/libff/pull/44#discussion_r437979695 and follow a "one function - one test" approach.
Looks like the target groups of the pairings are defined from fields via `typedef` directives. See here for eg: https://github.com/scipr-lab/libff/blob/master/libff/algebra/curves/mnt/mnt4/mnt4_init.hpp#L39 This means that all public members of the underlying field...
# Bug report Hi, I'm not sure if this is a genuine bug or if I am just doing something wrong. I recently used [django-polymorphic](https://django-polymorphic.readthedocs.io/) to add a new feature...
Hi, this ticket is echoes https://github.com/typeddjango/django-stubs/issues/1158 which I opened earlier today on the typeddjango repo. In short and as explained there, mypy (I'm using the django stubs) started to complain...