crypto: add testing for unaligned buffers with XTS cipher mode
commit1e0fa32c6c952d2ce9c19d35717c609804dd55d5
authorDaniel P. Berrangé <berrange@redhat.com>
Tue, 16 Oct 2018 09:17:12 +0000 (16 10:17 +0100)
committerDaniel P. Berrangé <berrange@redhat.com>
Wed, 24 Oct 2018 18:03:37 +0000 (24 19:03 +0100)
tree9069382c4c25523c5ef4425880c0ca97afdb0fa8
parenta61f682fde664467c4b4dd498ea84338598c8cbd
crypto: add testing for unaligned buffers with XTS cipher mode

Validate that the XTS cipher mode will correctly operate with plain
text, cipher text and IV buffers that are not 64-bit aligned.

Reviewed-by: Alberto Garcia <berto@igalia.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
tests/test-crypto-xts.c