neoneo-go/pkg
Roman Khimov f0fbe9f6c9 crypto: drop home-grown elliptic crypto, use crypto/elliptic
As NEO uses P256 we can use standard crypto/elliptic library for almost
everything, the only exception being decompression of the Y coordinate. For
some reason the standard library only supports uncompressed format in its
Marshal()/Unmarshal() functions. elliptic.P256() is known to have
constant-time implementation, so it fixes #245 (and the decompression using
big.Int operates on public key, so nobody really cares about that part being
constant-time).

New decompress function is inspired by
https://stackoverflow.com/questions/46283760, even though the previous one
really did the same thing just in a little less obvious way.
2019-09-05 12:33:27 +03:00
..
core crypto: use PrivateKey to generate a key pair 2019-09-05 09:38:13 +03:00
crypto crypto: drop home-grown elliptic crypto, use crypto/elliptic 2019-09-05 12:33:27 +03:00
internal/keytestcases *: add/fix godoc comments to satisfy golint 2019-09-03 17:57:51 +03:00
interop *: fix some misspellings 2019-09-03 18:20:05 +03:00
io Implemented rpc server method GetRawTransaction (#135) 2019-02-20 18:39:32 +01:00
network *: fix golint's omit type suggestions 2019-09-03 18:16:48 +03:00
rpc rpc: comment out getBlock and getRawTransaction 2019-09-03 18:25:19 +03:00
smartcontract *: add/fix godoc comments to satisfy golint 2019-09-03 17:57:51 +03:00
util *: fix some misspellings 2019-09-03 18:20:05 +03:00
vm *: add/fix godoc comments to satisfy golint 2019-09-03 17:57:51 +03:00
wallet *: add/fix godoc comments to satisfy golint 2019-09-03 17:57:51 +03:00