diff options
author | Sebastian Siewior <[email protected]> | 2008-03-06 18:56:19 +0800 |
---|---|---|
committer | Herbert Xu <[email protected]> | 2008-03-06 18:56:19 +0800 |
commit | 6212f2c7f70c591efb0d9f3d50ad29112392fee2 (patch) | |
tree | bfd2394ae9e7e930e704357d6a9ff307cf10b6cb /net/unix/sysctl_net_unix.c | |
parent | bc97f19dc8be1f181f33b4368542c72498f3562a (diff) |
[CRYPTO] xts: Use proper alignment
The XTS blockmode uses a copy of the IV which is saved on the stack
and may or may not be properly aligned. If it is not, it will break
hardware cipher like the geode or padlock.
This patch encrypts the IV in place so we don't have to worry about
alignment.
Signed-off-by: Sebastian Siewior <[email protected]>
Tested-by: Stefan Hellermann <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions