Merge remote-tracking branch 'remotes/berrange/tags/qcrypto-next-pull-request' into...
commita4d710251fa5aa9ec26de4626f11c78500195d12
authorPeter Maydell <peter.maydell@linaro.org>
Wed, 24 Oct 2018 21:08:42 +0000 (24 22:08 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Wed, 24 Oct 2018 21:08:42 +0000 (24 22:08 +0100)
tree9069382c4c25523c5ef4425880c0ca97afdb0fa8
parentc96292036a17857d62b8b5d3c8752bac3d6b7193
parent1e0fa32c6c952d2ce9c19d35717c609804dd55d5
Merge remote-tracking branch 'remotes/berrange/tags/qcrypto-next-pull-request' into staging

Improve performance of XTS cipher mode impl

The XTS cipher mode performance is approximately doubled and test
coverage is improved.

# gpg: Signature made Wed 24 Oct 2018 19:05:08 BST
# gpg:                using RSA key BE86EBB415104FDF
# gpg: Good signature from "Daniel P. Berrange <dan@berrange.com>"
# gpg:                 aka "Daniel P. Berrange <berrange@redhat.com>"
# Primary key fingerprint: DAF3 A6FD B26B 6291 2D0E  8E3F BE86 EBB4 1510 4FDF

* remotes/berrange/tags/qcrypto-next-pull-request:
  crypto: add testing for unaligned buffers with XTS cipher mode
  crypto: refactor XTS cipher mode test suite
  crypto: annotate xts_tweak_encdec as inlineable
  crypto: convert xts_mult_x to use xts_uint128 type
  crypto: convert xts_tweak_encdec to use xts_uint128 type
  crypto: introduce a xts_uint128 data type
  crypto: remove code duplication in tweak encrypt/decrypt
  crypto: expand algorithm coverage for cipher benchmark

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>