-
Notifications
You must be signed in to change notification settings - Fork 52
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
Add Decomposition of ECWindowAddR #1477
Conversation
fpapa250
commented
Oct 24, 2024
- Adds working decomposition of ECWindowAddR (with classical simulation tests compatible with existing APIs)
- Updates higher level bloqs to have window size args for modular multiplication and windowed EC Add
- Temporary int() casting all over because upper level bloqs and APIs (QMontgomeryUInt functions) only accept ints and not SymbolicInts (tagged in issue: Change all integer arguments in FindECCPrivateKey bloq (and downstream bloqs) to SymbolicInt #1476, will fix in future PR)
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.
cool! some comments
R: ECPoint | ||
add_window_size: int | ||
mul_window_size: int = 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.
a window size of 1 means normal multiplication, no?
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.
Correct