original_kernel/crypto
Dan Williams eb0645a8b1 async_tx: fix kmap_atomic usage in async_memcpy
Andrew Morton:
	[async_memcpy] is very wrong if both ASYNC_TX_KMAP_DST and
	ASYNC_TX_KMAP_SRC can ever be set.  We'll end up using the same kmap
	slot for both src add dest and we get either corrupted data or a BUG.

Evgeniy Polyakov:
	Btw, shouldn't it always be kmap_atomic() even if flag is not set.
	That pages are usual one returned by alloc_page().

So fix the usage of kmap_atomic and kill the ASYNC_TX_KMAP_DST and
ASYNC_TX_KMAP_SRC flags.

Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Evgeniy Polyakov <johnpol@2ka.mipt.ru>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-07-20 08:44:19 -07:00
..
async_tx async_tx: fix kmap_atomic usage in async_memcpy 2007-07-20 08:44:19 -07:00
Kconfig Merge master.kernel.org:/pub/scm/linux/kernel/git/herbert/crypto-2.6 2007-07-14 23:47:04 -07:00
Makefile async_tx: add the async_tx api 2007-07-13 08:06:14 -07:00
ablkcipher.c [CRYPTO] api: Allow ablkcipher with no queues 2007-07-11 20:58:55 +08:00
aes.c
algapi.c [CRYPTO] api: Wake up all waiters when larval completes 2007-07-11 20:58:53 +08:00
anubis.c
api.c [CRYPTO] api: Wake up all waiters when larval completes 2007-07-11 20:58:53 +08:00
arc4.c
blkcipher.c [CRYPTO] api: Handle unaligned keys in setkey 2007-07-11 20:58:54 +08:00
blowfish.c
camellia.c
cast5.c
cast6.c
cbc.c [CRYPTO] templates: Pass type/mask when creating instances 2007-05-02 14:38:31 +10:00
cipher.c [CRYPTO] api: Handle unaligned keys in setkey 2007-07-11 20:58:54 +08:00
compress.c
crc32c.c
cryptd.c [CRYPTO] cryptd: Fix problem with cryptd and the freezer 2007-05-31 18:10:22 +10:00
crypto_null.c
cryptomgr.c [CRYPTO] cryptomgr: Fix use after free 2007-05-09 13:04:39 +10:00
deflate.c
des.c
digest.c
ecb.c [CRYPTO] templates: Pass type/mask when creating instances 2007-05-02 14:38:31 +10:00
fcrypt.c
gf128mul.c
hash.c [CRYPTO] api: Handle unaligned keys in setkey 2007-07-11 20:58:54 +08:00
hmac.c [CRYPTO] templates: Pass type/mask when creating instances 2007-05-02 14:38:31 +10:00
internal.h
khazad.c
lrw.c [CRYPTO] templates: Pass type/mask when creating instances 2007-05-02 14:38:31 +10:00
md4.c
md5.c
michael_mic.c [PATCH] Update my email address from jkmaline@cc.hut.fi to j@w1.fi 2007-04-28 11:01:01 -04:00
pcbc.c [CRYPTO] templates: Pass type/mask when creating instances 2007-05-02 14:38:31 +10:00
proc.c Make crypto API use seq_list_xxx helpers 2007-07-16 09:05:42 -07:00
scatterwalk.c [CRYPTO] api: Flush the current page right than the next 2007-03-31 12:58:20 +10:00
scatterwalk.h
serpent.c
sha1.c
sha256.c
sha512.c
tcrypt.c [CRYPTO] tcrypt: Add missing error check 2007-05-18 16:25:19 +10:00
tcrypt.h [CRYPTO] camellia: added the testing code of Camellia cipher 2007-02-07 09:21:04 +11:00
tea.c
tgr192.c
twofish.c
twofish_common.c
wp512.c
xcbc.c [CRYPTO] templates: Pass type/mask when creating instances 2007-05-02 14:38:31 +10:00
xor.c async_tx: add the async_tx api 2007-07-13 08:06:14 -07:00