The XTS cipher mode is significantly slower than CBC mode. This series approximately doubles the XTS performance which will improve the I/O rate for LUKS disks.
Daniel P. Berrangé (6): crypto: expand algorithm coverage for cipher benchmark crypto: remove code duplication in tweak encrypt/decrypt crypto: introduce a xts_uint128 data type crypto: convert xts_tweak_encdec to use xts_uint128 type crypto: convert xts_mult_x to use xts_uint128 type crypto: annotate xts_tweak_encdec as inlineable crypto/xts.c | 147 ++++++++++++++----------------- tests/benchmark-crypto-cipher.c | 149 +++++++++++++++++++++++++++----- 2 files changed, 191 insertions(+), 105 deletions(-) -- 2.17.1