btcec/schnorr: reject s >= group order in ParseSignature
This commit fixes a bug in how btcd parses Schnorr (BIP-340) digital signatures. The code was supposed to reject signatures whose 's' number was larger than the allowed group order, but instead it silently wrapped the value around (modulo …
83d081a5by Lrifton92+42−12 files