kernel-fxtec-pro1x/crypto
Herbert Xu 64baf3cfea [CRYPTO]: Added CRYPTO_TFM_REQ_MAY_SLEEP flag
The crypto layer currently uses in_atomic() to determine whether it is
allowed to sleep.  This is incorrect since spin locks don't always cause
in_atomic() to return true.

Instead of that, this patch returns to an earlier idea of a per-tfm flag
which determines whether sleeping is allowed.  Unlike the earlier version,
the default is to not allow sleeping.  This ensures that no existing code
can break.

As usual, this flag may either be set through crypto_alloc_tfm(), or
just before a specific crypto operation.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
2005-09-01 17:43:05 -07:00
..
aes.c [PATCH] clean up inline static vs static inline 2005-07-27 16:26:20 -07:00
anubis.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
api.c [CRYPTO]: Added CRYPTO_TFM_REQ_MAY_SLEEP flag 2005-09-01 17:43:05 -07:00
arc4.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
blowfish.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cast5.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cast6.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cipher.c [CRYPTO]: Added CRYPTO_TFM_REQ_MAY_SLEEP flag 2005-09-01 17:43:05 -07:00
compress.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
crc32c.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
crypto_null.c [PATCH] crypto: fix null encryption/compression 2005-05-17 07:59:18 -07:00
deflate.c [PATCH] crypto: call zlib end functions on deflate exit path 2005-04-16 15:23:58 -07:00
des.c [CRYPTO] Add faster DES code from Dag Arne Osvik 2005-07-06 13:55:44 -07:00
digest.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
hmac.c [CRYPTO] Don't check for NULL before kfree() 2005-07-06 13:51:00 -07:00
internal.h [CRYPTO]: Added CRYPTO_TFM_REQ_MAY_SLEEP flag 2005-09-01 17:43:05 -07:00
Kconfig [CRYPTO]: Fix XTEA implementation 2005-09-01 17:42:46 -07:00
khazad.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
md4.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
md5.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
michael_mic.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
proc.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
scatterwalk.c [CRYPTO] Add plumbing for multi-block operations 2005-07-06 13:51:31 -07:00
scatterwalk.h [CRYPTO] Add alignmask for low-level cipher implementations 2005-07-06 13:52:09 -07:00
serpent.c [CRYPTO] Remove unused iv field from context structure 2005-07-06 13:55:21 -07:00
sha1.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sha256.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sha512.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
tcrypt.c [CRYPTO]: Fix XTEA implementation 2005-09-01 17:42:46 -07:00
tcrypt.h [CRYPTO]: Fix XTEA implementation 2005-09-01 17:42:46 -07:00
tea.c [CRYPTO]: Fix XTEA implementation 2005-09-01 17:42:46 -07:00
tgr192.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
twofish.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
wp512.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00