Skip to content

Conversation

@daxpedda
Copy link
Contributor

@daxpedda daxpedda commented Jun 11, 2022

tarcieri added a commit to RustCrypto/crypto-bigint that referenced this pull request Jun 12, 2022
tarcieri added a commit to RustCrypto/crypto-bigint that referenced this pull request Jun 12, 2022
@daxpedda daxpedda force-pushed the p384-hash-to-curve branch from 1511404 to 94482ff Compare June 13, 2022 01:41
@daxpedda
Copy link
Contributor Author

daxpedda commented Jun 13, 2022

So this has to build on RustCrypto/traits#1024 now. Considering this will be a breaking change, what's the solution here?
I could just copy-paste the OSSWU code here, like we did in k256. Or should we just delay this PR? Or release an elliptic-curve 0.13-pre?

I'm in no particular hurry btw, delaying is fine with me.

@daxpedda daxpedda requested a review from tarcieri June 13, 2022 02:03
@daxpedda daxpedda changed the title Implement HashToScalar Implement HashToScalar for P-384 Jun 13, 2022
@tarcieri
Copy link
Member

I think it'd probably make sense to just delay the PR until the next round of breaking changes to elliptic-curve, and in the meantime perhaps we could work out some better solutions for RustCrypto/traits#1024 regarding the relationships between FieldElements and their inner UInts.

@daxpedda daxpedda force-pushed the p384-hash-to-curve branch 2 times, most recently from 417c61c to 3e213f8 Compare December 7, 2022 13:49
@daxpedda daxpedda marked this pull request as ready for review December 7, 2022 13:50
@daxpedda
Copy link
Contributor Author

daxpedda commented Dec 7, 2022

Rebased.
I guess this now depends on elliptic-curve 0.13.0-pre.0 being released.

@tarcieri
Copy link
Member

tarcieri commented Dec 7, 2022

@daxpedda I'd like to get v0.12 releases of all of these crates out that move to the primeorder crate's generic implementation and bumps to signature v2.0 before upgrading elliptic-curve to v0.13.0-pre.0, since the former two are already significant changes.

That's all pretty much blocked on another release of ed25519-dalek to keep everything in sync.

@daxpedda
Copy link
Contributor Author

daxpedda commented Dec 7, 2022

Alright, good to know!
I'm in no rush :).

@daxpedda

This comment was marked as outdated.

@daxpedda
Copy link
Contributor Author

daxpedda commented Feb 1, 2023

@tarcieri this is ready now.

@tarcieri tarcieri merged commit 302a3f3 into RustCrypto:master Feb 1, 2023
@daxpedda daxpedda mentioned this pull request Apr 11, 2025
scv35 added a commit to scv35/Slibs-crypto-bigint that referenced this pull request Jul 4, 2025
zhifenxing071346lorrainewyatt added a commit to zhifenxing071346lorrainewyatt/crypto-bigint that referenced this pull request Oct 4, 2025
charlizemorgenbriancox added a commit to charlizemorgenbriancox/crypto-bigint that referenced this pull request Oct 10, 2025
shell-rider609bn added a commit to shell-rider609bn/crypto-bigint that referenced this pull request Oct 21, 2025
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