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

Interim crate #3

Merged
merged 6 commits into from
Jun 26, 2024
Merged

Interim crate #3

merged 6 commits into from
Jun 26, 2024

Conversation

jmwample
Copy link
Owner

@jmwample jmwample commented Jun 7, 2024

This PR sets up to publish my own independent curve25519 crate in order to make the elligator2 implementation usable without requiring that the PR on dalek-crypto be completely merged. If / When the elligator2 PR is merged this crate will likely be yanked.

This is useful as the implementation of elligator2 is functionally working and thoroughly tested, but the interface and integration into the curve25519-dalek library may need iterations.

jmwample and others added 4 commits June 26, 2024 09:35
with agl/ed25519/extra25519, the kleshni C implementation, and rfc9380.
Edwards rfc9380 tests and elligator representative randomness using tweaks.
remove extra rand byte read when elligator2 is disbled

add a better (failing) subgroup test

print result to see why failing

test running but failing - scalar_base_mult_dirty or repr_from_pubkey probably incorrect somehow

commit tests split out into their own files for organization

elligator 2 using repres_from_pubkey working, some tests still failing

mul_base_clamped_dirty working, tests also working - cleanup still needed

interim crate branch

progress commit.

make mul_base_clamped_dirty public because that is how you get the correct pub

make tests pass for 32 bit targets

getting close, legacy not working

working on docs and cleanup

legacy moved to its own testcase so it is validated without exposing

comments in the legacy test

module docs

crate docs and github actions

add elligator equivalents of more github actions workflows

working with workflows

apply the FieldElement gt impl to fiat backends

fixing negations for fiat and gt impl

lint err

format linting -_-

more linting

simplify wokflow to test only elligator2

more lints and formatting
@jmwample jmwample force-pushed the interim-crate branch 2 times, most recently from 676d572 to 4483c68 Compare June 26, 2024 15:38
@jmwample jmwample merged commit a642c8a into main Jun 26, 2024
32 checks passed
@jmwample jmwample deleted the interim-crate branch June 26, 2024 21:37
@github-actions github-actions bot mentioned this pull request Jun 26, 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

Successfully merging this pull request may close these issues.

1 participant