]> git.droids-corp.org - dpdk.git/blobdiff - drivers/crypto/octeontx2/otx2_cryptodev_sec.h
crypto/octeontx2: register security operations
[dpdk.git] / drivers / crypto / octeontx2 / otx2_cryptodev_sec.h
index 253f62d873ec086269c6f4a5698f5150d1f30349..b989251e7157d365dbb02a4d04100b7c979204b1 100644 (file)
@@ -5,6 +5,8 @@
 #ifndef __OTX2_CRYPTODEV_SEC_H__
 #define __OTX2_CRYPTODEV_SEC_H__
 
+#include <rte_cryptodev.h>
+
 #include "otx2_ipsec_po.h"
 
 struct otx2_sec_session_ipsec_lp {
@@ -55,4 +57,8 @@ struct otx2_sec_session_ipsec_lp {
        uint8_t auth_iv_length;
 };
 
+int otx2_crypto_sec_ctx_create(struct rte_cryptodev *crypto_dev);
+
+void otx2_crypto_sec_ctx_destroy(struct rte_cryptodev *crypto_dev);
+
 #endif /* __OTX2_CRYPTODEV_SEC_H__ */