apache / incubator-milagro-crypto-rust

Apache Milagro Crypto Library - Rust Version
https://milagro.apache.org/
Apache License 2.0
31 stars 19 forks source link

Fuzz BLS381 Serialization #36

Closed kirk-baird closed 4 years ago

kirk-baird commented 4 years ago

What has been done

Fuzz targets for BLS12-381 serialisation have been added to ensure there are no panics in the serialization functions.

Fuzzers can be run as follows (e.g. for bls381_deserialize_g1)

cargo fuzz run bls381_deserialize_g1

Note it must be run in nightly (rustup default nightly).