android_kernel_xiaomi_sm8350/drivers/crypto
Sebastian Siewior 1f4e477376 [CRYPTO] geode: relax in busy loop and care about return value
The code waits in a busy loop until the hardware finishes the encryption
or decryption process. This wants a cpu_relax() :)
The busy loop finishes either if the encryption is done or if the counter
is zero. If the latter is true than the hardware failed. Since this
should not happen, leave sith a BUG().

Signed-off-by: Sebastian Siewior <sebastian@breakpoint.cc>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2008-01-11 08:16:05 +11:00
..
geode-aes.c [CRYPTO] geode: relax in busy loop and care about return value 2008-01-11 08:16:05 +11:00
geode-aes.h
hifn_795x.c [CRYPTO] hifn_795x: Detect weak keys 2008-01-11 08:16:03 +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