diff options
author | Herbert Xu <[email protected]> | 2013-10-30 09:51:45 +0800 |
---|---|---|
committer | Herbert Xu <[email protected]> | 2013-10-30 09:51:45 +0800 |
commit | f3d53ed038944a5e785f04952170f7e239a49ae8 (patch) | |
tree | 199e6e156dae4b50b9b79ec95b3e21ea9737ede5 /scripts/patch-kernel | |
parent | c306a98d637613818c87c19eabf7feba02b5b618 (diff) |
crypto: skcipher - Use eseqiv even on UP machines
Previously we would use eseqiv on all async ciphers in all cases,
and sync ciphers if we have more than one CPU. This meant that
chainiv is only used in the case of sync ciphers on a UP machine.
As chainiv may aid attackers by making the IV predictable, even
though this risk itself is small, the above usage pattern causes
it to further leak information about the host.
This patch addresses these issues by using eseqiv even if we're
on a UP machine.
Signed-off-by: Herbert Xu <[email protected]>
Acked-by: Steffen Klassert <[email protected]>
Acked-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions