Elliptic-curve algorithms often contain arithmetic with constants. MontyForm could provide functions that optimize these operations.
I propose to introduce *_vartime methods that are only variable-time over rhs: MontyForm. They have to be constant-time for lhs.
Related: #839.
Elliptic-curve algorithms often contain arithmetic with constants.
MontyFormcould provide functions that optimize these operations.I propose to introduce
*_vartimemethods that are only variable-time overrhs: MontyForm. They have to be constant-time forlhs.Related: #839.