X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=drivers%2Fcrypto%2Focteontx2%2Fotx2_security.h;h=9f1ba71b46ce20229378c3b96c3b6a200f9b446e;hb=e863fe3a13da89787fdf3b5c590101a3c0f10af6;hp=086b506047ddd6b5ad88efcc9dce76510a8416f6;hpb=465f7e5804fa2ddc50a8d5239b78e2cb2e8fbd6a;p=dpdk.git diff --git a/drivers/crypto/octeontx2/otx2_security.h b/drivers/crypto/octeontx2/otx2_security.h index 086b506047..9f1ba71b46 100644 --- 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__ +#include + #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_SHA2_HMAC_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; + enum rte_security_ipsec_sa_direction dir; }; struct otx2_sec_session {