-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WIP: Ecsafe #18
base: master
Are you sure you want to change the base?
WIP: Ecsafe #18
Conversation
- fixed benchmark metrics - added ecp precomp benchmark - added FAST(ecpAddMulAPrecompA)
src/math/ec.c
Outdated
static size_t ecNAFWidth(size_t l) | ||
{ | ||
#if 1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
думаю, для SAFE алгоритма стоит ввести отдельную функцию расчета оптимального w, так как это не NAF
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Да, верно. Сейчас размер окна для NAF и оконного метода задаются по сути переменной ecW. Оптимальные размеры окон нужно пересчитать для обоих методов.
cf86f6c
to
8821f7a
Compare
Поддержка предвычислений малых кратных.
Todo: