BlockstreamResearch / secp256k1-zkp

A fork of libsecp256k1 with support for advanced and experimental features such as Confidential Assets and MuSig2
MIT License
365 stars 207 forks source link

bppp: Fix and improve test for invalid sign byte #248

Closed real-or-random closed 1 year ago

real-or-random commented 1 year ago

The test is supposed to create an invalid sign byte. Before this PR, the generated sign byte could in fact be valid due to an overflow.