android_kernel_xiaomi_sm8350/drivers/crypto
Evgeniy Polyakov a1e6ef2f1e [CRYPTO] hifn: Schedule callback invocation to tasklet.
This patch forces HIFN driver to invoke crypto request callbacks from
tasklet (softirq context) instead of hardirq context, since network
stack expects it to be called from bottom halves.

It is done by simply scheduling callback invocation via dedicated
tasklet. Workqueue solution was dropped because of tooo slow
rescheduling performance (7 times slower than tasklet, for mode details
one can check this link:
http://tservice.net.ru/~s0mbre/blog/devel/other/2007_11_09.html).

Driver passed all AES and DES tests in tcryt.c module.

Signed-off-by: Evgeniy Polyakov <johnpol@2ka.mipt.ru>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2008-01-11 08:16:12 +11:00
..
geode-aes.c [CRYPTO] geode: Add fallback for unsupported modes 2008-01-11 08:16:11 +11:00
geode-aes.h [CRYPTO] geode: Add fallback for unsupported modes 2008-01-11 08:16:11 +11:00
hifn_795x.c [CRYPTO] hifn: Schedule callback invocation to tasklet. 2008-01-11 08:16:12 +11:00
Kconfig [CRYPTO] hifn_795x: Detect weak keys 2008-01-11 08:16:03 +11:00
Makefile [CRYPTO] hifn_795x: HIFN 795x driver 2008-01-11 08:16:01 +11:00
padlock-aes.c [CRYPTO] aes: Move common defines into a header file 2008-01-11 08:16:04 +11:00
padlock-sha.c [CRYPTO] users: Fix up scatterlist conversion errors 2007-10-27 00:52:07 -07:00
padlock.h