paritytech / libsecp256k1

Pure Rust Implementation of secp256k1.
Apache License 2.0
175 stars 84 forks source link

Non-overflowing parse for signatures #67

Closed sorpaas closed 3 years ago

sorpaas commented 3 years ago

This changes the current method to parse_overflowing and parse_overflowing_slice, and a new non-overflowing signature parse function under parse_standard and parse_standard_slice.

sorpaas commented 3 years ago

(Have to fix some issues on #65 before we can merge this!)

t-nelson commented 3 years ago

Are there test vectors available that pass Signature::parse_overflowing_slice(), but fail Signature::parse_standard_slice()?