IronCoreLabs/recrypt-rs

HomogenousPoint and TwistedHPoint `normalize` when used in algorithms cause algorithms to not be constant time.

Closed this issue · 0 comments

normalize returning option causes some algorithms to have or_else for decisioning. When we use this in constant time algorithms we should instead just normalize and return x,y.

Maybe this means we have 2 normalize functions for when we need to detect the zero point?