diff options
author | Kim Phillips <kim.phillips@freescale.com> | 2008-09-14 22:41:19 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2008-09-14 22:41:19 +0200 |
commit | ba95487df97f9c45cfdae2a47de56235e7a13dc5 (patch) | |
tree | e8581dd7fb9951f3baf0cb6d687a5bd65644df6d /fs/stack.c | |
parent | Merge master.kernel.org:/home/rmk/linux-2.6-arm (diff) | |
download | linux-ba95487df97f9c45cfdae2a47de56235e7a13dc5.tar.xz linux-ba95487df97f9c45cfdae2a47de56235e7a13dc5.zip |
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>
Diffstat (limited to 'fs/stack.c')
0 files changed, 0 insertions, 0 deletions