Mathias Krause
2014-09-28 20:23:58 UTC
This series fixes the counter overflow handling of the "by8" CTR variant
which lead to failing cryptomgr tests and, in turn, disabling this
optimization with commit 7da4b29d496b.
Patch 1 fixes the bug, patch 2 removes some unused defines (left overs
from the unification of the initial source files) and patch 3 re-enables
the code.
The fix was tested by me, doing tcrypt and dm-crypt tests. It was also
tested by Romain who initially reported the issue.
The patches should go on top of crypto-2.6.git.
In case this doesn't get merged for v3.17, patches 1 and 3 may be cc'ed
to stable to propagate the fix.
Please apply!
Thanks,
Mathias
Mathias Krause (3):
crypto: aesni - fix counter overflow handling in "by8" variant
crypto: aesni - remove unused defines in "by8" variant
Revert "crypto: aesni - disable "by8" AVX CTR optimization"
arch/x86/crypto/aes_ctrby8_avx-x86_64.S | 20 +++++++++++++++-----
arch/x86/crypto/aesni-intel_glue.c | 4 ++--
2 files changed, 17 insertions(+), 7 deletions(-)
which lead to failing cryptomgr tests and, in turn, disabling this
optimization with commit 7da4b29d496b.
Patch 1 fixes the bug, patch 2 removes some unused defines (left overs
from the unification of the initial source files) and patch 3 re-enables
the code.
The fix was tested by me, doing tcrypt and dm-crypt tests. It was also
tested by Romain who initially reported the issue.
The patches should go on top of crypto-2.6.git.
In case this doesn't get merged for v3.17, patches 1 and 3 may be cc'ed
to stable to propagate the fix.
Please apply!
Thanks,
Mathias
Mathias Krause (3):
crypto: aesni - fix counter overflow handling in "by8" variant
crypto: aesni - remove unused defines in "by8" variant
Revert "crypto: aesni - disable "by8" AVX CTR optimization"
arch/x86/crypto/aes_ctrby8_avx-x86_64.S | 20 +++++++++++++++-----
arch/x86/crypto/aesni-intel_glue.c | 4 ++--
2 files changed, 17 insertions(+), 7 deletions(-)
--
1.7.10.4
1.7.10.4