sign: disallow overlong der encodings and zero r or s values
This commit tightens signature validation in a cryptographic library. It now rejects malformed DER-encoded signatures that are longer than allowed, or where one of the signature numbers (R or S) is zero. Previously, the underlying secp256k…
e7894ee6by Jon Griffiths+6−11 file