go-ethereum/crypto
Felix Lange 0e93da3197
crypto/kzg4844: add helpers for versioned blob hashes ()
The code to compute a versioned hash was duplicated a couple times, and also had a small
issue: if we ever change params.BlobTxHashVersion, it will most likely also cause changes
to the actual hash computation. So it's a bit useless to have this constant in params.
2024-01-19 11:41:17 +01:00
..
blake2b crypto/blake2b: put architecture-dependent features behind build-tag () 2023-10-19 14:04:26 +02:00
bls12381 crypto/bls12381: fix typo in comment () 2023-08-15 14:37:34 +02:00
bn256 crypto/bn256: eliminate dead store () 2023-08-23 21:26:30 +02:00
ecies crypto: replace noarg fmt.Errorf with errors.New () 2023-05-24 14:45:51 +02:00
kzg4844 crypto/kzg4844: add helpers for versioned blob hashes () 2024-01-19 11:41:17 +01:00
secp256k1 crypto/secp256k1: fix 32-bit tests when CGO_ENABLED=0 () 2023-11-28 19:16:50 +01:00
signify all: remove deprecated uses of math.rand () 2023-02-16 14:36:58 -05:00
crypto_test.go all: replace uses of ioutil with io and os () 2022-05-16 11:59:35 +02:00
crypto.go crypto: replace noarg fmt.Errorf with errors.New () 2023-05-24 14:45:51 +02:00
signature_cgo.go crypto: replace noarg fmt.Errorf with errors.New () 2023-05-24 14:45:51 +02:00
signature_nocgo.go crypto: replace noarg fmt.Errorf with errors.New () 2023-05-24 14:45:51 +02:00
signature_test.go crypto: ensure that VerifySignature rejects malleable signatures () 2017-12-20 14:30:00 +02:00