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
cipher.c
compress.c
crc32c.c
crypto_null.c
cryptomgr.c
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
gf128mul.c [CRYPTO] lib: table driven multiplications in GF(2^128) 2006-12-06 18:38:55 -08:00
hash.c
hmac.c
internal.h
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
serpent.c
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