X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=app%2Ftest%2Ftest_cryptodev_security_pdcp_test_func.h;h=f3dc93e2f1e22bd099e26be649c68609a130322d;hb=d768f324d6c24eb376e6ce142f54e9cbdce49225;hp=ad1e7c70a7184b3a15232485399b1ad0c19bdab7;hpb=d883e6e7131b50b0cf6f48f2f595ba135ba753a4;p=dpdk.git diff --git a/app/test/test_cryptodev_security_pdcp_test_func.h b/app/test/test_cryptodev_security_pdcp_test_func.h index ad1e7c70a7..f3dc93e2f1 100644 --- a/app/test/test_cryptodev_security_pdcp_test_func.h +++ b/app/test/test_cryptodev_security_pdcp_test_func.h @@ -7,6 +7,7 @@ #define PDCP_CPLANE_OFFSET 0 #define PDCP_CPLANE_LONG_SN_OFFSET 32 +#define PDCP_UPLANE_OFFSET 64 #define LONG_SEQ_NUM_OFFSET 0 #define SHORT_SEQ_NUM_OFFSET 2 #define FIFTEEN_BIT_SEQ_NUM_OFFSET 4 @@ -16,6 +17,9 @@ /* key length(in bytes) for F8 */ #define F8_KEY_LEN 16 +#define PDCP_UPLANE_12BIT_OFFSET (PDCP_UPLANE_OFFSET + 32) +#define PDCP_UPLANE_18BIT_OFFSET (PDCP_UPLANE_12BIT_OFFSET + 32) + enum enc_alg_off { NULL_ENC = 0, SNOW_ENC = 8, @@ -30,7 +34,15 @@ enum auth_alg_off { }; int test_pdcp_proto_cplane_encap(int i); +int test_pdcp_proto_uplane_encap(int i); +int test_pdcp_proto_uplane_encap_with_int(int i); +int test_pdcp_proto_cplane_decap(int i); +int test_pdcp_proto_uplane_decap(int i); +int test_pdcp_proto_uplane_decap_with_int(int i); int test_PDCP_PROTO_cplane_encap_all(void); +int test_PDCP_PROTO_cplane_decap_all(void); +int test_PDCP_PROTO_uplane_encap_all(void); +int test_PDCP_PROTO_uplane_decap_all(void); #endif /* SECURITY_PDCP_TEST_FUNC_H_ */