test/crypto: add AES-XTS vectors
authorShiri Kuzin <shirik@nvidia.com>
Tue, 20 Jul 2021 13:09:42 +0000 (16:09 +0300)
committerAkhil Goyal <gakhil@marvell.com>
Tue, 20 Jul 2021 20:27:00 +0000 (22:27 +0200)
commitd5728a5a17f84566cb8120b7754af079b0c19fc4
treee9f71927676c78e59b0ce450c19132c0d49c25ce
parent9dfc2d6fdac7a82b7aa55dcd59d41a5d6c3ffca3
test/crypto: add AES-XTS vectors

The AES-XTS algorithm supports using a wrapped key.
In AES-XTS the data-unit defines the data block size to be
encrypted\decrypted.

Add AES-XTS vectors with a wrapped key.
Add a variable stating whether the key is wrapped or not.
Add the AES-XTS data-unit.

Signed-off-by: Shiri Kuzin <shirik@nvidia.com>
Acked-by: Matan Azrad <matan@nvidia.com>
Acked-by: Akhil Goyal <gakhil@marvell.com>
app/test/test_cryptodev_aes_test_vectors.h
app/test/test_cryptodev_blockcipher.c
app/test/test_cryptodev_blockcipher.h