crate-crypto / go-ipa

A Go implementation of cryptographic primitives for Verkle Trees
https://verkle.dev
Apache License 2.0
32 stars 14 forks source link

Fuzz point deserialization #60

Closed jsign closed 1 year ago

jsign commented 1 year ago

This PR adds fuzz tests to our point deserialization. I've run the fuzzers for a while and found (and fixed) three bugs: one panic, and two inconsistencies.

I'll dive into the reasons and fixes in the PR comments.

Note: I'll leave running the fuzzing at night for some days; for now mostly ran those for 30m.