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

Using larger lookup tables #364

Open
PanosChtz opened this issue Jul 27, 2021 · 1 comment
Open

Using larger lookup tables #364

PanosChtz opened this issue Jul 27, 2021 · 1 comment

Comments

@PanosChtz
Copy link

I see that #350 added the option to use larger lookup tables, however I don't see a way to do it. What I understand from here is that the default lookup table has size 8, but the constants in https://github.com/dalek-cryptography/curve25519-dalek/blob/main/src/backend/serial/u64/constants.rs only have lookup tables for size 8. Is there some way to generate the larger lookup tables ourselves?

@yokomizor
Copy link

use curve25519_dalek::traits::BasepointTable;
use curve25519_dalek::edwards::*;
EdwardsBasepointTableRadix16::create(&point);
EdwardsBasepointTableRadix32::create(&point);
EdwardsBasepointTableRadix64::create(&point);
EdwardsBasepointTableRadix128::create(&point);
EdwardsBasepointTableRadix256::create(&point);

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

2 participants