mirror of
https://github.com/phpseclib/phpseclib.git
synced 2025-02-09 15:18:39 +00:00
RFC3447 doesn't require RSA public keys to be power of 2 keys. The actual validation code doesn't work when trying to verify a PSS signature generated with a non power of two key. This small patch adds support for such keys.