-
Notifications
You must be signed in to change notification settings - Fork 127
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
Use algorithm for ECDH that is described in the specification #724
Conversation
Doing this on the Bitcoin Core side requires accessing lower level libsecp functions, which might raise some review eyebrows. |
I would have to use |
Do you think that could make sense/is possible. To modify the spec in order to avoid it? |
@Fi3 using EllSwift avoids this problem. Bitcoin Core has a nice high-level method for it, already used for BIP324 encryption. Option 2 from stratum-mining/sv2-spec#65 avoids the problem as well, but it still requires something new to be merged into libsecp. So it's slower. |
Ok so we can wait the decision on EllSwift. If we go with it this PR get closed otherwise we merge it |
Generally I disagree that the specification should be modified according to the needs of a specific codebase (speaking of the bitcoin-core that @Sjors mentioned).
But let's wait for the Ellswift discussions |
That's true, but I think there is a good reason Bitcoin Core is (probably) reluctant to add this approach. It's a non-standard way of using a cryptographic function. |
According to what we've discussed in the last call |
suggestion for issue #723