summaryrefslogtreecommitdiffstats
path: root/crypto/ghash-generic.c
diff options
context:
space:
mode:
authorHerbert Xu2016-09-22 11:04:57 +0200
committerHerbert Xu2016-09-22 11:42:08 +0200
commit0cf43f509f72128196e23f5ade7e512a72152cc6 (patch)
tree093421f3aa73817b2d0f46fcd06cd9c56c849c94 /crypto/ghash-generic.c
parentKEYS: Fix skcipher IV clobbering (diff)
downloadkernel-qcow2-linux-0cf43f509f72128196e23f5ade7e512a72152cc6.tar.gz
kernel-qcow2-linux-0cf43f509f72128196e23f5ade7e512a72152cc6.tar.xz
kernel-qcow2-linux-0cf43f509f72128196e23f5ade7e512a72152cc6.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: 9b45b7bba3d2 ("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/ghash-generic.c')
0 files changed, 0 insertions, 0 deletions