go-ethereum/crypto
Marius van der Wijden 29a7673986 crypto: remove references to deprecated elliptic package
This PR removes all references to the elliptic functions that were deprecated in golang 1.22.
Instead this PR does the following:

We change S256() to return the raw bitcurve instead of the elliptic.Curve, this has two effects:
- Every instance of S256() can call the unmarshall and marshall operations
- The package is not neatly abstracted away anymore, which we can debate if we want to change that

We also modify the behavior in the ecies (and rlpx) package a bit.
Previously all curves were acceptable, now only curves that implement the marshaller and unmarshaller
interface are allowed. All common curves have this, so its not an issue in our code.
Dependencies maybe need to implement the (un-)marshaller interfaces though.
2024-03-15 11:42:50 +01:00
..
blake2b crypto/blake2b: put architecture-dependent features behind build-tag (#28381) 2023-10-19 14:04:26 +02:00
bls12381 all: fix typos in comments (#28881) 2024-02-05 22:16:32 +01:00
bn256 crypto/bn256/cloudflare: fix noescape-directive (#29222) 2024-03-12 09:49:53 +01:00
ecies crypto: remove references to deprecated elliptic package 2024-03-15 11:42:50 +01:00
kzg4844 crypto/kz4844: pass blobs by ref (#29050) 2024-03-13 07:51:46 +01:00
secp256k1 crypto: remove references to deprecated elliptic package 2024-03-15 11:42:50 +01:00
signify all: remove deprecated uses of math.rand (#26710) 2023-02-16 14:36:58 -05:00
crypto.go crypto: remove references to deprecated elliptic package 2024-03-15 11:42:50 +01:00
crypto_test.go all: replace uses of ioutil with io and os (#24869) 2022-05-16 11:59:35 +02:00
signature_cgo.go crypto: remove references to deprecated elliptic package 2024-03-15 11:42:50 +01:00
signature_nocgo.go crypto: replace noarg fmt.Errorf with errors.New (#27333) 2023-05-24 14:45:51 +02:00
signature_test.go crypto: ensure that VerifySignature rejects malleable signatures (#15708) 2017-12-20 14:30:00 +02:00