go-ethereum/crypto
Marius van der Wijden 0eb2eeea90
all: create global hasher pool (#31769)
This PR creates a global hasher pool that can be used by all packages.
It also removes a bunch of the package local pools.

It also updates a few locations to use available hashers or the global
hashing pool to reduce allocations all over the codebase.
This change should reduce global allocation count by ~1%

---------

Co-authored-by: Gary Rong <garyrong0905@gmail.com>
2025-05-09 13:52:40 +08:00
..
blake2b all: fix some typos in comments and names (#31023) 2025-01-14 14:16:15 +01:00
bn256 all: fix some typos in comments and names (#31023) 2025-01-14 14:16:15 +01:00
ecies all: fix some typos in comments and names (#31023) 2025-01-14 14:16:15 +01:00
kzg4844 crypto/kzg4844: add ComputeCells functionality (#31378) 2025-04-29 14:42:17 +02:00
secp256k1 crypto/secp256k1: update libsecp256k1 (#31242) 2025-03-12 12:21:50 +01:00
signify build: replace tenv linter with usetesting (#31172) 2025-02-21 13:36:18 +01:00
crypto.go all: create global hasher pool (#31769) 2025-05-09 13:52:40 +08:00
crypto_test.go build: replace tenv linter with usetesting (#31172) 2025-02-21 13:36:18 +01:00
signature_cgo.go all: add build tags for wasip1 (#31090) 2025-01-30 16:58:53 +01:00
signature_nocgo.go all: add build tags for wasip1 (#31090) 2025-01-30 16:58:53 +01:00
signature_test.go all: remove duplicate word in comments (#29531) 2024-04-15 08:34:31 +02:00