plugeth/crypto/kzg4844
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
..
kzg4844_ckzg_cgo.go crypto/kzg4844: pull in the C and Go libs for KZG cryptography (#27155) 2023-05-10 14:54:14 +03:00
kzg4844_ckzg_nocgo.go crypto/kzg4844: pull in the C and Go libs for KZG cryptography (#27155) 2023-05-10 14:54:14 +03:00
kzg4844_gokzg.go crypto/kzg4844: pull in the C and Go libs for KZG cryptography (#27155) 2023-05-10 14:54:14 +03:00
kzg4844_test.go crypto/kzg4844: pull in the C and Go libs for KZG cryptography (#27155) 2023-05-10 14:54:14 +03:00
kzg4844.go crypto/kzg4844: pull in the C and Go libs for KZG cryptography (#27155) 2023-05-10 14:54:14 +03:00
trusted_setup.json crypto/kzg4844: pull in the C and Go libs for KZG cryptography (#27155) 2023-05-10 14:54:14 +03:00