1 /* SPDX-License-Identifier: BSD-3-Clause
5 #ifndef SECURITY_PDCP_TEST_FUNC_H_
6 #define SECURITY_PDCP_TEST_FUNC_H_
8 #define PDCP_CPLANE_OFFSET 0
9 #define PDCP_CPLANE_LONG_SN_OFFSET 32
10 #define PDCP_UPLANE_OFFSET 64
11 #define LONG_SEQ_NUM_OFFSET 0
12 #define SHORT_SEQ_NUM_OFFSET 2
13 #define FIFTEEN_BIT_SEQ_NUM_OFFSET 4
14 #define EIGHTEEN_BIT_SEQ_NUM_OFFSET 6
17 /* key length(in bytes) for F8 */
20 #define PDCP_UPLANE_12BIT_OFFSET (PDCP_UPLANE_OFFSET + 32)
21 #define PDCP_UPLANE_18BIT_OFFSET (PDCP_UPLANE_12BIT_OFFSET + 32)
36 int test_pdcp_proto_cplane_encap(int i);
37 int test_pdcp_proto_uplane_encap(int i);
38 int test_pdcp_proto_uplane_encap_with_int(int i);
39 int test_pdcp_proto_cplane_decap(int i);
40 int test_pdcp_proto_uplane_decap(int i);
41 int test_pdcp_proto_uplane_decap_with_int(int i);
43 int test_PDCP_PROTO_cplane_encap_all(void);
44 int test_PDCP_PROTO_cplane_decap_all(void);
45 int test_PDCP_PROTO_uplane_encap_all(void);
46 int test_PDCP_PROTO_uplane_decap_all(void);
48 #endif /* SECURITY_PDCP_TEST_FUNC_H_ */