android_kernel_xiaomi_sm8350/crypto
Herbert Xu fb469840b8 [CRYPTO] all: Check for usage in hard IRQ context
Using blkcipher/hash crypto operations in hard IRQ context can lead
to random memory corruption due to the reuse of kmap_atomic slots.
Since crypto operations were never meant to be used in hard IRQ
contexts, this patch checks for such usage and returns an error
before kmap_atomic is performed.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2007-02-07 09:20:58 +11:00
..
aes.c
algapi.c
anubis.c
api.c [CRYPTO] api: Remove unused functions 2006-12-06 18:38:54 -08:00
arc4.c
blkcipher.c [CRYPTO] all: Check for usage in hard IRQ context 2007-02-07 09:20:58 +11:00
blowfish.c
cast5.c
cast6.c
cbc.c [CRYPTO] cipher: Added block ciphers for CBC/ECB 2006-09-21 11:44:08 +10:00
cipher.c [CRYPTO] api: Mark parts of cipher interface as deprecated 2006-09-21 11:46:16 +10:00
compress.c
crc32c.c
crypto_null.c
cryptomgr.c WorkStruct: Pass the work_struct pointer instead of context data 2006-11-22 14:55:48 +00:00
deflate.c
des.c
digest.c [CRYPTO] all: Check for usage in hard IRQ context 2007-02-07 09:20:58 +11:00
ecb.c [CRYPTO] cipher: Added block ciphers for CBC/ECB 2006-09-21 11:44:08 +10:00
gf128mul.c [CRYPTO] lib: table driven multiplications in GF(2^128) 2006-12-06 18:38:55 -08:00
hash.c [CRYPTO] digest: Added user API for new hash type 2006-09-21 11:46:17 +10:00
hmac.c [CRYPTO] hmac: Fix error truncation by unlikely() 2006-09-23 16:48:46 -07:00
internal.h [CRYPTO] digest: Remove old HMAC implementation 2006-09-21 11:46:20 +10:00
Kconfig [CRYPTO] lrw: Liskov Rivest Wagner, a tweakable narrow block cipher mode 2006-12-06 18:38:56 -08:00
khazad.c
lrw.c [CRYPTO] lrw: round --> lrw_round 2006-12-06 18:39:00 -08:00
Makefile [CRYPTO] lrw: Liskov Rivest Wagner, a tweakable narrow block cipher mode 2006-12-06 18:38:56 -08:00
md4.c
md5.c
michael_mic.c
proc.c
scatterwalk.c
scatterwalk.h [CRYPTO] digest: Added user API for new hash type 2006-09-21 11:46:17 +10:00
serpent.c [PATCH] serpent: fix endian warnings 2006-10-10 16:15:33 -07:00
sha1.c
sha256.c
sha512.c [CRYPTO] sha512: Fix sha384 block size 2006-12-11 14:34:33 -08:00
tcrypt.c [CRYPTO] tcrypt: LRW test vectors 2006-12-06 18:38:58 -08:00
tcrypt.h [CRYPTO] tcrypt: LRW test vectors 2006-12-06 18:38:58 -08:00
tea.c
tgr192.c
twofish_common.c
twofish.c
wp512.c
xcbc.c [CRYPTO] all: Check for usage in hard IRQ context 2007-02-07 09:20:58 +11:00