summaryrefslogtreecommitdiff
path: root/crypto/cast_common.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2016-05-05 16:42:49 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2016-05-09 16:47:53 +0800
commit96cc170eee6b90edc4c86dbcfdfd3cd693f33337 (patch)
treeca9eab0c383496a78e138062e49fc57a45176d5f /crypto/cast_common.c
parent7a570da2389c01f3270c10d84ccb664c0f87bde7 (diff)
downloadlinux-crypto-96cc170eee6b90edc4c86dbcfdfd3cd693f33337.tar.gz
linux-crypto-96cc170eee6b90edc4c86dbcfdfd3cd693f33337.zip
crypto: testmgr - Use kmalloc memory for RSA input
As akcipher uses an SG interface, you must not use vmalloc memory as input for it. This patch fixes testmgr to copy the vmalloc test vectors to kmalloc memory before running the test. This patch also removes a superfluous sg_virt call in do_test_rsa. Cc: <stable@vger.kernel.org> Reported-by: Anatoly Pugachev <matorola@gmail.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/cast_common.c')
0 files changed, 0 insertions, 0 deletions