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

k256+primeorder: add batch_normalize_generic #975

Merged
merged 1 commit into from
Nov 15, 2023

Conversation

tarcieri
Copy link
Member

Adds a generic implementation of batch_normalize which abstracts over backing storages.

This is just implemented in k256 for now, but could potentially be further abstracted and extracted into elliptic-curve.

@tarcieri tarcieri force-pushed the k256/batch-normalize-generic branch 3 times, most recently from e4f1c59 to 1f50f14 Compare November 15, 2023 00:51
@tarcieri tarcieri changed the title k256: add batch_normalize_generic k256+primeorder: add batch_normalize_generic Nov 15, 2023
@tarcieri tarcieri force-pushed the k256/batch-normalize-generic branch from 1f50f14 to 95b9e28 Compare November 15, 2023 00:53
Adds a generic implementation of `batch_normalize` which abstracts over
backing storages.
@tarcieri tarcieri force-pushed the k256/batch-normalize-generic branch from 95b9e28 to 613dc21 Compare November 15, 2023 01:17
@tarcieri tarcieri merged commit 0007c64 into master Nov 15, 2023
122 checks passed
@tarcieri tarcieri deleted the k256/batch-normalize-generic branch November 15, 2023 01:57
@ycscaly
Copy link
Contributor

ycscaly commented Nov 15, 2023

Yeah I see how our new trait design enables this. I've wanted something like this and am happy with your suggestion, so we ended up doing something better than originally intended.

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.

2 participants