cloudflare / circl

CIRCL: Cloudflare Interoperable Reusable Cryptographic Library
http://blog.cloudflare.com/introducing-circl
Other
1.23k stars 136 forks source link

tss/rsa: Fixes RSA signature size. #395

Closed armfazh closed 1 year ago

armfazh commented 1 year ago

As per RFC 8017 Section 8.2.2

If the length of the signature S is not k octets (where k is the length in octets of the RSA modulus n), output "invalid signature" and stop.