X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=app%2Ftest%2Ftest_cryptodev_blockcipher.h;h=dcaa08ae22c9ff6ddec0134a0b82f8abfa188a8d;hb=7df485eb3d56fbe5e6fcd160d33ca971bc3d3572;hp=145d8da07eabb8fef5d89e8e36253c99f6b7e71b;hpb=6356c28642a61156c1c5671746091a8fb0851c64;p=dpdk.git diff --git a/app/test/test_cryptodev_blockcipher.h b/app/test/test_cryptodev_blockcipher.h index 145d8da07e..dcaa08ae22 100644 --- a/app/test/test_cryptodev_blockcipher.h +++ b/app/test/test_cryptodev_blockcipher.h @@ -97,14 +97,14 @@ struct blockcipher_test_data { unsigned int cipher_offset; unsigned int auth_offset; + uint16_t xts_dataunit_len; + bool wrapped_key; }; -int -test_blockcipher_all_tests(struct rte_mempool *mbuf_pool, - struct rte_mempool *op_mpool, - struct rte_mempool *sess_mpool, - struct rte_mempool *sess_priv_mpool, - uint8_t dev_id, - enum blockcipher_test_type test_type); +struct unit_test_suite * +build_blockcipher_test_suite(enum blockcipher_test_type test_type); + +void +free_blockcipher_test_suite(struct unit_test_suite *ts); #endif /* TEST_CRYPTODEV_BLOCKCIPHER_H_ */