diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2016-05-05 16:42:49 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2016-05-09 16:47:53 +0800 |
commit | df27b26f04ed388ff4cc2b5d8cfdb5d97678816f (patch) | |
tree | b21b9265fbe4911f803a53a2d0f4bb375140ccaf /crypto/sha512_generic.c | |
parent | 58446fef579e5214dc6fffd28cc538051efe1f24 (diff) | |
download | talos-op-linux-df27b26f04ed388ff4cc2b5d8cfdb5d97678816f.tar.gz talos-op-linux-df27b26f04ed388ff4cc2b5d8cfdb5d97678816f.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/sha512_generic.c')
0 files changed, 0 insertions, 0 deletions