This repository has been archived by the owner on Nov 9, 2023. It is now read-only.
Implement CT evenness checking using subtle's Choice. #58
Labels
speed_improvement
New implementation or changes that speed up existing processes.
Since
is_even()
function calls inside the primitive typeu64
is_even()
function, it will be faster to take a workaround to enable even faster even numbers checking.çThe workaround will be something similar to:
It'll be something similar to:
Then, with the result, return a
Choice
which is a subtle type implemented by Isis Agora Lovecruft and Henry de Valence.The text was updated successfully, but these errors were encountered: