go-ethereum/crypto
Péter Szilágyi 2169fa343a
crypto/kzg4844: pull in the C and Go libs for KZG cryptography (#27155)
* cryto/kzg4844: pull in the C and Go libs for KZG cryptography

* go.mod: pull in the KZG libraries

* crypto/kzg4844: add basic becnhmarks for ballpark numbers

* cmd, crypto: integrate both CKZG and GoKZG all the time, add flag

* cmd/utils, crypto/kzg4844: run library init on startup

* crypto/kzg4844: make linter happy

* crypto/kzg4844: push missing file

* crypto/kzg4844: fully disable CKZG but leave in the sources

* build, crypto/kzg4844, internal: link CKZG by default and with portable mode

* crypto/kzg4844: drop verifying the trusted setup in gokzg

* internal/build: yolo until it works?

* cmd/utils: make flag description friendlier

Co-authored-by: Martin Holst Swende <martin@swende.se>

* crypto/ckzg: no need for double availability check

* build: tiny flag cleanup nitpick

---------

Co-authored-by: Martin Holst Swende <martin@swende.se>
2023-05-10 14:54:14 +03:00
..
blake2b all: more linters (#24783) 2022-06-13 16:24:45 +02:00
bls12381 crypto/bls12381: use worst case scalar for input to G1/G2 mul benchmarks (#26447) 2023-01-10 03:16:17 -05:00
bn256 all: more linters (#24783) 2022-06-13 16:24:45 +02:00
ecies all: add whitespace linter (#25312) 2022-07-25 13:14:03 +03:00
kzg4844 crypto/kzg4844: pull in the C and Go libs for KZG cryptography (#27155) 2023-05-10 14:54:14 +03:00
secp256k1 build: upgrade to go 1.19 (#25726) 2022-09-10 13:25:40 +02:00
signify all: remove deprecated uses of math.rand (#26710) 2023-02-16 14:36:58 -05:00
crypto_test.go all: replace uses of ioutil with io and os (#24869) 2022-05-16 11:59:35 +02:00
crypto.go build: upgrade to go 1.19 (#25726) 2022-09-10 13:25:40 +02:00
signature_cgo.go all: fix spelling mistakes (#25961) 2022-10-11 09:37:00 +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