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 | b6f7962939c150255997a490dcdc18db459469d9 (patch) | |
tree | d83f42630721a23e5511a92371c223e30cdf86fe /crypto/lz4hc.c | |
parent | 19b46e529d2dab72c69106a57078463522cc2bf4 (diff) | |
download | linux-crypto-b6f7962939c150255997a490dcdc18db459469d9.tar.gz linux-crypto-b6f7962939c150255997a490dcdc18db459469d9.zip |
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: ebff06f6e2a1 ("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 'crypto/lz4hc.c')
0 files changed, 0 insertions, 0 deletions