Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Signed-off-by: Lee Nipper <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
- Loading branch information