-
Notifications
You must be signed in to change notification settings - Fork 103
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
Native: extend CryptoLib's verifyWithECDsa
with compatible NamedCurveHash
argument
#1035
Conversation
@AnnaShaleva anna, we are not going to add secp256k1 support here. Core only do verification, no construction. |
This code is needed for verification only. In neo-project/neo#3209 we extend the native CryptoLib's |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will wait until the dependent PR is merged.
Can’t be merged yet, I need to update dependencies. |
I imagined that, fetch git as well |
tests/Neo.SmartContract.Framework.UnitTests/Services/CryptoTest.cs
Outdated
Show resolved
Hide resolved
It will be replaced by NamedCurveHash in the next commit. A part of neo-project/neo#3209. Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
Mark VerifyWithECDsa method as obsolete. Ref. native CryptoLib update from neo-project/neo#3209. Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
Use 122 and 123 respectively for secp256k1Keccak256 and secp256r1Keccak256. Port the neo-project/neo@e7d9122. Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
Released commit 1d957922a1aec90d0ec852402dc6eca496841ed4. Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
54e38b6
to
c47a87c
Compare
Updated, ready for review and merge. |
Port protocol-related part of neo-project/neo#3209.
Note, that build and tests are failing because we need to update
neo
git submodule. We can merge neo-project/neo#3209 firstly, and then update theneo
submodule onto the fresh master. Then I'll rebase this PR and check that tests are passed.