crypto: refactor XTS cipher mode test suite
commita61f682fde664467c4b4dd498ea84338598c8cbd
authorDaniel P. Berrangé <berrange@redhat.com>
Mon, 15 Oct 2018 17:03:41 +0000 (15 18:03 +0100)
committerDaniel P. Berrangé <berrange@redhat.com>
Wed, 24 Oct 2018 18:03:37 +0000 (24 19:03 +0100)
treeeb1882e565ec7950b6cfad3dd7033e82e5ec0db3
parentaa895bd439341a8f218d8f1a3d21359ba058c13f
crypto: refactor XTS cipher mode test suite

The current XTS test overloads two different tests in a single function
making the code a little hard to follow. Split it into distinct test
cases.

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