git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
eal/windows: add missing SPDX license tag
[dpdk.git]
/
drivers
/
crypto
/
octeontx2
/
otx2_security.h
diff --git
a/drivers/crypto/octeontx2/otx2_security.h
b/drivers/crypto/octeontx2/otx2_security.h
index
086b506
..
9f1ba71
100644
(file)
--- a/
drivers/crypto/octeontx2/otx2_security.h
+++ b/
drivers/crypto/octeontx2/otx2_security.h
@@
-5,6
+5,8
@@
#ifndef __OTX2_SECURITY_H__
#define __OTX2_SECURITY_H__
#ifndef __OTX2_SECURITY_H__
#define __OTX2_SECURITY_H__
+#include <rte_security.h>
+
#include "otx2_cryptodev_sec.h"
#include "otx2_ethdev_sec.h"
#include "otx2_cryptodev_sec.h"
#include "otx2_ethdev_sec.h"
@@
-13,6
+15,7
@@
#define OTX2_SEC_AES_GCM_MAC_LEN 16
#define OTX2_SEC_AES_CBC_IV_LEN 16
#define OTX2_SEC_SHA1_HMAC_LEN 12
#define OTX2_SEC_AES_GCM_MAC_LEN 16
#define OTX2_SEC_AES_CBC_IV_LEN 16
#define OTX2_SEC_SHA1_HMAC_LEN 12
+#define OTX2_SEC_SHA2_HMAC_LEN 16
#define OTX2_SEC_AES_GCM_ROUNDUP_BYTE_LEN 4
#define OTX2_SEC_AES_CBC_ROUNDUP_BYTE_LEN 16
#define OTX2_SEC_AES_GCM_ROUNDUP_BYTE_LEN 4
#define OTX2_SEC_AES_CBC_ROUNDUP_BYTE_LEN 16
@@
-20,6
+23,7
@@
union otx2_sec_session_ipsec {
struct otx2_sec_session_ipsec_ip ip;
struct otx2_sec_session_ipsec_lp lp;
union otx2_sec_session_ipsec {
struct otx2_sec_session_ipsec_ip ip;
struct otx2_sec_session_ipsec_lp lp;
+ enum rte_security_ipsec_sa_direction dir;
};
struct otx2_sec_session {
};
struct otx2_sec_session {