-
- Downloads
tests/fuzzers: crypto/bn256 and crypto/bls12381 tests against gnark-crypto (#22755)
Add more cross-fuzzers to fuzz bls with gnark versus geth's own bls12-381 library
Showing
- go.mod 12 additions, 3 deletionsgo.mod
- go.sum 20 additions, 133 deletionsgo.sum
- oss-fuzz.sh 5 additions, 0 deletionsoss-fuzz.sh
- tests/fuzzers/bls12381/bls12381_fuzz.go 244 additions, 0 deletionstests/fuzzers/bls12381/bls12381_fuzz.go
- tests/fuzzers/bls12381/precompile_fuzzer.go 0 additions, 0 deletionstests/fuzzers/bls12381/precompile_fuzzer.go
- tests/fuzzers/bn256/bn256_fuzz.go 25 additions, 23 deletionstests/fuzzers/bn256/bn256_fuzz.go
... | @@ -3,7 +3,10 @@ module github.com/ethereum/go-ethereum | ... | @@ -3,7 +3,10 @@ module github.com/ethereum/go-ethereum |
go 1.15 | go 1.15 | ||
require ( | require ( | ||
github.com/Azure/azure-pipeline-go v0.2.2 // indirect | |||
github.com/Azure/azure-storage-blob-go v0.7.0 | github.com/Azure/azure-storage-blob-go v0.7.0 | ||
github.com/Azure/go-autorest/autorest/adal v0.8.0 // indirect | |||
github.com/StackExchange/wmi v0.0.0-20180116203802-5d049714c4a6 // indirect | |||
github.com/VictoriaMetrics/fastcache v1.5.7 | github.com/VictoriaMetrics/fastcache v1.5.7 | ||
github.com/aws/aws-sdk-go-v2 v1.2.0 | github.com/aws/aws-sdk-go-v2 v1.2.0 | ||
github.com/aws/aws-sdk-go-v2/config v1.1.1 | github.com/aws/aws-sdk-go-v2/config v1.1.1 | ||
... | @@ -12,15 +15,18 @@ require ( | ... | @@ -12,15 +15,18 @@ require ( |
github.com/btcsuite/btcd v0.20.1-beta | github.com/btcsuite/btcd v0.20.1-beta | ||
github.com/cespare/cp v0.1.0 | github.com/cespare/cp v0.1.0 | ||
github.com/cloudflare/cloudflare-go v0.14.0 | github.com/cloudflare/cloudflare-go v0.14.0 | ||
github.com/consensys/gurvy v0.3.8 | github.com/consensys/gnark-crypto v0.4.1-0.20210426202927-39ac3d4b3f1f | ||
github.com/davecgh/go-spew v1.1.1 | github.com/davecgh/go-spew v1.1.1 | ||
github.com/deckarep/golang-set v0.0.0-20180603214616-504e848d77ea | github.com/deckarep/golang-set v0.0.0-20180603214616-504e848d77ea | ||
github.com/dlclark/regexp2 v1.2.0 // indirect | |||
github.com/docker/docker v1.4.2-0.20180625184442-8e610b2b55bf | github.com/docker/docker v1.4.2-0.20180625184442-8e610b2b55bf | ||
github.com/dop251/goja v0.0.0-20200721192441-a695b0cdd498 | github.com/dop251/goja v0.0.0-20200721192441-a695b0cdd498 | ||
github.com/edsrzf/mmap-go v1.0.0 | github.com/edsrzf/mmap-go v1.0.0 | ||
github.com/fatih/color v1.7.0 | github.com/fatih/color v1.7.0 | ||
github.com/fjl/memsize v0.0.0-20190710130421-bcb5799ab5e5 | github.com/fjl/memsize v0.0.0-20190710130421-bcb5799ab5e5 | ||
github.com/gballet/go-libpcsclite v0.0.0-20190607065134-2772fd86a8ff | github.com/gballet/go-libpcsclite v0.0.0-20190607065134-2772fd86a8ff | ||
github.com/go-ole/go-ole v1.2.1 // indirect | |||
github.com/go-sourcemap/sourcemap v2.1.2+incompatible // indirect | |||
github.com/go-stack/stack v1.8.0 | github.com/go-stack/stack v1.8.0 | ||
github.com/golang/protobuf v1.4.3 | github.com/golang/protobuf v1.4.3 | ||
github.com/golang/snappy v0.0.3-0.20201103224600-674baa8c7fc3 | github.com/golang/snappy v0.0.3-0.20201103224600-674baa8c7fc3 | ||
... | @@ -37,8 +43,10 @@ require ( | ... | @@ -37,8 +43,10 @@ require ( |
github.com/jedisct1/go-minisign v0.0.0-20190909160543-45766022959e | github.com/jedisct1/go-minisign v0.0.0-20190909160543-45766022959e | ||
github.com/julienschmidt/httprouter v1.2.0 | github.com/julienschmidt/httprouter v1.2.0 | ||
github.com/karalabe/usb v0.0.0-20190919080040-51dc0efba356 | github.com/karalabe/usb v0.0.0-20190919080040-51dc0efba356 | ||
github.com/kylelemons/godebug v1.1.0 // indirect | |||
github.com/mattn/go-colorable v0.1.0 | github.com/mattn/go-colorable v0.1.0 | ||
github.com/mattn/go-isatty v0.0.5-0.20180830101745-3fb116b82035 | github.com/mattn/go-isatty v0.0.5-0.20180830101745-3fb116b82035 | ||
github.com/naoina/go-stringutil v0.1.0 // indirect | |||
github.com/naoina/toml v0.1.2-0.20170918210437-9fafd6967416 | github.com/naoina/toml v0.1.2-0.20170918210437-9fafd6967416 | ||
github.com/olekukonko/tablewriter v0.0.5 | github.com/olekukonko/tablewriter v0.0.5 | ||
github.com/peterh/liner v1.1.1-0.20190123174540-a2c9a5303de7 | github.com/peterh/liner v1.1.1-0.20190123174540-a2c9a5303de7 | ||
... | @@ -51,11 +59,12 @@ require ( | ... | @@ -51,11 +59,12 @@ require ( |
github.com/syndtr/goleveldb v1.0.1-0.20210305035536-64b5b1c73954 | github.com/syndtr/goleveldb v1.0.1-0.20210305035536-64b5b1c73954 | ||
github.com/tklauser/go-sysconf v0.3.5 // indirect | github.com/tklauser/go-sysconf v0.3.5 // indirect | ||
github.com/tyler-smith/go-bip39 v1.0.1-0.20181017060643-dbb3b84ba2ef | github.com/tyler-smith/go-bip39 v1.0.1-0.20181017060643-dbb3b84ba2ef | ||
golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 | golang.org/x/crypto v0.0.0-20210322153248-0c34fe9e7dc2 | ||
golang.org/x/sys v0.0.0-20210316164454-77fc1eacc6aa | golang.org/x/sys v0.0.0-20210420205809-ac73e9fd8988 | ||
golang.org/x/text v0.3.4 | golang.org/x/text v0.3.4 | ||
golang.org/x/time v0.0.0-20201208040808-7e3f01d25324 | golang.org/x/time v0.0.0-20201208040808-7e3f01d25324 | ||
gopkg.in/natefinch/npipe.v2 v2.0.0-20160621034901-c1b8fa8bdcce | gopkg.in/natefinch/npipe.v2 v2.0.0-20160621034901-c1b8fa8bdcce | ||
gopkg.in/olebedev/go-duktape.v3 v3.0.0-20200619000410-60c24ae608a6 | gopkg.in/olebedev/go-duktape.v3 v3.0.0-20200619000410-60c24ae608a6 | ||
gopkg.in/urfave/cli.v1 v1.20.0 | gopkg.in/urfave/cli.v1 v1.20.0 | ||
gotest.tools v2.2.0+incompatible // indirect | |||
) | ) |
This diff is collapsed.
tests/fuzzers/bls12381/bls12381_fuzz.go
0 → 100644
File moved
Please register or sign in to comment