go-ethereum/crypto
Felix Lange 1a32bdf92c
crypto: fix error check in toECDSA (#15632)
With this change,

    key, err := crypto.HexToECDSA("000000...")
    
returns nil key and an error instead of a non-nil key with nil X
and Y inside. Issue found by @guidovranken.
2017-12-11 22:49:09 +01:00
..
bn256 crypto/bn256: fix generator on G1 (#15591) 2017-12-01 13:03:39 +01:00
ecies crypto: fix megacheck warnings (#14917) 2017-08-08 13:58:22 +03:00
randentropy crypto: Remove dead code 2016-02-21 22:46:31 +00:00
secp256k1 crypto: add DecompressPubkey, VerifySignature (#15615) 2017-12-06 16:07:08 +01:00
sha3 crypto: fix megacheck warnings (#14917) 2017-08-08 13:58:22 +03:00
crypto_test.go crypto: fix error check in toECDSA (#15632) 2017-12-11 22:49:09 +01:00
crypto.go crypto: fix error check in toECDSA (#15632) 2017-12-11 22:49:09 +01:00
signature_cgo.go crypto: add DecompressPubkey, VerifySignature (#15615) 2017-12-06 16:07:08 +01:00
signature_nocgo.go crypto: add DecompressPubkey, VerifySignature (#15615) 2017-12-06 16:07:08 +01:00
signature_test.go crypto: add DecompressPubkey, VerifySignature (#15615) 2017-12-06 16:07:08 +01:00