Skip to content
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

Explore using _BitInt instead of donna128 #4420

Open
randombit opened this issue Oct 29, 2024 · 0 comments
Open

Explore using _BitInt instead of donna128 #4420

randombit opened this issue Oct 29, 2024 · 0 comments
Assignees

Comments

@randombit
Copy link
Owner

This way Clang never sees donna128 and can't do it's nasty/smart optimizations.

This assumes _BitInt is constant time which it is on x86-64 but I should check RISC-V32 since that seems worst case (32 bit, no carry bit) [*]

[*] And if _BitInt is not ct on RISCV that probably prevent using it for word3 also

@randombit randombit self-assigned this Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant