neoneo-go/pkg/crypto
Anna Shaleva 1e2b438b55 native: extend CryptoLib's verifyWithECDsa with hasher parameter
Replace native CryptoLib's verifyWithECDsa `curve` parameter by
`curveHash` parameter which is a enum over supported pairs of named
curves and hash functions.

Even though this change is a compatible extension of the protocol, it
changes the genesis state due to parameter renaming. But we're going to
resync chain in 3.7 release anyway, so it's not a big deal.

Also, we need to check mainnet and testnet compatibility in case if
anyone has ever called verifyWithECDsa with 24 or 25 `curve` value.

Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
2024-05-03 12:07:56 +03:00
..
hash native: extend CryptoLib's verifyWithECDsa with hasher parameter 2024-05-03 12:07:56 +03:00
keys crypto: adjust TestPublicKeys_Copy 2024-04-28 00:12:18 +05:30
doc.go *: add more package-specific documentation 2021-03-19 16:18:45 +03:00
verifiable.go [#2442] English Check 2022-05-04 19:48:27 +03:00