test/crypto: fix auth-cipher compare length in OOP
[dpdk.git] / app / test / test_cryptodev.h
index c581263..bf4f6c8 100644 (file)
 #define CRYPTODEV_NAME_NITROX_PMD      crypto_nitrox_sym
 #define CRYPTODEV_NAME_BCMFS_PMD       crypto_bcmfs
 
+enum cryptodev_api_test_type {
+       CRYPTODEV_API_TEST = 0,
+       CRYPTODEV_RAW_API_TEST
+};
+
+extern enum cryptodev_api_test_type global_api_test_type;
+
 /**
  * Write (spread) data from buffer to mbuf data
  *
@@ -210,4 +217,9 @@ fail:
        return NULL;
 }
 
+void
+process_sym_raw_dp_op(uint8_t dev_id, uint16_t qp_id,
+               struct rte_crypto_op *op, uint8_t is_cipher, uint8_t is_auth,
+               uint8_t len_in_bits, uint8_t cipher_iv_len);
+
 #endif /* TEST_CRYPTODEV_H_ */