Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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]>
- Loading branch information