-
Notifications
You must be signed in to change notification settings - Fork 178
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
fp12_tower.c: add blst_bendian_from_fp12. #102
Conversation
See supranational#101 for details.
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.
I still think it's better to use the canonical representation instead of assuming Fp2 -> Fp6 -> Fp12 towering.
I found a paper mentioning it as well:
chapter 6.4
- Multiplication and Squaring on Pairing-Friendly Fields
Augusto Jun Devegili and Colm Ó hÉigeartaigh and Michael Scott and Ricardo Dahab, 2006
https://eprint.iacr.org/2006/471
And that's what I aimed for. What did I miss? Note that loops are in "inverse" order. I mean for non-canonical representation the outer loop would have 2 iterations... |
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.
LGTM
Friendly bump. |
Committed. Thanks for the feedback! And the bump ;-) |
See #101 for details.