net/sfc: support API to negotiate delivery of Rx metadata
[dpdk.git] / app / test / test_cryptodev_aes_test_vectors.h
index dd7ffde..a797af1 100644 (file)
@@ -4687,6 +4687,70 @@ static const struct blockcipher_test_case aes_cipheronly_test_cases[] = {
                .test_data = &aes_test_data_xts_wrapped_key_48_pt_4096_du_0,
                .op_mask = BLOCKCIPHER_TEST_OP_DECRYPT,
        },
+       {
+               .test_descr = "AES-256-XTS Encryption (512-byte plaintext"
+                             " Dataunit 512) Scater gather OOP",
+               .test_data = &aes_test_data_xts_wrapped_key_48_pt_512_du_512,
+               .op_mask = BLOCKCIPHER_TEST_OP_ENCRYPT,
+               .feature_mask = BLOCKCIPHER_TEST_FEATURE_OOP |
+                               BLOCKCIPHER_TEST_FEATURE_SG,
+       },
+       {
+               .test_descr = "AES-256-XTS Decryption (512-byte plaintext"
+                             " Dataunit 512) Scater gather OOP",
+               .test_data = &aes_test_data_xts_wrapped_key_48_pt_512_du_512,
+               .op_mask = BLOCKCIPHER_TEST_OP_DECRYPT,
+               .feature_mask = BLOCKCIPHER_TEST_FEATURE_OOP |
+                               BLOCKCIPHER_TEST_FEATURE_SG,
+       },
+       {
+               .test_descr = "AES-256-XTS Encryption (512-byte plaintext"
+                             " Dataunit 0) Scater gather OOP",
+               .test_data = &aes_test_data_xts_wrapped_key_48_pt_512_du_0,
+               .op_mask = BLOCKCIPHER_TEST_OP_ENCRYPT,
+               .feature_mask = BLOCKCIPHER_TEST_FEATURE_OOP |
+                               BLOCKCIPHER_TEST_FEATURE_SG,
+       },
+       {
+               .test_descr = "AES-256-XTS Decryption (512-byte plaintext"
+                             " Dataunit 0) Scater gather OOP",
+               .test_data = &aes_test_data_xts_wrapped_key_48_pt_512_du_0,
+               .op_mask = BLOCKCIPHER_TEST_OP_DECRYPT,
+               .feature_mask = BLOCKCIPHER_TEST_FEATURE_OOP |
+                               BLOCKCIPHER_TEST_FEATURE_SG,
+       },
+       {
+               .test_descr = "AES-256-XTS Encryption (4096-byte plaintext"
+                             " Dataunit 4096) Scater gather OOP",
+               .test_data = &aes_test_data_xts_wrapped_key_48_pt_4096_du_4096,
+               .op_mask = BLOCKCIPHER_TEST_OP_ENCRYPT,
+               .feature_mask = BLOCKCIPHER_TEST_FEATURE_OOP |
+                               BLOCKCIPHER_TEST_FEATURE_SG,
+       },
+       {
+               .test_descr = "AES-256-XTS Decryption (4096-byte plaintext"
+                             " Dataunit 4096) Scater gather OOP",
+               .test_data = &aes_test_data_xts_wrapped_key_48_pt_4096_du_4096,
+               .op_mask = BLOCKCIPHER_TEST_OP_DECRYPT,
+               .feature_mask = BLOCKCIPHER_TEST_FEATURE_OOP |
+                               BLOCKCIPHER_TEST_FEATURE_SG,
+       },
+       {
+               .test_descr = "AES-256-XTS Encryption (4096-byte plaintext"
+                             " Dataunit 0) Scater gather OOP",
+               .test_data = &aes_test_data_xts_wrapped_key_48_pt_4096_du_0,
+               .op_mask = BLOCKCIPHER_TEST_OP_ENCRYPT,
+               .feature_mask = BLOCKCIPHER_TEST_FEATURE_OOP |
+                               BLOCKCIPHER_TEST_FEATURE_SG,
+       },
+       {
+               .test_descr = "AES-256-XTS Decryption (4096-byte plaintext"
+                             " Dataunit 0) Scater gather OOP",
+               .test_data = &aes_test_data_xts_wrapped_key_48_pt_4096_du_0,
+               .op_mask = BLOCKCIPHER_TEST_OP_DECRYPT,
+               .feature_mask = BLOCKCIPHER_TEST_FEATURE_OOP |
+                               BLOCKCIPHER_TEST_FEATURE_SG,
+       },
        {
                .test_descr = "cipher-only - NULL algo - x8 - encryption",
                .test_data = &null_test_data_chain_x8_multiple,