crypto: aesni - fix and re-enable "by8" CTR variant
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | crypto: aesni - fix counter overflow handling in "by8" variantarch/ | +15 | 0 replies | |
| 2/3 | crypto: aesni - remove unused defines in "by8" variantarch/ | +0 | 0 replies | |
| 3/3 | Revert "crypto: aesni - disable "by8" AVX CTR optimization"arch/ | +2 | 0 replies |
Reviews trailers per patch
None of the 3 patches has a Reviewed-by or Acked-by.
| Patch | Romain Francoise |
|---|---|
| 1/3 | T-b |
| 2/3 | |
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/3] crypto: aesni - fix and re-enable "by8" CTR variant
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(-)
Signature · 1 line
1.7.10.4