diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2016-07-03 10:46:11 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2016-07-03 15:44:56 +0800 |
commit | 27710b8ea3defcbd7d340dbd0423d911b4eb7c4f (patch) | |
tree | 02e55d5dac1b26f47137b59ae51bc0fbab69e392 /net | |
parent | 98eca72fa04a9bbf28dba95efaec5aa95588fe23 (diff) | |
download | linux-27710b8ea3defcbd7d340dbd0423d911b4eb7c4f.tar.bz2 |
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>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions