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
ixp4xx_crypto.c
Kconfig
Makefile
padlock-aes.c
padlock-sha.c
padlock.h
talitos.c crypto: talitos - Avoid consecutive packets going out with same IV 2008-09-14 13:41:19 -07:00
talitos.h