crypto: x86/twofish-3way - Cleanup and optimize asm
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: x86/twofish-3way - Remove unused encode parameterarch/ arch/ arch/ +1 more | +4 | 0 replies | |
| 2/3 | crypto: x86/twofish-3way - Perform cbc xor in assemblyarch/ arch/ arch/ | +45 | 0 replies | |
| 3/3 | crypto: x86/twofish-3way - Remove unused macro argumentarch/ | +12 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] crypto: x86/twofish-3way - Cleanup and optimize asm
1/3 removes the unused xor argument to encode functions. This argument is deadweight and its removal shaves off a both a few cycles per call as well as a small amount of lines.
2/3 moves handling for cbc mode decryption to assembly in order to remove overhead, yielding a ~6% speedup on AMD Zen1.
3/3 makes a minor readability change that doesn't fit well into 2/3.
Peter Lafreniere (3):
crypto: x86/twofish-3way - Remove unused encode parameter
crypto: x86/twofish-3way - Perform cbc xor in assembly
crypto: x86/twofish-3way - Remove unused macro argument
arch/x86/crypto/twofish-x86_64-asm_64-3way.S | 71 ++++++++++++-------- arch/x86/crypto/twofish.h | 19 ++++-- arch/x86/crypto/twofish_avx_glue.c | 5 -- arch/x86/crypto/twofish_glue_3way.c | 22 +----- 4 files changed, 59 insertions(+), 58 deletions(-)
Signature · 1 line
2.39.1