summaryrefslogtreecommitdiff
path: root/crypto/cipher.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2016-09-22 17:04:57 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2016-09-22 17:42:08 +0800
commit38d20e9265b6677dd840e4ba4ef012a0044948a2 (patch)
treef7c6e2d2a2625cdff1a8a16cc5f2f5552df18444 /crypto/cipher.c
parent75a24f73056f9df737360419997e16846f76955d (diff)
downloadlinux-crypto-38d20e9265b6677dd840e4ba4ef012a0044948a2.tar.gz
linux-crypto-38d20e9265b6677dd840e4ba4ef012a0044948a2.zip
crypto: rsa-pkcs1pad - Handle leading zero for decryption
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 decryption while signature verification was fixed in an earlier patch. Fixes: ebff06f6e2a1 ("crypto: rsa - Generate fixed-length output") Reported-by: Mat Martineau <mathew.j.martineau@linux.intel.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/cipher.c')
0 files changed, 0 insertions, 0 deletions