scalar mul: consider using incomplete addition/doubling #76
Labels
constant time ⏳
Enhancement is suitable for secret data
correctness 🛂
performance 🏁
question ❓
Further information is requested
In scalar multiplication we use the complete formula from
Joost Renes and Craig Costello and Lejla Batina, 2015
https://eprint.iacr.org/2015/1060
to handle the infinity point, or adding P or its opposite to itself in a constant-time fashion.
However infinity can be checked and conditionally copied at the end instead of paying that cost each doubling/addition
and my intuition is that adding P/-P to itself is not possible in a scalar multiplication context (proof?).
From the paper, the complete formula carry a 40% overhead hence we might be able to significantly increase signing speed if those assumptions hold.
The text was updated successfully, but these errors were encountered: