erigon-pulse/crypto
Felix Lange 0255951587 crypto: replace ToECDSAPub with error-checking func UnmarshalPubkey (#16932)
ToECDSAPub was unsafe because it returned a non-nil key with nil X, Y in
case of invalid input. This change replaces ToECDSAPub with
UnmarshalPubkey across the codebase.
2018-06-12 15:26:08 +02:00
..
bn256 build: enable goimports and varcheck linters (#16446) 2018-04-18 00:53:50 +02:00
ecies ecies: drop randomness parameter from PrivateKey.Decrypt (#16374) 2018-03-26 13:46:18 +03:00
randentropy crypto: Remove dead code 2016-02-21 22:46:31 +00:00
secp256k1 crypto: fix golint warnings (#16710) 2018-05-09 01:17:09 +02:00
sha3 crypto: fix megacheck warnings (#14917) 2017-08-08 13:58:22 +03:00
crypto_test.go crypto: replace ToECDSAPub with error-checking func UnmarshalPubkey (#16932) 2018-06-12 15:26:08 +02:00
crypto.go crypto: replace ToECDSAPub with error-checking func UnmarshalPubkey (#16932) 2018-06-12 15:26:08 +02:00
signature_cgo.go crypto, crypto/secp256k1: add CompressPubkey (#15626) 2017-12-15 10:40:09 +01:00
signature_nocgo.go crypto: fix golint warnings (#16710) 2018-05-09 01:17:09 +02:00
signature_test.go crypto: ensure that VerifySignature rejects malleable signatures (#15708) 2017-12-20 14:30:00 +02:00