go-ethereum/crypto
Martin Holst Swende a907d7e81a
all: more linters (#24783)
This enables the following linters

- typecheck
- unused
- staticcheck
- bidichk
- durationcheck
- exportloopref
- gosec

WIth a few exceptions.

- We use a deprecated protobuf in trezor. I didn't want to mess with that, since I cannot meaningfully test any changes there.
- The deprecated TypeMux is used in a few places still, so the warning for it is silenced for now.
- Using string type in context.WithValue is apparently wrong, one should use a custom type, to prevent collisions between different places in the hierarchy of callers. That should be fixed at some point, but may require some attention.
- The warnings for using weak random generator are squashed, since we use a lot of random without need for cryptographic guarantees.
2022-06-13 16:24:45 +02:00
..
blake2b all: more linters (#24783) 2022-06-13 16:24:45 +02:00
bls12381 crypto/bls12381: go format 2022-03-22 10:32:13 +01:00
bn256 all: more linters (#24783) 2022-06-13 16:24:45 +02:00
ecies crypto/ecies: use AES-192 for curve P384 (#24139) 2022-01-12 11:09:10 +01:00
secp256k1 all: fix 'the the' in comments (#24036) 2021-12-02 15:42:09 +01:00
signify all: replace uses of ioutil with io and os (#24869) 2022-05-16 11:59:35 +02:00
crypto_test.go all: replace uses of ioutil with io and os (#24869) 2022-05-16 11:59:35 +02:00
crypto.go all: replace uses of ioutil with io and os (#24869) 2022-05-16 11:59:35 +02:00
signature_cgo.go all: add go:build lines (#23468) 2021-08-25 18:46:29 +02:00
signature_nocgo.go crypto: use btcec/v2 for no-cgo (#24533) 2022-03-16 14:23:14 +01:00
signature_test.go crypto: ensure that VerifySignature rejects malleable signatures (#15708) 2017-12-20 14:30:00 +02:00