commit | 27710b8ea3defcbd7d340dbd0423d911b4eb7c4f | [log] [tgz] |
---|---|---|
author | Herbert Xu <herbert@gondor.apana.org.au> | Sun Jul 03 10:46:11 2016 +0800 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Sun Jul 03 15:44:56 2016 +0800 |
tree | 02e55d5dac1b26f47137b59ae51bc0fbab69e392 | |
parent | 98eca72fa04a9bbf28dba95efaec5aa95588fe23 [diff] |
crypto: rsa-pkcs1pad - Fix regression from leading zeros As the software RSA implementation now produces fixed-length output, we need to eliminate leading zeros in the calling code instead. This patch does just that for pkcs1pad signature verification. Fixes: 9b45b7bba3d2 ("crypto: rsa - Generate fixed-length output") Reported-by: Stephan Mueller <smueller@chronox.de> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>