linux/crypto
Herbert Xu df27b26f04 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>
2016-05-09 16:47:53 +08:00
..
asymmetric_keys Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 2016-03-30 13:28:34 -05:00
async_tx mm/page_ref: add tracepoint to track down page reference manipulation 2016-03-17 15:09:34 -07:00
.gitignore
842.c
ablk_helper.c
ablkcipher.c
aead.c
aes_generic.c
af_alg.c crypto: af_alg - Forbid bind(2) when nokey child sockets are present 2016-01-18 18:16:33 +08:00
ahash.c crypto: hash - Fix page length clamping in hash walk 2016-05-05 14:27:04 +08:00
akcipher.c
algapi.c crypto: api - Add crypto_type_has_alg helper 2016-01-25 22:42:12 +08:00
algboss.c
algif_aead.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2016-01-12 18:57:02 -08:00
algif_hash.c crypto: algif_hash - wait for crypto_ahash_init() to complete 2016-01-30 22:05:15 +08:00
algif_rng.c
algif_skcipher.c crypto: algif_skcipher - Do not set MAY_BACKLOG on the async path 2016-02-06 15:23:55 +08:00
ansi_cprng.c
anubis.c
api.c
arc4.c
authenc.c
authencesn.c
blkcipher.c
blowfish_common.c
blowfish_generic.c
camellia_generic.c
cast5_generic.c
cast6_generic.c
cast_common.c
cbc.c
ccm.c
chacha20_generic.c
chacha20poly1305.c
chainiv.c
cipher.c
cmac.c
compress.c
crc32_generic.c crypto: crc32 - Rename generic implementation 2016-01-30 22:11:22 +08:00
crc32c_generic.c crypto: crc32c - Fix crc32c soft dependency 2016-01-19 15:52:10 +08:00
crct10dif_common.c
crct10dif_generic.c
cryptd.c
crypto_engine.c crypto: engine - Introduce the block request crypto engine framework 2016-02-01 22:27:02 +08:00
crypto_null.c
crypto_user.c crypto: user - lock crypto_alg_list on alg dump 2016-02-06 15:23:55 +08:00
crypto_wq.c
ctr.c
cts.c
deflate.c
des_generic.c
drbg.c crypto: drbg - remove FIPS 140-2 continuous test 2016-01-25 22:42:11 +08:00
ecb.c
echainiv.c
eseqiv.c
fcrypt.c
fips.c
gcm.c
gf128mul.c
ghash-generic.c
hash_info.c
hmac.c
internal.h crypto: api - Add crypto_type_has_alg helper 2016-01-25 22:42:12 +08:00
jitterentropy-kcapi.c
jitterentropy.c
Kconfig crypto: rsa - select crypto mgr dependency 2016-05-05 14:27:05 +08:00
keywrap.c crypto: keywrap - memzero the correct memory 2016-02-01 22:27:05 +08:00
khazad.c
lrw.c
lz4.c
lz4hc.c
lzo.c
Makefile crypto: engine - Introduce the block request crypto engine framework 2016-02-01 22:27:02 +08:00
mcryptd.c crypto: mcryptd - Fix load failure 2016-01-30 22:11:20 +08:00
md4.c
md5.c
memneq.c
michael_mic.c
pcbc.c
pcrypt.c
poly1305_generic.c
proc.c
ripemd.h
rmd128.c
rmd160.c
rmd256.c
rmd320.c
rng.c
rsa_helper.c
rsa-pkcs1pad.c crypto: rsa-pkcs1pad - fix dst len 2016-04-15 22:13:55 +08:00
rsa.c
rsaprivkey.asn1
rsapubkey.asn1
salsa20_generic.c
scatterwalk.c
seed.c
seqiv.c
serpent_generic.c
sha1_generic.c
sha256_generic.c
sha512_generic.c
shash.c Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 2016-03-17 11:22:54 -07:00
skcipher.c crypto: skcipher - Add default key size helper 2016-01-25 22:42:11 +08:00
tcrypt.c crypto: tcrypt - Use ahash 2016-02-06 15:33:08 +08:00
tcrypt.h
tea.c
testmgr.c crypto: testmgr - Use kmalloc memory for RSA input 2016-05-09 16:47:53 +08:00
testmgr.h crypto: compress - remove unused pcomp interface 2016-01-27 20:36:24 +08:00
tgr192.c
twofish_common.c
twofish_generic.c
vmac.c
wp512.c
xcbc.c
xor.c
xts.c crypto: xts - consolidate sanity check for keys 2016-02-17 04:07:51 +08:00