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

curve: partial precomputation #668

Merged
merged 1 commit into from
Jul 30, 2024

Conversation

AaronFeickert
Copy link
Contributor

@AaronFeickert AaronFeickert commented Jul 1, 2024

It may be useful to support multiscalar multiplication evaluation using partial precomputation, where a larger set of precomputation tables is generated than is needed for an evaluation.

This PR adds such functionality with minimal impact. Specifically, it does so by relaxing the panic conditions on the relevant VartimePrecomputedMultiscalarMul functions (and their corresponding implementations). It also adds tests and updates the documentation carefully.

Note that this is an improved version of #546, which was closed due to repository reorganization.

@AaronFeickert AaronFeickert changed the title feat: partial precomputation curve: partial precomputation Jul 5, 2024
@rozbb
Copy link
Contributor

rozbb commented Jul 30, 2024

Very nice! New code and docs look great. Anything else needed @tarcieri ?

@rozbb rozbb merged commit 0964f80 into dalek-cryptography:main Jul 30, 2024
22 checks passed
@AaronFeickert AaronFeickert deleted the partial-precomputation branch July 30, 2024 14:30
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

Successfully merging this pull request may close these issues.

3 participants