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

Adapt to new types introduced in fiat-crypto 0.2 #566

Merged

Conversation

divergentdave
Copy link
Contributor

I have an outstanding PR that proposes some breaking changes to fiat-crypto, see mit-plv/fiat-crypto#1623. Briefly, it introduces new structures to replace different type aliases for each field element representation. Encoding this in the type system is intended to prevent misuse of functions that require "tight" preconditions on their inputs' ranges. I'm opening this PR for a future crate upgrade early, with a [patch.crates-io] stanza, to test out the breaking change, and for temporary use in fiat-crypto's integration tests. If this looks good, I can back out the patch stanza when fiat-crypto is released and mark it ready for review.

@divergentdave divergentdave force-pushed the fiat-crypto-newtype branch 2 times, most recently from d60c18b to e4a90b3 Compare September 2, 2023 05:25
@divergentdave divergentdave marked this pull request as ready for review September 2, 2023 05:26
@divergentdave
Copy link
Contributor Author

The new fiat-crypto version is out, so this is ready now.

@pinkforest
Copy link
Contributor

Thanks 🎉 - I'm benching this atm for any regressions - I noted there was no_std issue per above

@tarcieri
Copy link
Contributor

tarcieri commented Sep 4, 2023

@divergentdave can you rebase now that #572 has been merged?

@dconnolly
Copy link

🎉

@tarcieri tarcieri mentioned this pull request Sep 5, 2023
@tarcieri tarcieri merged commit a3a08b0 into dalek-cryptography:main Sep 5, 2023
22 checks passed
@tarcieri
Copy link
Contributor

tarcieri commented Sep 5, 2023

Merging so we can get this in #574

pinkforest pushed a commit to pinkforest/curve25519-dalek that referenced this pull request Sep 12, 2023
@divergentdave divergentdave deleted the fiat-crypto-newtype branch October 3, 2023 22:21
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.

4 participants