go-ethereum/crypto
Adam Schmideg fe9ffa5953
crypto: improve error messages in LoadECDSA ()
This improves error messages when the file is too short or too long.
Also rewrite the test for SaveECDSA because LoadECDSA has its own
test now.

Co-authored-by: Felix Lange <fjl@twurst.com>
2020-04-08 16:01:11 +02:00
..
blake2b crypto/blake2b: fix 386, round 2 2019-08-22 12:24:11 +03:00
bn256 crypto/bn256: fix import line () 2020-02-27 13:59:00 +02:00
ecies crypto/ecies: improve concatKDF () 2020-04-03 11:57:24 +02:00
secp256k1 cmd, crypto, eth, internals: fix Typos () 2019-07-22 10:34:33 +03:00
crypto_test.go crypto: improve error messages in LoadECDSA () 2020-04-08 16:01:11 +02:00
crypto.go crypto: improve error messages in LoadECDSA () 2020-04-08 16:01:11 +02:00
signature_cgo.go crypto: add SignatureLength constant and use it everywhere () 2019-08-22 15:14:06 +02:00
signature_nocgo.go crypto: add SignatureLength constant and use it everywhere () 2019-08-22 15:14:06 +02:00
signature_test.go crypto: ensure that VerifySignature rejects malleable signatures () 2017-12-20 14:30:00 +02:00