Skip to content
This repository has been archived by the owner on Dec 27, 2023. It is now read-only.

Wrong wnaf implementation #41

Open
kamel78 opened this issue Sep 12, 2023 · 0 comments
Open

Wrong wnaf implementation #41

kamel78 opened this issue Sep 12, 2023 · 0 comments

Comments

@kamel78
Copy link

kamel78 commented Sep 12, 2023

Sorry bu i think there is a big problem in this code !

The wNaf is incorrectly implemented since the size of the resulting representation (according to the code) is the same ad the size in bits of the nitial binary representation. Hence, the glv multiplication (and of course the wNaf points multiplication) are not optimized and in contrast mush slower than naive binary approach. In addition, if the goal is secure "constante" implementation, this is also not meet because of the test inside the loop (if i=0..).
According to which paper you have implement this?

Regards

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant