clearmatics / libff

C++ library for Finite Fields and Elliptic Curves (forked from scipr-lab/libff)

Home Page:https://clearmatics.github.io/libff/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Extend pairing group interface to introduce and expose `loop_count_num_bits` to fasten miller loops

AntoineRondelet opened this issue · comments

Note: The right tradeoffs need to be taken when adding more constants and trying to optimize the loops because iterating over the exact number of bits in the binary representation of a scalar/integer will produce leakages that may benefit side channel adversaries.