android_kernel_xiaomi_sm8350/drivers/crypto
Kim Phillips ba95487df9 crypto: talitos - Avoid consecutive packets going out with same IV
The SEC's h/w IV out implementation DMAs the trailing encrypted payload
block of the last encryption to ctx->iv.  Since the last encryption may
still be pending completion, we can sufficiently prevent successive
packets from being transmitted with the same IV by xoring with sequence
number.

Also initialize alg_list earlier to prevent oopsing on a failed probe.

Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Signed-off-by: Lee Nipper <lee.nipper@freescale.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2008-09-14 13:41:19 -07:00
..
geode-aes.c
geode-aes.h
hifn_795x.c [CRYPTO] hifn: Simplify code using ARRAY_SIZE() macro 2008-07-10 20:35:15 +08:00
ixp4xx_crypto.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
Kconfig crypto: ixp4xx - Select CRYPTO_AUTHENC 2008-07-13 20:12:11 +08:00
Makefile crypto: ixp4xx - Hardware crypto support for IXP4xx CPUs 2008-07-10 20:35:16 +08:00
padlock-aes.c crypto: padlock - fix VIA PadLock instruction usage with irq_ts_save/restore() 2008-08-13 22:02:26 +10:00
padlock-sha.c crypto: padlock - fix VIA PadLock instruction usage with irq_ts_save/restore() 2008-08-13 22:02:26 +10:00
padlock.h
talitos.c crypto: talitos - Avoid consecutive packets going out with same IV 2008-09-14 13:41:19 -07:00
talitos.h crypto: talitos - Add support for 3des 2008-07-10 20:35:17 +08:00