From: Akhil Goyal Date: Mon, 30 Sep 2019 19:27:40 +0000 (+0530) Subject: test/crypto: add PDCP C-Plane encap cases X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=d883e6e7131b50b0cf6f48f2f595ba135ba753a4;p=dpdk.git test/crypto: add PDCP C-Plane encap cases PDCP control plane can support 5 bit and 12 bit sequence number. This patch add test cases and test vectors for all supported algo combinations of cipher+integrity (NULL+NULL, NULL+AES, NULL+SNOW, NULL+ZUC, AES+NULL, AES+SNOW, AES+AES, AES+ZUC, SNOW+NULL, SNOW+AES, SNOW+SNOW, SNOW+ZUC, ZUC+NULL, ZUC+AES, ZUC+SNOW, ZUC+ZUC). The test cases are added in DPAA_SEC and DPAA2_SEC test suite as a reference. Signed-off-by: Akhil Goyal Signed-off-by: Vakul Garg Signed-off-by: Hemant Agrawal Acked-by: Nipun Gupta --- diff --git a/app/test/Makefile b/app/test/Makefile index 26ba6fe2bd..df7f77f44d 100644 --- a/app/test/Makefile +++ b/app/test/Makefile @@ -196,6 +196,7 @@ SRCS-$(CONFIG_RTE_LIBRTE_PMD_RING) += test_pmd_ring_perf.c SRCS-$(CONFIG_RTE_LIBRTE_CRYPTODEV) += test_cryptodev_blockcipher.c SRCS-$(CONFIG_RTE_LIBRTE_CRYPTODEV) += test_cryptodev.c SRCS-$(CONFIG_RTE_LIBRTE_CRYPTODEV) += test_cryptodev_asym.c +SRCS-$(CONFIG_RTE_LIBRTE_SECURITY) += test_cryptodev_security_pdcp.c SRCS-$(CONFIG_RTE_LIBRTE_METRICS) += test_metrics.c diff --git a/app/test/meson.build b/app/test/meson.build index ec40943bd6..2c23c6347b 100644 --- a/app/test/meson.build +++ b/app/test/meson.build @@ -30,6 +30,7 @@ test_sources = files('commands.c', 'test_cryptodev.c', 'test_cryptodev_asym.c', 'test_cryptodev_blockcipher.c', + 'test_cryptodev_security_pdcp.c', 'test_cycles.c', 'test_debug.c', 'test_distributor.c', diff --git a/app/test/test_cryptodev.c b/app/test/test_cryptodev.c index 9a226bd15b..35fe16aaaa 100644 --- a/app/test/test_cryptodev.c +++ b/app/test/test_cryptodev.c @@ -38,6 +38,10 @@ #include "test_cryptodev_zuc_test_vectors.h" #include "test_cryptodev_aead_test_vectors.h" #include "test_cryptodev_hmac_test_vectors.h" +#ifdef RTE_LIBRTE_SECURITY +#include "test_cryptodev_security_pdcp_test_vectors.h" +#include "test_cryptodev_security_pdcp_test_func.h" +#endif #define VDEV_ARGS_SIZE 100 #define MAX_NB_SESSIONS 4 @@ -65,8 +69,11 @@ struct crypto_unittest_params { struct rte_crypto_sym_xform auth_xform; struct rte_crypto_sym_xform aead_xform; - struct rte_cryptodev_sym_session *sess; - + union { + struct rte_cryptodev_sym_session *sess; + struct rte_security_session *sec_session; + }; + enum rte_security_session_action_type type; struct rte_crypto_op *op; struct rte_mbuf *obuf, *ibuf; @@ -566,11 +573,21 @@ ut_teardown(void) struct rte_cryptodev_stats stats; /* free crypto session structure */ - if (ut_params->sess) { - rte_cryptodev_sym_session_clear(ts_params->valid_devs[0], - ut_params->sess); - rte_cryptodev_sym_session_free(ut_params->sess); - ut_params->sess = NULL; + if (ut_params->type == RTE_SECURITY_ACTION_TYPE_LOOKASIDE_PROTOCOL) { + if (ut_params->sec_session) { + rte_security_session_destroy(rte_cryptodev_get_sec_ctx + (ts_params->valid_devs[0]), + ut_params->sec_session); + ut_params->sec_session = NULL; + } + } else { + if (ut_params->sess) { + rte_cryptodev_sym_session_clear( + ts_params->valid_devs[0], + ut_params->sess); + rte_cryptodev_sym_session_free(ut_params->sess); + ut_params->sess = NULL; + } } /* free crypto operation structure */ @@ -7021,6 +7038,185 @@ test_authenticated_encryption(const struct aead_test_data *tdata) } +#ifdef RTE_LIBRTE_SECURITY +/* Basic algorithm run function for async inplace mode. + * Creates a session from input parameters and runs one operation + * on input_vec. Checks the output of the crypto operation against + * output_vec. + */ +static int +test_pdcp_proto(int i, int oop, + enum rte_crypto_cipher_operation opc, + enum rte_crypto_auth_operation opa, + uint8_t *input_vec, + unsigned int input_vec_len, + uint8_t *output_vec, + unsigned int output_vec_len) +{ + struct crypto_testsuite_params *ts_params = &testsuite_params; + struct crypto_unittest_params *ut_params = &unittest_params; + uint8_t *plaintext; + int ret = TEST_SUCCESS; + + /* Generate test mbuf data */ + ut_params->ibuf = rte_pktmbuf_alloc(ts_params->mbuf_pool); + + /* clear mbuf payload */ + memset(rte_pktmbuf_mtod(ut_params->ibuf, uint8_t *), 0, + rte_pktmbuf_tailroom(ut_params->ibuf)); + + plaintext = (uint8_t *)rte_pktmbuf_append(ut_params->ibuf, + input_vec_len); + memcpy(plaintext, input_vec, input_vec_len); + + /* Out of place support */ + if (oop) { + /* + * For out-op-place we need to alloc another mbuf + */ + ut_params->obuf = rte_pktmbuf_alloc(ts_params->mbuf_pool); + rte_pktmbuf_append(ut_params->obuf, output_vec_len); + } + + /* Set crypto type as IPSEC */ + ut_params->type = RTE_SECURITY_ACTION_TYPE_LOOKASIDE_PROTOCOL; + + /* Setup Cipher Parameters */ + ut_params->cipher_xform.type = RTE_CRYPTO_SYM_XFORM_CIPHER; + ut_params->cipher_xform.cipher.algo = pdcp_test_params[i].cipher_alg; + ut_params->cipher_xform.cipher.op = opc; + ut_params->cipher_xform.cipher.key.data = pdcp_test_crypto_key[i]; + ut_params->cipher_xform.cipher.key.length = + pdcp_test_params[i].cipher_key_len; + ut_params->cipher_xform.cipher.iv.length = 0; + + /* Setup HMAC Parameters if ICV header is required */ + if (pdcp_test_params[i].auth_alg != 0) { + ut_params->auth_xform.type = RTE_CRYPTO_SYM_XFORM_AUTH; + ut_params->auth_xform.next = NULL; + ut_params->auth_xform.auth.algo = pdcp_test_params[i].auth_alg; + ut_params->auth_xform.auth.op = opa; + ut_params->auth_xform.auth.key.data = pdcp_test_auth_key[i]; + ut_params->auth_xform.auth.key.length = + pdcp_test_params[i].auth_key_len; + + ut_params->cipher_xform.next = &ut_params->auth_xform; + } else { + ut_params->cipher_xform.next = NULL; + } + + struct rte_security_session_conf sess_conf = { + .action_type = RTE_SECURITY_ACTION_TYPE_LOOKASIDE_PROTOCOL, + .protocol = RTE_SECURITY_PROTOCOL_PDCP, + {.pdcp = { + .bearer = pdcp_test_bearer[i], + .domain = pdcp_test_params[i].domain, + .pkt_dir = pdcp_test_packet_direction[i], + .sn_size = pdcp_test_data_sn_size[i], + .hfn = pdcp_test_hfn[i], + .hfn_threshold = pdcp_test_hfn_threshold[i], + } }, + .crypto_xform = &ut_params->cipher_xform + }; + + struct rte_security_ctx *ctx = (struct rte_security_ctx *) + rte_cryptodev_get_sec_ctx( + ts_params->valid_devs[0]); + + /* Create security session */ + ut_params->sec_session = rte_security_session_create(ctx, + &sess_conf, ts_params->session_mpool); + + if (!ut_params->sec_session) { + printf("TestCase %s()-%d line %d failed %s: ", + __func__, i, __LINE__, "Failed to allocate session"); + ret = TEST_FAILED; + goto on_err; + } + + /* Generate crypto op data structure */ + ut_params->op = rte_crypto_op_alloc(ts_params->op_mpool, + RTE_CRYPTO_OP_TYPE_SYMMETRIC); + if (!ut_params->op) { + printf("TestCase %s()-%d line %d failed %s: ", + __func__, i, __LINE__, + "Failed to allocate symmetric crypto operation struct"); + ret = TEST_FAILED; + goto on_err; + } + + rte_security_attach_session(ut_params->op, ut_params->sec_session); + + /* set crypto operation source mbuf */ + ut_params->op->sym->m_src = ut_params->ibuf; + if (oop) + ut_params->op->sym->m_dst = ut_params->obuf; + + /* Process crypto operation */ + if (process_crypto_request(ts_params->valid_devs[0], ut_params->op) + == NULL) { + printf("TestCase %s()-%d line %d failed %s: ", + __func__, i, __LINE__, + "failed to process sym crypto op"); + ret = TEST_FAILED; + goto on_err; + } + + if (ut_params->op->status != RTE_CRYPTO_OP_STATUS_SUCCESS) { + printf("TestCase %s()-%d line %d failed %s: ", + __func__, i, __LINE__, "crypto op processing failed"); + ret = TEST_FAILED; + goto on_err; + } + + /* Validate obuf */ + uint8_t *ciphertext = rte_pktmbuf_mtod(ut_params->op->sym->m_src, + uint8_t *); + if (oop) { + ciphertext = rte_pktmbuf_mtod(ut_params->op->sym->m_dst, + uint8_t *); + } + + if (memcmp(ciphertext, output_vec, output_vec_len)) { + printf("\n=======PDCP TestCase #%d failed: Data Mismatch ", i); + rte_hexdump(stdout, "encrypted", ciphertext, output_vec_len); + rte_hexdump(stdout, "reference", output_vec, output_vec_len); + ret = TEST_FAILED; + goto on_err; + } + +on_err: + rte_crypto_op_free(ut_params->op); + ut_params->op = NULL; + + if (ut_params->sec_session) + rte_security_session_destroy(ctx, ut_params->sec_session); + ut_params->sec_session = NULL; + + rte_pktmbuf_free(ut_params->ibuf); + ut_params->ibuf = NULL; + if (oop) { + rte_pktmbuf_free(ut_params->obuf); + ut_params->obuf = NULL; + } + + return ret; +} + +int +test_pdcp_proto_cplane_encap(int i) +{ + return test_pdcp_proto(i, 0, + RTE_CRYPTO_CIPHER_OP_ENCRYPT, + RTE_CRYPTO_AUTH_OP_GENERATE, + pdcp_test_data_in[i], + pdcp_test_data_in_len[i], + pdcp_test_data_out[i], + pdcp_test_data_in_len[i]+4); +} + +#endif + static int test_AES_GCM_authenticated_encryption_test_case_1(void) { @@ -11433,6 +11629,10 @@ static struct unit_test_suite cryptodev_dpaa_sec_testsuite = { TEST_CASE_ST(ut_setup, ut_teardown, test_authonly_dpaa_sec_all), +#ifdef RTE_LIBRTE_SECURITY + TEST_CASE_ST(ut_setup, ut_teardown, + test_PDCP_PROTO_cplane_encap_all), +#endif /** AES GCM Authenticated Encryption */ TEST_CASE_ST(ut_setup, ut_teardown, test_AES_GCM_authenticated_encryption_test_case_1), @@ -11538,6 +11738,10 @@ static struct unit_test_suite cryptodev_dpaa2_sec_testsuite = { TEST_CASE_ST(ut_setup, ut_teardown, test_authonly_dpaa2_sec_all), +#ifdef RTE_LIBRTE_SECURITY + TEST_CASE_ST(ut_setup, ut_teardown, + test_PDCP_PROTO_cplane_encap_all), +#endif /** AES GCM Authenticated Encryption */ TEST_CASE_ST(ut_setup, ut_teardown, test_AES_GCM_authenticated_encryption_test_case_1), diff --git a/app/test/test_cryptodev_security_pdcp.c b/app/test/test_cryptodev_security_pdcp.c new file mode 100644 index 0000000000..cdf6639b7b --- /dev/null +++ b/app/test/test_cryptodev_security_pdcp.c @@ -0,0 +1,140 @@ +/* SPDX-License-Identifier: BSD-3-Clause + * + * Copyright (C) 2015-2016 Freescale Semiconductor,Inc. + * Copyright 2018-2019 NXP + */ + +#include + +#include +#include +#include +#include +#include +#include +#include +#include + +#include +#include +#include +#include + +#include +#include "test.h" +#include "test_cryptodev_security_pdcp_test_func.h" + +static int cplane_encap(uint32_t sn_size, uint8_t dir, + enum enc_alg_off enc_alg_off, + enum auth_alg_off auth_alg_off) +{ + int i = 0; + + switch (sn_size) { + case 5: + i = PDCP_CPLANE_OFFSET + enc_alg_off + + auth_alg_off + ((dir == 0) ? + UPLINK : DOWNLINK); + break; + case 12: + i = PDCP_CPLANE_LONG_SN_OFFSET + enc_alg_off + + auth_alg_off + ((dir == 0) ? + UPLINK : DOWNLINK); + break; + default: + printf("\nInvalid SN: %u for %s\n", sn_size, __func__); + } + + return test_pdcp_proto_cplane_encap(i); +} + +#define TEST_PDCP_COUNT(func) do { \ + if (func == TEST_SUCCESS) { \ + printf("\t%d)", n++); \ + printf(#func"-PASS\n"); \ + i++; \ + } else { \ + printf("\t%d)", n++); \ + printf("+++++ FAILED:" #func"\n"); \ + } \ +} while (0) + +int +test_PDCP_PROTO_cplane_encap_all(void) +{ + int i = 0, n = 0; + + TEST_PDCP_COUNT(cplane_encap(5, UPLINK, NULL_ENC, NULL_AUTH)); + TEST_PDCP_COUNT(cplane_encap(5, DOWNLINK, NULL_ENC, NULL_AUTH)); + TEST_PDCP_COUNT(cplane_encap(5, UPLINK, NULL_ENC, SNOW_AUTH)); + TEST_PDCP_COUNT(cplane_encap(5, DOWNLINK, NULL_ENC, SNOW_AUTH)); + TEST_PDCP_COUNT(cplane_encap(5, UPLINK, NULL_ENC, AES_AUTH)); + TEST_PDCP_COUNT(cplane_encap(5, DOWNLINK, NULL_ENC, AES_AUTH)); + TEST_PDCP_COUNT(cplane_encap(5, UPLINK, NULL_ENC, ZUC_AUTH)); + TEST_PDCP_COUNT(cplane_encap(5, DOWNLINK, NULL_ENC, ZUC_AUTH)); + TEST_PDCP_COUNT(cplane_encap(5, UPLINK, SNOW_ENC, NULL_AUTH)); + TEST_PDCP_COUNT(cplane_encap(5, DOWNLINK, SNOW_ENC, NULL_AUTH)); + TEST_PDCP_COUNT(cplane_encap(5, UPLINK, SNOW_ENC, SNOW_AUTH)); + TEST_PDCP_COUNT(cplane_encap(5, DOWNLINK, SNOW_ENC, SNOW_AUTH)); + TEST_PDCP_COUNT(cplane_encap(5, UPLINK, SNOW_ENC, AES_AUTH)); + TEST_PDCP_COUNT(cplane_encap(5, DOWNLINK, SNOW_ENC, AES_AUTH)); + TEST_PDCP_COUNT(cplane_encap(5, UPLINK, SNOW_ENC, ZUC_AUTH)); + TEST_PDCP_COUNT(cplane_encap(5, DOWNLINK, SNOW_ENC, ZUC_AUTH)); + TEST_PDCP_COUNT(cplane_encap(5, UPLINK, AES_ENC, NULL_AUTH)); + TEST_PDCP_COUNT(cplane_encap(5, DOWNLINK, AES_ENC, NULL_AUTH)); + TEST_PDCP_COUNT(cplane_encap(5, UPLINK, AES_ENC, SNOW_AUTH)); + TEST_PDCP_COUNT(cplane_encap(5, DOWNLINK, AES_ENC, SNOW_AUTH)); + TEST_PDCP_COUNT(cplane_encap(5, UPLINK, AES_ENC, AES_AUTH)); + TEST_PDCP_COUNT(cplane_encap(5, DOWNLINK, AES_ENC, AES_AUTH)); + TEST_PDCP_COUNT(cplane_encap(5, UPLINK, AES_ENC, ZUC_AUTH)); + TEST_PDCP_COUNT(cplane_encap(5, DOWNLINK, AES_ENC, ZUC_AUTH)); + TEST_PDCP_COUNT(cplane_encap(5, UPLINK, ZUC_ENC, NULL_AUTH)); + TEST_PDCP_COUNT(cplane_encap(5, DOWNLINK, ZUC_ENC, NULL_AUTH)); + TEST_PDCP_COUNT(cplane_encap(5, UPLINK, ZUC_ENC, SNOW_AUTH)); + TEST_PDCP_COUNT(cplane_encap(5, DOWNLINK, ZUC_ENC, SNOW_AUTH)); + TEST_PDCP_COUNT(cplane_encap(5, UPLINK, ZUC_ENC, AES_AUTH)); + TEST_PDCP_COUNT(cplane_encap(5, DOWNLINK, ZUC_ENC, AES_AUTH)); + TEST_PDCP_COUNT(cplane_encap(5, UPLINK, ZUC_ENC, ZUC_AUTH)); + TEST_PDCP_COUNT(cplane_encap(5, DOWNLINK, ZUC_ENC, ZUC_AUTH)); + + /* For 12-bit SN */ + TEST_PDCP_COUNT(cplane_encap(12, UPLINK, NULL_ENC, NULL_AUTH)); + TEST_PDCP_COUNT(cplane_encap(12, DOWNLINK, NULL_ENC, NULL_AUTH)); + TEST_PDCP_COUNT(cplane_encap(12, UPLINK, NULL_ENC, SNOW_AUTH)); + TEST_PDCP_COUNT(cplane_encap(12, DOWNLINK, NULL_ENC, SNOW_AUTH)); + TEST_PDCP_COUNT(cplane_encap(12, UPLINK, NULL_ENC, AES_AUTH)); + TEST_PDCP_COUNT(cplane_encap(12, DOWNLINK, NULL_ENC, AES_AUTH)); + TEST_PDCP_COUNT(cplane_encap(12, UPLINK, NULL_ENC, ZUC_AUTH)); + TEST_PDCP_COUNT(cplane_encap(12, DOWNLINK, NULL_ENC, ZUC_AUTH)); + TEST_PDCP_COUNT(cplane_encap(12, UPLINK, SNOW_ENC, NULL_AUTH)); + TEST_PDCP_COUNT(cplane_encap(12, DOWNLINK, SNOW_ENC, NULL_AUTH)); + TEST_PDCP_COUNT(cplane_encap(12, UPLINK, SNOW_ENC, SNOW_AUTH)); + TEST_PDCP_COUNT(cplane_encap(12, DOWNLINK, SNOW_ENC, SNOW_AUTH)); + TEST_PDCP_COUNT(cplane_encap(12, UPLINK, SNOW_ENC, AES_AUTH)); + TEST_PDCP_COUNT(cplane_encap(12, DOWNLINK, SNOW_ENC, AES_AUTH)); + TEST_PDCP_COUNT(cplane_encap(12, UPLINK, SNOW_ENC, ZUC_AUTH)); + TEST_PDCP_COUNT(cplane_encap(12, DOWNLINK, SNOW_ENC, ZUC_AUTH)); + TEST_PDCP_COUNT(cplane_encap(12, UPLINK, AES_ENC, NULL_AUTH)); + TEST_PDCP_COUNT(cplane_encap(12, DOWNLINK, AES_ENC, NULL_AUTH)); + TEST_PDCP_COUNT(cplane_encap(12, UPLINK, AES_ENC, SNOW_AUTH)); + + TEST_PDCP_COUNT(cplane_encap(12, DOWNLINK, AES_ENC, SNOW_AUTH)); + TEST_PDCP_COUNT(cplane_encap(12, UPLINK, AES_ENC, AES_AUTH)); + TEST_PDCP_COUNT(cplane_encap(12, DOWNLINK, AES_ENC, AES_AUTH)); + TEST_PDCP_COUNT(cplane_encap(12, UPLINK, AES_ENC, ZUC_AUTH)); + TEST_PDCP_COUNT(cplane_encap(12, DOWNLINK, AES_ENC, ZUC_AUTH)); + + TEST_PDCP_COUNT(cplane_encap(12, UPLINK, ZUC_ENC, NULL_AUTH)); + TEST_PDCP_COUNT(cplane_encap(12, DOWNLINK, ZUC_ENC, NULL_AUTH)); + TEST_PDCP_COUNT(cplane_encap(12, UPLINK, ZUC_ENC, SNOW_AUTH)); + TEST_PDCP_COUNT(cplane_encap(12, DOWNLINK, ZUC_ENC, SNOW_AUTH)); + TEST_PDCP_COUNT(cplane_encap(12, UPLINK, ZUC_ENC, AES_AUTH)); + TEST_PDCP_COUNT(cplane_encap(12, DOWNLINK, ZUC_ENC, AES_AUTH)); + TEST_PDCP_COUNT(cplane_encap(12, UPLINK, ZUC_ENC, ZUC_AUTH)); + TEST_PDCP_COUNT(cplane_encap(12, DOWNLINK, ZUC_ENC, ZUC_AUTH)); + + if (n - i) + printf("## %s: %d passed out of %d\n", __func__, i, n); + + return n - i; +}; diff --git a/app/test/test_cryptodev_security_pdcp_test_func.h b/app/test/test_cryptodev_security_pdcp_test_func.h new file mode 100644 index 0000000000..ad1e7c70a7 --- /dev/null +++ b/app/test/test_cryptodev_security_pdcp_test_func.h @@ -0,0 +1,36 @@ +/* SPDX-License-Identifier: BSD-3-Clause + * Copyright 2019 NXP + */ + +#ifndef SECURITY_PDCP_TEST_FUNC_H_ +#define SECURITY_PDCP_TEST_FUNC_H_ + +#define PDCP_CPLANE_OFFSET 0 +#define PDCP_CPLANE_LONG_SN_OFFSET 32 +#define LONG_SEQ_NUM_OFFSET 0 +#define SHORT_SEQ_NUM_OFFSET 2 +#define FIFTEEN_BIT_SEQ_NUM_OFFSET 4 +#define EIGHTEEN_BIT_SEQ_NUM_OFFSET 6 +#define UPLINK 0 +#define DOWNLINK 1 +/* key length(in bytes) for F8 */ +#define F8_KEY_LEN 16 + +enum enc_alg_off { + NULL_ENC = 0, + SNOW_ENC = 8, + AES_ENC = 16, + ZUC_ENC = 24 +}; +enum auth_alg_off { + NULL_AUTH = 0, + SNOW_AUTH = 2, + AES_AUTH = 4, + ZUC_AUTH = 6 +}; + +int test_pdcp_proto_cplane_encap(int i); + +int test_PDCP_PROTO_cplane_encap_all(void); + +#endif /* SECURITY_PDCP_TEST_FUNC_H_ */ diff --git a/app/test/test_cryptodev_security_pdcp_test_vectors.h b/app/test/test_cryptodev_security_pdcp_test_vectors.h new file mode 100644 index 0000000000..8476a61f7c --- /dev/null +++ b/app/test/test_cryptodev_security_pdcp_test_vectors.h @@ -0,0 +1,2491 @@ +/* SPDX-License-Identifier: BSD-3-Clause + * + * Copyright (C) 2015-2016 Freescale Semiconductor,Inc. + * Copyright 2018-2019 NXP + */ + +#ifndef SECURITY_PDCP_TEST_VECTOR_H_ +#define SECURITY_PDCP_TEST_VECTOR_H_ + +#include + +/* + * PDCP test vectors and related structures. + */ +enum pdcp_dir { + PDCP_DIR_UPLINK = 0, + PDCP_DIR_DOWNLINK = 1, + PDCP_DIR_INVALID +}; + +struct pdcp_test_param { + uint8_t type; + enum rte_security_pdcp_domain domain; + enum rte_crypto_cipher_algorithm cipher_alg; + uint8_t cipher_key_len; + enum rte_crypto_auth_algorithm auth_alg; + uint8_t auth_key_len; + const char *name; +}; + +static struct pdcp_test_param pdcp_test_params[] = { + { + .name = + "PDCP Control Plane with NULL encryption and NULL integrity Uplink", + .cipher_alg = RTE_CRYPTO_CIPHER_NULL, + .auth_alg = RTE_CRYPTO_AUTH_NULL, + .domain = RTE_SECURITY_PDCP_MODE_CONTROL, + .cipher_key_len = 0, + .auth_key_len = 0, + }, + { + .name = + "PDCP Control Plane with NULL encryption and NULL integrity Downlink", + .cipher_alg = RTE_CRYPTO_CIPHER_NULL, + .auth_alg = RTE_CRYPTO_AUTH_NULL, + .domain = RTE_SECURITY_PDCP_MODE_CONTROL, + .cipher_key_len = 0, + .auth_key_len = 0, + }, + { + .name = + "PDCP Control Plane with NULL encryption and SNOW f9 integrity Uplink", + .cipher_alg = RTE_CRYPTO_CIPHER_NULL, + .auth_alg = RTE_CRYPTO_AUTH_SNOW3G_UIA2, + .domain = RTE_SECURITY_PDCP_MODE_CONTROL, + .cipher_key_len = 0, + .auth_key_len = 16, + }, + { + .name = + "PDCP Control Plane with NULL encryption and SNOW f9 integrity Downlink", + .cipher_alg = RTE_CRYPTO_CIPHER_NULL, + .auth_alg = RTE_CRYPTO_AUTH_SNOW3G_UIA2, + .domain = RTE_SECURITY_PDCP_MODE_CONTROL, + .cipher_key_len = 0, + .auth_key_len = 16, + }, + { + .name = + "PDCP Control Plane with NULL encryption and AES CMAC integrity Uplink", + .cipher_alg = RTE_CRYPTO_CIPHER_NULL, + .auth_alg = RTE_CRYPTO_AUTH_AES_CMAC, + .domain = RTE_SECURITY_PDCP_MODE_CONTROL, + .cipher_key_len = 0, + .auth_key_len = 16, + }, + { + .name = + "PDCP Control Plane with NULL encryption and AES CMAC integrity Downlink", + .cipher_alg = RTE_CRYPTO_CIPHER_NULL, + .auth_alg = RTE_CRYPTO_AUTH_AES_CMAC, + .domain = RTE_SECURITY_PDCP_MODE_CONTROL, + .cipher_key_len = 0, + .auth_key_len = 16, + }, + { + .name = + "PDCP Control Plane with NULL encryption and ZUC integrity Uplink", + .cipher_alg = RTE_CRYPTO_CIPHER_NULL, + .auth_alg = RTE_CRYPTO_AUTH_ZUC_EIA3, + .domain = RTE_SECURITY_PDCP_MODE_CONTROL, + .cipher_key_len = 0, + .auth_key_len = 16, + }, + { + .name = + "PDCP Control Plane with NULL encryption and ZUC integrity Downlink", + .cipher_alg = RTE_CRYPTO_CIPHER_NULL, + .auth_alg = RTE_CRYPTO_AUTH_ZUC_EIA3, + .domain = RTE_SECURITY_PDCP_MODE_CONTROL, + .cipher_key_len = 0, + .auth_key_len = 16, + }, + { + .name = + "PDCP Control Plane with SNOW f8 encryption and NULL integrity Uplink", + .cipher_alg = RTE_CRYPTO_CIPHER_SNOW3G_UEA2, + .auth_alg = RTE_CRYPTO_AUTH_NULL, + .domain = RTE_SECURITY_PDCP_MODE_CONTROL, + .cipher_key_len = 16, + .auth_key_len = 0, + }, + { + .name = + "PDCP Control Plane with SNOW f8 encryption and NULL integrity Downlink", + .cipher_alg = RTE_CRYPTO_CIPHER_SNOW3G_UEA2, + .auth_alg = RTE_CRYPTO_AUTH_NULL, + .domain = RTE_SECURITY_PDCP_MODE_CONTROL, + .cipher_key_len = 16, + .auth_key_len = 0, + }, + { + .name = + "PDCP Control Plane with SNOW f8 encryption and SNOW f9 integrity Uplink", + .cipher_alg = RTE_CRYPTO_CIPHER_SNOW3G_UEA2, + .auth_alg = RTE_CRYPTO_AUTH_SNOW3G_UIA2, + .domain = RTE_SECURITY_PDCP_MODE_CONTROL, + .cipher_key_len = 16, + .auth_key_len = 16, + }, + { + .name = + "PDCP Control Plane with SNOW f8 encryption and SNOW f9 integrity Downlink", + .cipher_alg = RTE_CRYPTO_CIPHER_SNOW3G_UEA2, + .auth_alg = RTE_CRYPTO_AUTH_SNOW3G_UIA2, + .domain = RTE_SECURITY_PDCP_MODE_CONTROL, + .cipher_key_len = 16, + .auth_key_len = 16, + }, + { + .name = + "PDCP Control Plane with SNOW f8 encryption and AES CMAC integrity Uplink", + .cipher_alg = RTE_CRYPTO_CIPHER_SNOW3G_UEA2, + .auth_alg = RTE_CRYPTO_AUTH_AES_CMAC, + .domain = RTE_SECURITY_PDCP_MODE_CONTROL, + .cipher_key_len = 16, + .auth_key_len = 16, + }, + { + .name = + "PDCP Control Plane with SNOW f8 encryption and AES CMAC integrity Downlink", + .cipher_alg = RTE_CRYPTO_CIPHER_SNOW3G_UEA2, + .auth_alg = RTE_CRYPTO_AUTH_AES_CMAC, + .domain = RTE_SECURITY_PDCP_MODE_CONTROL, + .cipher_key_len = 16, + .auth_key_len = 16, + }, + { + .name = + "PDCP Control Plane with SNOW f8 encryption and ZUC integrity Uplink", + .cipher_alg = RTE_CRYPTO_CIPHER_SNOW3G_UEA2, + .auth_alg = RTE_CRYPTO_AUTH_ZUC_EIA3, + .domain = RTE_SECURITY_PDCP_MODE_CONTROL, + .cipher_key_len = 16, + .auth_key_len = 16, + }, + { + .name = + "PDCP Control Plane with SNOW f8 encryption and ZUC integrity Downlink", + .cipher_alg = RTE_CRYPTO_CIPHER_SNOW3G_UEA2, + .auth_alg = RTE_CRYPTO_AUTH_ZUC_EIA3, + .domain = RTE_SECURITY_PDCP_MODE_CONTROL, + .cipher_key_len = 16, + .auth_key_len = 16, + }, + { + .name = + "PDCP Control Plane with AES CTR encryption and NULL integrity Uplink", + .cipher_alg = RTE_CRYPTO_CIPHER_AES_CTR, + .auth_alg = RTE_CRYPTO_AUTH_NULL, + .domain = RTE_SECURITY_PDCP_MODE_CONTROL, + .cipher_key_len = 16, + .auth_key_len = 0, + }, + { + .name = + "PDCP Control Plane with AES CTR encryption and NULL integrity Downlink", + .cipher_alg = RTE_CRYPTO_CIPHER_AES_CTR, + .auth_alg = RTE_CRYPTO_AUTH_NULL, + .domain = RTE_SECURITY_PDCP_MODE_CONTROL, + .cipher_key_len = 16, + .auth_key_len = 0, + }, + { + .name = + "PDCP Control Plane with AES CTR encryption and SNOW f9 integrity Uplink", + .cipher_alg = RTE_CRYPTO_CIPHER_AES_CTR, + .auth_alg = RTE_CRYPTO_AUTH_SNOW3G_UIA2, + .domain = RTE_SECURITY_PDCP_MODE_CONTROL, + .cipher_key_len = 16, + .auth_key_len = 16, + }, + { + .name = + "PDCP Control Plane with AES CTR encryption and SNOW f9 integrity Downlink", + .cipher_alg = RTE_CRYPTO_CIPHER_AES_CTR, + .auth_alg = RTE_CRYPTO_AUTH_SNOW3G_UIA2, + .domain = RTE_SECURITY_PDCP_MODE_CONTROL, + .cipher_key_len = 16, + .auth_key_len = 16, + }, + { + .name = + "PDCP Control Plane with AES CTR encryption and AES CMAC integrity Uplink", + .cipher_alg = RTE_CRYPTO_CIPHER_AES_CTR, + .auth_alg = RTE_CRYPTO_AUTH_AES_CMAC, + .domain = RTE_SECURITY_PDCP_MODE_CONTROL, + .cipher_key_len = 16, + .auth_key_len = 16, + }, + { + .name = + "PDCP Control Plane with AES CTR encryption and AES CMAC integrity Downlink", + .cipher_alg = RTE_CRYPTO_CIPHER_AES_CTR, + .auth_alg = RTE_CRYPTO_AUTH_AES_CMAC, + .domain = RTE_SECURITY_PDCP_MODE_CONTROL, + .cipher_key_len = 16, + .auth_key_len = 16, + }, + { + .name = + "PDCP Control Plane with AES CTR encryption and ZUC integrity Uplink", + .cipher_alg = RTE_CRYPTO_CIPHER_AES_CTR, + .auth_alg = RTE_CRYPTO_AUTH_ZUC_EIA3, + .domain = RTE_SECURITY_PDCP_MODE_CONTROL, + .cipher_key_len = 16, + .auth_key_len = 16, + }, + { + .name = + "PDCP Control Plane with AES CTR encryption and ZUC integrity Downlink", + .cipher_alg = RTE_CRYPTO_CIPHER_AES_CTR, + .auth_alg = RTE_CRYPTO_AUTH_ZUC_EIA3, + .domain = RTE_SECURITY_PDCP_MODE_CONTROL, + .cipher_key_len = 16, + .auth_key_len = 16, + }, + { + .name = + "PDCP Control Plane with ZUC encryption and NULL integrity Uplink", + .cipher_alg = RTE_CRYPTO_CIPHER_ZUC_EEA3, + .auth_alg = RTE_CRYPTO_AUTH_NULL, + .domain = RTE_SECURITY_PDCP_MODE_CONTROL, + .cipher_key_len = 16, + .auth_key_len = 0, + }, + { + .name = + "PDCP Control Plane with ZUC encryption and NULL integrity Downlink", + .cipher_alg = RTE_CRYPTO_CIPHER_ZUC_EEA3, + .auth_alg = RTE_CRYPTO_AUTH_NULL, + .domain = RTE_SECURITY_PDCP_MODE_CONTROL, + .cipher_key_len = 16, + .auth_key_len = 0, + }, + { + .name = + "PDCP Control Plane with ZUC encryption and SNOW f9 integrity Uplink", + .cipher_alg = RTE_CRYPTO_CIPHER_ZUC_EEA3, + .auth_alg = RTE_CRYPTO_AUTH_SNOW3G_UIA2, + .domain = RTE_SECURITY_PDCP_MODE_CONTROL, + .cipher_key_len = 16, + .auth_key_len = 16, + }, + { + .name = + "PDCP Control Plane with ZUC encryption and SNOW f9 integrity Downlink", + .cipher_alg = RTE_CRYPTO_CIPHER_ZUC_EEA3, + .auth_alg = RTE_CRYPTO_AUTH_SNOW3G_UIA2, + .domain = RTE_SECURITY_PDCP_MODE_CONTROL, + .cipher_key_len = 16, + .auth_key_len = 16, + }, + { + .name = + "PDCP Control Plane with ZUC encryption and AES CMAC integrity Uplink", + .cipher_alg = RTE_CRYPTO_CIPHER_ZUC_EEA3, + .auth_alg = RTE_CRYPTO_AUTH_AES_CMAC, + .domain = RTE_SECURITY_PDCP_MODE_CONTROL, + .cipher_key_len = 16, + .auth_key_len = 16, + }, + { + .name = + "PDCP Control Plane with ZUC encryption and AES CMAC integrity Downlink", + .cipher_alg = RTE_CRYPTO_CIPHER_ZUC_EEA3, + .auth_alg = RTE_CRYPTO_AUTH_AES_CMAC, + .domain = RTE_SECURITY_PDCP_MODE_CONTROL, + .cipher_key_len = 16, + .auth_key_len = 16, + }, + { + .name = + "PDCP Control Plane with ZUC encryption and ZUC integrity Uplink", + .cipher_alg = RTE_CRYPTO_CIPHER_ZUC_EEA3, + .auth_alg = RTE_CRYPTO_AUTH_ZUC_EIA3, + .domain = RTE_SECURITY_PDCP_MODE_CONTROL, + .cipher_key_len = 16, + .auth_key_len = 16, + }, + { + .name = + "PDCP Control Plane with ZUC encryption and ZUC integrity Downlink", + .cipher_alg = RTE_CRYPTO_CIPHER_ZUC_EEA3, + .auth_alg = RTE_CRYPTO_AUTH_ZUC_EIA3, + .cipher_key_len = 16, + .auth_key_len = 16, + }, + + /* For 12-bit C-plane */ + { + .name = + "PDCP Control Plane with NULL encryption and NULL integrity Uplink", + .cipher_alg = RTE_CRYPTO_CIPHER_NULL, + .auth_alg = RTE_CRYPTO_AUTH_NULL, + .domain = RTE_SECURITY_PDCP_MODE_CONTROL, + .cipher_key_len = 0, + .auth_key_len = 0, + }, + { + .name = + "PDCP Control Plane with NULL encryption and NULL integrity Downlink", + .cipher_alg = RTE_CRYPTO_CIPHER_NULL, + .auth_alg = RTE_CRYPTO_AUTH_NULL, + .domain = RTE_SECURITY_PDCP_MODE_CONTROL, + .cipher_key_len = 0, + .auth_key_len = 0, + }, + { + .name = + "PDCP Control Plane with NULL encryption and SNOW f9 integrity Uplink", + .cipher_alg = RTE_CRYPTO_CIPHER_NULL, + .auth_alg = RTE_CRYPTO_AUTH_SNOW3G_UIA2, + .domain = RTE_SECURITY_PDCP_MODE_CONTROL, + .cipher_key_len = 0, + .auth_key_len = 16, + }, + { + .name = + "PDCP Control Plane with NULL encryption and SNOW f9 integrity Downlink", + .cipher_alg = RTE_CRYPTO_CIPHER_NULL, + .auth_alg = RTE_CRYPTO_AUTH_SNOW3G_UIA2, + .domain = RTE_SECURITY_PDCP_MODE_CONTROL, + .cipher_key_len = 0, + .auth_key_len = 16, + }, + { + .name = + "PDCP Control Plane with NULL encryption and AES CMAC integrity Uplink", + .cipher_alg = RTE_CRYPTO_CIPHER_NULL, + .auth_alg = RTE_CRYPTO_AUTH_AES_CMAC, + .domain = RTE_SECURITY_PDCP_MODE_CONTROL, + .cipher_key_len = 0, + .auth_key_len = 16, + }, + { + .name = + "PDCP Control Plane with NULL encryption and AES CMAC integrity Downlink", + .cipher_alg = RTE_CRYPTO_CIPHER_NULL, + .auth_alg = RTE_CRYPTO_AUTH_AES_CMAC, + .domain = RTE_SECURITY_PDCP_MODE_CONTROL, + .cipher_key_len = 0, + .auth_key_len = 16, + }, + { + .name = + "PDCP Control Plane with NULL encryption and ZUC integrity Uplink", + .cipher_alg = RTE_CRYPTO_CIPHER_NULL, + .auth_alg = RTE_CRYPTO_AUTH_ZUC_EIA3, + .domain = RTE_SECURITY_PDCP_MODE_CONTROL, + .cipher_key_len = 0, + .auth_key_len = 16, + }, + { + .name = + "PDCP Control Plane with NULL encryption and ZUC integrity Downlink", + .cipher_alg = RTE_CRYPTO_CIPHER_NULL, + .auth_alg = RTE_CRYPTO_AUTH_ZUC_EIA3, + .domain = RTE_SECURITY_PDCP_MODE_CONTROL, + .cipher_key_len = 0, + .auth_key_len = 16, + }, + { + .name = + "PDCP Control Plane with SNOW f8 encryption and NULL integrity Uplink", + .cipher_alg = RTE_CRYPTO_CIPHER_SNOW3G_UEA2, + .auth_alg = RTE_CRYPTO_AUTH_NULL, + .domain = RTE_SECURITY_PDCP_MODE_CONTROL, + .cipher_key_len = 16, + .auth_key_len = 0, + }, + { + .name = + "PDCP Control Plane with SNOW f8 encryption and NULL integrity Downlink", + .cipher_alg = RTE_CRYPTO_CIPHER_SNOW3G_UEA2, + .auth_alg = RTE_CRYPTO_AUTH_NULL, + .domain = RTE_SECURITY_PDCP_MODE_CONTROL, + .cipher_key_len = 16, + .auth_key_len = 0, + }, + { + .name = + "PDCP Control Plane with SNOW f8 encryption and SNOW f9 integrity Uplink", + .cipher_alg = RTE_CRYPTO_CIPHER_SNOW3G_UEA2, + .auth_alg = RTE_CRYPTO_AUTH_SNOW3G_UIA2, + .domain = RTE_SECURITY_PDCP_MODE_CONTROL, + .cipher_key_len = 16, + .auth_key_len = 16, + }, + { + .name = + "PDCP Control Plane with SNOW f8 encryption and SNOW f9 integrity Downlink", + .cipher_alg = RTE_CRYPTO_CIPHER_SNOW3G_UEA2, + .auth_alg = RTE_CRYPTO_AUTH_SNOW3G_UIA2, + .domain = RTE_SECURITY_PDCP_MODE_CONTROL, + .cipher_key_len = 16, + .auth_key_len = 16, + }, + { + .name = + "PDCP Control Plane with SNOW f8 encryption and AES CMAC integrity Uplink", + .cipher_alg = RTE_CRYPTO_CIPHER_SNOW3G_UEA2, + .auth_alg = RTE_CRYPTO_AUTH_AES_CMAC, + .domain = RTE_SECURITY_PDCP_MODE_CONTROL, + .cipher_key_len = 16, + .auth_key_len = 16, + }, + { + .name = + "PDCP Control Plane with SNOW f8 encryption and AES CMAC integrity Downlink", + .cipher_alg = RTE_CRYPTO_CIPHER_SNOW3G_UEA2, + .auth_alg = RTE_CRYPTO_AUTH_AES_CMAC, + .domain = RTE_SECURITY_PDCP_MODE_CONTROL, + .cipher_key_len = 16, + .auth_key_len = 16, + }, + { + .name = + "PDCP Control Plane with SNOW f8 encryption and ZUC integrity Uplink", + .cipher_alg = RTE_CRYPTO_CIPHER_SNOW3G_UEA2, + .auth_alg = RTE_CRYPTO_AUTH_ZUC_EIA3, + .domain = RTE_SECURITY_PDCP_MODE_CONTROL, + .cipher_key_len = 16, + .auth_key_len = 16, + }, + { + .name = + "PDCP Control Plane with SNOW f8 encryption and ZUC integrity Downlink", + .cipher_alg = RTE_CRYPTO_CIPHER_SNOW3G_UEA2, + .auth_alg = RTE_CRYPTO_AUTH_ZUC_EIA3, + .domain = RTE_SECURITY_PDCP_MODE_CONTROL, + .cipher_key_len = 16, + .auth_key_len = 16, + }, + { + .name = + "PDCP Control Plane with AES CTR encryption and NULL integrity Uplink", + .cipher_alg = RTE_CRYPTO_CIPHER_AES_CTR, + .auth_alg = RTE_CRYPTO_AUTH_NULL, + .domain = RTE_SECURITY_PDCP_MODE_CONTROL, + .cipher_key_len = 16, + .auth_key_len = 0, + }, + { + .name = + "PDCP Control Plane with AES CTR encryption and NULL integrity Downlink", + .cipher_alg = RTE_CRYPTO_CIPHER_AES_CTR, + .auth_alg = RTE_CRYPTO_AUTH_NULL, + .domain = RTE_SECURITY_PDCP_MODE_CONTROL, + .cipher_key_len = 16, + .auth_key_len = 0, + }, + { + .name = + "PDCP Control Plane with AES CTR encryption and SNOW f9 integrity Uplink", + .cipher_alg = RTE_CRYPTO_CIPHER_AES_CTR, + .auth_alg = RTE_CRYPTO_AUTH_SNOW3G_UIA2, + .domain = RTE_SECURITY_PDCP_MODE_CONTROL, + .cipher_key_len = 16, + .auth_key_len = 16, + }, + { + .name = + "PDCP Control Plane with AES CTR encryption and SNOW f9 integrity Downlink", + .cipher_alg = RTE_CRYPTO_CIPHER_AES_CTR, + .auth_alg = RTE_CRYPTO_AUTH_SNOW3G_UIA2, + .domain = RTE_SECURITY_PDCP_MODE_CONTROL, + .cipher_key_len = 16, + .auth_key_len = 16, + }, + { + .name = + "PDCP Control Plane with AES CTR encryption and AES CMAC integrity Uplink", + .cipher_alg = RTE_CRYPTO_CIPHER_AES_CTR, + .auth_alg = RTE_CRYPTO_AUTH_AES_CMAC, + .domain = RTE_SECURITY_PDCP_MODE_CONTROL, + .cipher_key_len = 16, + .auth_key_len = 16, + }, + { + .name = + "PDCP Control Plane with AES CTR encryption and AES CMAC integrity Downlink", + .cipher_alg = RTE_CRYPTO_CIPHER_AES_CTR, + .auth_alg = RTE_CRYPTO_AUTH_AES_CMAC, + .domain = RTE_SECURITY_PDCP_MODE_CONTROL, + .cipher_key_len = 16, + .auth_key_len = 16, + }, + { + .name = + "PDCP Control Plane with AES CTR encryption and ZUC integrity Uplink", + .cipher_alg = RTE_CRYPTO_CIPHER_AES_CTR, + .auth_alg = RTE_CRYPTO_AUTH_ZUC_EIA3, + .domain = RTE_SECURITY_PDCP_MODE_CONTROL, + .cipher_key_len = 16, + .auth_key_len = 16, + }, + { + .name = + "PDCP Control Plane with AES CTR encryption and ZUC integrity Downlink", + .cipher_alg = RTE_CRYPTO_CIPHER_AES_CTR, + .auth_alg = RTE_CRYPTO_AUTH_ZUC_EIA3, + .domain = RTE_SECURITY_PDCP_MODE_CONTROL, + .cipher_key_len = 16, + .auth_key_len = 16, + }, + { + .name = + "PDCP Control Plane with ZUC encryption and NULL integrity Uplink", + .cipher_alg = RTE_CRYPTO_CIPHER_ZUC_EEA3, + .auth_alg = RTE_CRYPTO_AUTH_NULL, + .domain = RTE_SECURITY_PDCP_MODE_CONTROL, + .cipher_key_len = 16, + .auth_key_len = 0, + }, + { + .name = + "PDCP Control Plane with ZUC encryption and NULL integrity Downlink", + .cipher_alg = RTE_CRYPTO_CIPHER_ZUC_EEA3, + .auth_alg = RTE_CRYPTO_AUTH_NULL, + .domain = RTE_SECURITY_PDCP_MODE_CONTROL, + .cipher_key_len = 16, + .auth_key_len = 0, + }, + { + .name = + "PDCP Control Plane with ZUC encryption and SNOW f9 integrity Uplink", + .cipher_alg = RTE_CRYPTO_CIPHER_ZUC_EEA3, + .auth_alg = RTE_CRYPTO_AUTH_SNOW3G_UIA2, + .domain = RTE_SECURITY_PDCP_MODE_CONTROL, + .cipher_key_len = 16, + .auth_key_len = 16, + }, + { + .name = + "PDCP Control Plane with ZUC encryption and SNOW f9 integrity Downlink", + .cipher_alg = RTE_CRYPTO_CIPHER_ZUC_EEA3, + .auth_alg = RTE_CRYPTO_AUTH_SNOW3G_UIA2, + .domain = RTE_SECURITY_PDCP_MODE_CONTROL, + .cipher_key_len = 16, + .auth_key_len = 16, + }, + { + .name = + "PDCP Control Plane with ZUC encryption and AES CMAC integrity Uplink", + .cipher_alg = RTE_CRYPTO_CIPHER_ZUC_EEA3, + .auth_alg = RTE_CRYPTO_AUTH_AES_CMAC, + .domain = RTE_SECURITY_PDCP_MODE_CONTROL, + .cipher_key_len = 16, + .auth_key_len = 16, + }, + { + .name = + "PDCP Control Plane with ZUC encryption and AES CMAC integrity Downlink", + .cipher_alg = RTE_CRYPTO_CIPHER_ZUC_EEA3, + .auth_alg = RTE_CRYPTO_AUTH_AES_CMAC, + .domain = RTE_SECURITY_PDCP_MODE_CONTROL, + .cipher_key_len = 16, + .auth_key_len = 16, + }, + { + .name = + "PDCP Control Plane with ZUC encryption and ZUC integrity Uplink", + .cipher_alg = RTE_CRYPTO_CIPHER_ZUC_EEA3, + .auth_alg = RTE_CRYPTO_AUTH_ZUC_EIA3, + .domain = RTE_SECURITY_PDCP_MODE_CONTROL, + .cipher_key_len = 16, + .auth_key_len = 16, + }, + { + .name = + "PDCP Control Plane with ZUC encryption and ZUC integrity Downlink", + .cipher_alg = RTE_CRYPTO_CIPHER_ZUC_EEA3, + .auth_alg = RTE_CRYPTO_AUTH_ZUC_EIA3, + .cipher_key_len = 16, + .auth_key_len = 16, + }, +}; + +static uint32_t pdcp_test_hfn[] = { + /* Control Plane w/NULL enc. + NULL int. UL */ + 0x000fa557, + /* Control Plane w/NULL enc. + NULL int. DL */ + 0x000fa557, + /* Control Plane w/NULL enc. + SNOW f9 int. UL */ + 0x000fa557, + /* Control Plane w/NULL enc. + SNOW f9 int. DL */ + 0x000fa557, + /* Control Plane w/NULL enc. + AES CMAC int. UL */ + 0x000fa557, + /* Control Plane w/NULL enc. + AES CMAC int. DL */ + 0x000fa557, + /* Control Plane w/NULL enc. + ZUC int. UL */ + 0x000fa557, + /* Control Plane w/NULL enc. + ZUC int. DL */ + 0x000fa557, + /* Control Plane w/SNOW f8 enc. + NULL int. UL */ + 0x000fa557, + /* Control Plane w/SNOW f8 enc. + NULL int. DL */ + 0x000fa557, + /* Control Plane w/SNOW f8 enc. + SNOW f9 int. UL */ + 0x000fa557, + /* Control Plane w/SNOW f8 enc. + SNOW f9 int. DL */ + 0x000fa557, + /* Control Plane w/SNOW f8 enc. + AES CMAC int. UL */ + 0x000fa557, + /* Control Plane w/SNOW f8 enc. + AES CMAC int. DL */ + 0x000fa557, + /* Control Plane w/SNOW f8 enc. + ZUC int. UL */ + 0x000fa557, + /* Control Plane w/SNOW f8 enc. + ZUC int. DL */ + 0x000fa557, + /* Control Plane w/AES CTR enc. + NULL int. UL */ + 0x000fa557, + /* Control Plane w/AES CTR enc. + NULL int. DL */ + 0x000fa557, + /* Control Plane w/AES CTR enc. + SNOW f9 int. UL */ + 0x000fa557, + /* Control Plane w/AES CTR enc. + SNOW f9 int. DL */ + 0x000fa557, + /* Control Plane w/AES CTR enc. + AES CMAC int. UL */ + 0x000fa557, + /* Control Plane w/AES CTR enc. + AES CMAC int. DL */ + 0x000fa557, + /* Control Plane w/AES CTR enc. + ZUC int. UL */ + 0x000fa557, + /* Control Plane w/AES CTR enc. + ZUC int. DL */ + 0x000fa557, + /* Control Plane w/ZUC enc. + NULL int. UL */ + 0x000fa557, + /* Control Plane w/ZUC enc. + NULL int. DL */ + 0x000fa557, + /* Control Plane w/ZUC enc. + SNOW f9 int. UL */ + 0x000fa557, + /* Control Plane w/ZUC enc. + SNOW f9 int. DL */ + 0x000fa557, + /* Control Plane w/ZUC enc. + AES CMAC int. UL */ + 0x000fa557, + /* Control Plane w/ZUC enc. + AES CMAC int. DL */ + 0x000fa557, + /* Control Plane w/ZUC enc. + ZUC int. UL */ + 0x000fa557, + /* Control Plane w/ZUC enc. + ZUC int. DL */ + 0x000fa557, + + /* For 12-bit C-plane ***********************/ + /* Control Plane w/NULL enc. + NULL int. UL */ + 0x01, + /* Control Plane w/NULL enc. + NULL int. DL */ + 0x01, + /* Control Plane w/NULL enc. + SNOW f9 int. UL */ + 0x01, + /* Control Plane w/NULL enc. + SNOW f9 int. DL */ + 0x01, + /* Control Plane w/NULL enc. + AES CMAC int. UL */ + 0x01, + /* Control Plane w/NULL enc. + AES CMAC int. DL */ + 0x01, + /* Control Plane w/NULL enc. + ZUC int. UL */ + 0x01, + /* Control Plane w/NULL enc. + ZUC int. DL */ + 0x01, + /* Control Plane w/SNOW f8 enc. + NULL int. UL */ + 0x01, + /* Control Plane w/SNOW f8 enc. + NULL int. DL */ + 0x01, + /* Control Plane w/SNOW f8 enc. + SNOW f9 int. UL */ + 0x01, + /* Control Plane w/SNOW f8 enc. + SNOW f9 int. DL */ + 0x01, + /* Control Plane w/SNOW f8 enc. + AES CMAC int. UL */ + 0x01, + /* Control Plane w/SNOW f8 enc. + AES CMAC int. DL */ + 0x01, + /* Control Plane w/SNOW f8 enc. + ZUC int. UL */ + 0x01, + /* Control Plane w/SNOW f8 enc. + ZUC int. DL */ + 0x01, + /* Control Plane w/AES CTR enc. + NULL int. UL */ + 0x01, + /* Control Plane w/AES CTR enc. + NULL int. DL */ + 0x01, + /* Control Plane w/AES CTR enc. + SNOW f9 int. UL */ + 0x01, + /* Control Plane w/AES CTR enc. + SNOW f9 int. DL */ + 0x01, + /* Control Plane w/AES CTR enc. + AES CMAC int. UL */ + 0x01, + /* Control Plane w/AES CTR enc. + AES CMAC int. DL */ + 0x01, + /* Control Plane w/AES CTR enc. + ZUC int. UL */ + 0x01, + /* Control Plane w/AES CTR enc. + ZUC int. DL */ + 0x01, + /* Control Plane w/ZUC enc. + NULL int. UL */ + 0x01, + /* Control Plane w/ZUC enc. + NULL int. DL */ + 0x01, + /* Control Plane w/ZUC enc. + SNOW f9 int. UL */ + 0x01, + /* Control Plane w/ZUC enc. + SNOW f9 int. DL */ + 0x01, + /* Control Plane w/ZUC enc. + AES CMAC int. UL */ + 0x01, + /* Control Plane w/ZUC enc. + AES CMAC int. DL */ + 0x01, + /* Control Plane w/ZUC enc. + ZUC int. UL */ + 0x01, + /* Control Plane w/ZUC enc. + ZUC int. DL */ + 0x01, + + /* 12-bit C-plane ends ***********************/ +}; + +static uint32_t pdcp_test_hfn_threshold[] = { + /* Control Plane w/NULL enc. + NULL int. UL */ + 0x000fa558, + /* Control Plane w/NULL enc. + NULL int. DL */ + 0x000fa558, + /* Control Plane w/NULL enc. + SNOW f9 int. UL */ + 0x000fa558, + /* Control Plane w/NULL enc. + SNOW f9 int. DL */ + 0x000fa558, + /* Control Plane w/NULL enc. + AES CMAC int. UL */ + 0x000fa558, + /* Control Plane w/NULL enc. + AES CMAC int. DL */ + 0x000fa558, + /* Control Plane w/NULL enc. + ZUC int. UL */ + 0x000fa558, + /* Control Plane w/NULL enc. + ZUC int. DL */ + 0x000fa558, + /* Control Plane w/SNOW f8 enc. + NULL int. UL */ + 0x000fa558, + /* Control Plane w/SNOW f8 enc. + NULL int. DL */ + 0x000fa558, + /* Control Plane w/SNOW f8 enc. + SNOW f9 int. UL */ + 0x000fa558, + /* Control Plane w/SNOW f8 enc. + SNOW f9 int. DL */ + 0x000fa558, + /* Control Plane w/SNOW f8 enc. + AES CMAC int. UL */ + 0x000fa558, + /* Control Plane w/SNOW f8 enc. + AES CMAC int. DL */ + 0x000fa558, + /* Control Plane w/SNOW f8 enc. + ZUC int. UL */ + 0x000fa558, + /* Control Plane w/SNOW f8 enc. + ZUC int. DL */ + 0x000fa558, + /* Control Plane w/AES CTR enc. + NULL int. UL */ + 0x000fa558, + /* Control Plane w/AES CTR enc. + NULL int. DL */ + 0x000fa558, + /* Control Plane w/AES CTR enc. + SNOW f9 int. UL */ + 0x000fa558, + /* Control Plane w/AES CTR enc. + SNOW f9 int. DL */ + 0x000fa558, + /* Control Plane w/AES CTR enc. + AES CMAC int. UL */ + 0x000fa558, + /* Control Plane w/AES CTR enc. + AES CMAC int. DL */ + 0x000fa558, + /* Control Plane w/AES CTR enc. + ZUC int. UL */ + 0x000fa558, + /* Control Plane w/AES CTR enc. + ZUC int. DL */ + 0x000fa558, + /* Control Plane w/ZUC enc. + NULL int. UL */ + 0x000fa558, + /* Control Plane w/ZUC enc. + NULL int. DL */ + 0x000fa558, + /* Control Plane w/ZUC enc. + SNOW f9 int. UL */ + 0x000fa558, + /* Control Plane w/ZUC enc. + SNOW f9 int. DL */ + 0x000fa558, + /* Control Plane w/ZUC enc. + AES CMAC int. UL */ + 0x000fa558, + /* Control Plane w/ZUC enc. + AES CMAC int. DL */ + 0x000fa558, + /* Control Plane w/ZUC enc. + ZUC int. UL */ + 0x000fa558, + /* Control Plane w/ZUC enc. + ZUC int. DL */ + 0x000fa558, + + /*********** For 12-bit C-plane ***********************/ + /* Control Plane w/NULL enc. + NULL int. UL */ + 0x70C0A, + /* Control Plane w/NULL enc. + NULL int. DL */ + 0x70C0A, + /* Control Plane w/NULL enc. + SNOW f9 int. UL */ + 0x70C0A, + /* Control Plane w/NULL enc. + SNOW f9 int. DL */ + 0x70C0A, + /* Control Plane w/NULL enc. + AES CMAC int. UL */ + 0x70C0A, + /* Control Plane w/NULL enc. + AES CMAC int. DL */ + 0x70C0A, + /* Control Plane w/NULL enc. + ZUC int. UL */ + 0x70C0A, + /* Control Plane w/NULL enc. + ZUC int. DL */ + 0x70C0A, + /* Control Plane w/SNOW f8 enc. + NULL int. UL */ + 0x70C0A, + /* Control Plane w/SNOW f8 enc. + NULL int. DL */ + 0x70C0A, + /* Control Plane w/SNOW f8 enc. + SNOW f9 int. UL */ + 0x70C0A, + /* Control Plane w/SNOW f8 enc. + SNOW f9 int. DL */ + 0x70C0A, + /* Control Plane w/SNOW f8 enc. + AES CMAC int. UL */ + 0x70C0A, + /* Control Plane w/SNOW f8 enc. + AES CMAC int. DL */ + 0x70C0A, + /* Control Plane w/SNOW f8 enc. + ZUC int. UL */ + 0x70C0A, + /* Control Plane w/SNOW f8 enc. + ZUC int. DL */ + 0x70C0A, + /* Control Plane w/AES CTR enc. + NULL int. UL */ + 0x70C0A, + /* Control Plane w/AES CTR enc. + NULL int. DL */ + 0x70C0A, + /* Control Plane w/AES CTR enc. + SNOW f9 int. UL */ + 0x70C0A, + /* Control Plane w/AES CTR enc. + SNOW f9 int. DL */ + 0x70C0A, + /* Control Plane w/AES CTR enc. + AES CMAC int. UL */ + 0x70C0A, + /* Control Plane w/AES CTR enc. + AES CMAC int. DL */ + 0x70C0A, + /* Control Plane w/AES CTR enc. + ZUC int. UL */ + 0x70C0A, + /* Control Plane w/AES CTR enc. + ZUC int. DL */ + 0x70C0A, + /* Control Plane w/ZUC enc. + NULL int. UL */ + 0x70C0A, + /* Control Plane w/ZUC enc. + NULL int. DL */ + 0x70C0A, + /* Control Plane w/ZUC enc. + SNOW f9 int. UL */ + 0x70C0A, + /* Control Plane w/ZUC enc. + SNOW f9 int. DL */ + 0x70C0A, + /* Control Plane w/ZUC enc. + AES CMAC int. UL */ + 0x70C0A, + /* Control Plane w/ZUC enc. + AES CMAC int. DL */ + 0x70C0A, + /* Control Plane w/ZUC enc. + ZUC int. UL */ + 0x70C0A, + /* Control Plane w/ZUC enc. + ZUC int. DL */ + 0x70C0A, +}; + +static uint8_t pdcp_test_bearer[] = { + /* Control Plane w/NULL enc. + NULL int. UL */ + 0x03, + /* Control Plane w/NULL enc. + NULL int. DL */ + 0x03, + /* Control Plane w/NULL enc. + SNOW f9 int. UL */ + 0x03, + /* Control Plane w/NULL enc. + SNOW f9 int. DL */ + 0x03, + /* Control Plane w/NULL enc. + AES CMAC int. UL */ + 0x03, + /* Control Plane w/NULL enc. + AES CMAC int. DL */ + 0x03, + /* Control Plane w/NULL enc. + ZUC int. UL */ + 0x03, + /* Control Plane w/NULL enc. + ZUC int. DL */ + 0x03, + /* Control Plane w/SNOW f8 enc. + NULL int. UL */ + 0x03, + /* Control Plane w/SNOW f8 enc. + NULL int. DL */ + 0x03, + /* Control Plane w/SNOW f8 enc. + SNOW f9 int. UL */ + 0x03, + /* Control Plane w/SNOW f8 enc. + SNOW f9 int. DL */ + 0x03, + /* Control Plane w/SNOW f8 enc. + AES CMAC int. UL */ + 0x03, + /* Control Plane w/SNOW f8 enc. + AES CMAC int. DL */ + 0x03, + /* Control Plane w/SNOW f8 enc. + ZUC int. UL */ + 0x03, + /* Control Plane w/SNOW f8 enc. + ZUC int. DL */ + 0x03, + /* Control Plane w/AES CTR enc. + NULL int. UL */ + 0x03, + /* Control Plane w/AES CTR enc. + NULL int. DL */ + 0x03, + /* Control Plane w/AES CTR enc. + SNOW f9 int. UL */ + 0x03, + /* Control Plane w/AES CTR enc. + SNOW f9 int. DL */ + 0x03, + /* Control Plane w/AES CTR enc. + AES CMAC int. UL */ + 0x03, + /* Control Plane w/AES CTR enc. + AES CMAC int. DL */ + 0x03, + /* Control Plane w/AES CTR enc. + ZUC int. UL */ + 0x03, + /* Control Plane w/AES CTR enc. + ZUC int. DL */ + 0x03, + /* Control Plane w/ZUC enc. + NULL int. UL */ + 0x03, + /* Control Plane w/ZUC enc. + NULL int. DL */ + 0x03, + /* Control Plane w/ZUC enc. + SNOW f9 int. UL */ + 0x03, + /* Control Plane w/ZUC enc. + SNOW f9 int. DL */ + 0x03, + /* Control Plane w/ZUC enc. + AES CMAC int. UL */ + 0x03, + /* Control Plane w/ZUC enc. + AES CMAC int. DL */ + 0x03, + /* Control Plane w/ZUC enc. + ZUC int. UL */ + 0x03, + /* Control Plane w/ZUC enc. + ZUC int. DL */ + 0x03, + + /************** For 12-bit C-plane ********************/ + /* Control Plane w/NULL enc. + NULL int. UL */ + 0x16, + /* Control Plane w/NULL enc. + NULL int. DL */ + 0x16, + /* Control Plane w/NULL enc. + SNOW f9 int. UL */ + 0x16, + /* Control Plane w/NULL enc. + SNOW f9 int. DL */ + 0x16, + /* Control Plane w/NULL enc. + AES CMAC int. UL */ + 0x16, + /* Control Plane w/NULL enc. + AES CMAC int. DL */ + 0x16, + /* Control Plane w/NULL enc. + ZUC int. UL */ + 0x16, + /* Control Plane w/NULL enc. + ZUC int. DL */ + 0x16, + /* Control Plane w/SNOW f8 enc. + NULL int. UL */ + 0x16, + /* Control Plane w/SNOW f8 enc. + NULL int. DL */ + 0x16, + /* Control Plane w/SNOW f8 enc. + SNOW f9 int. UL */ + 0x16, + /* Control Plane w/SNOW f8 enc. + SNOW f9 int. DL */ + 0x16, + /* Control Plane w/SNOW f8 enc. + AES CMAC int. UL */ + 0x16, + /* Control Plane w/SNOW f8 enc. + AES CMAC int. DL */ + 0x16, + /* Control Plane w/SNOW f8 enc. + ZUC int. UL */ + 0x16, + /* Control Plane w/SNOW f8 enc. + ZUC int. DL */ + 0x16, + /* Control Plane w/AES CTR enc. + NULL int. UL */ + 0x16, + /* Control Plane w/AES CTR enc. + NULL int. DL */ + 0x16, + /* Control Plane w/AES CTR enc. + SNOW f9 int. UL */ + 0x16, + /* Control Plane w/AES CTR enc. + SNOW f9 int. DL */ + 0x16, + /* Control Plane w/AES CTR enc. + AES CMAC int. UL */ + 0x16, + /* Control Plane w/AES CTR enc. + AES CMAC int. DL */ + 0x16, + /* Control Plane w/AES CTR enc. + ZUC int. UL */ + 0x16, + /* Control Plane w/AES CTR enc. + ZUC int. DL */ + 0x16, + /* Control Plane w/ZUC enc. + NULL int. UL */ + 0x16, + /* Control Plane w/ZUC enc. + NULL int. DL */ + 0x16, + /* Control Plane w/ZUC enc. + SNOW f9 int. UL */ + 0x16, + /* Control Plane w/ZUC enc. + SNOW f9 int. DL */ + 0x16, + /* Control Plane w/ZUC enc. + AES CMAC int. UL */ + 0x16, + /* Control Plane w/ZUC enc. + AES CMAC int. DL */ + 0x16, + /* Control Plane w/ZUC enc. + ZUC int. UL */ + 0x16, + /* Control Plane w/ZUC enc. + ZUC int. DL */ + 0x16, +}; + +static uint8_t pdcp_test_packet_direction[] = { + /* Control Plane w/NULL enc. + NULL int. UL */ + PDCP_DIR_UPLINK, + /* Control Plane w/NULL enc. + NULL int. DL */ + PDCP_DIR_DOWNLINK, + /* Control Plane w/NULL enc. + SNOW f9 int. UL */ + PDCP_DIR_UPLINK, + /* Control Plane w/NULL enc. + SNOW f9 int. DL */ + PDCP_DIR_DOWNLINK, + /* Control Plane w/NULL enc. + AES CMAC int. UL */ + PDCP_DIR_UPLINK, + /* Control Plane w/NULL enc. + AES CMAC int. DL */ + PDCP_DIR_DOWNLINK, + /* Control Plane w/NULL enc. + ZUC int. UL */ + PDCP_DIR_UPLINK, + /* Control Plane w/NULL enc. + ZUC int. DL */ + PDCP_DIR_DOWNLINK, + /* Control Plane w/SNOW f8 enc. + NULL int. UL */ + PDCP_DIR_UPLINK, + /* Control Plane w/SNOW f8 enc. + NULL int. DL */ + PDCP_DIR_DOWNLINK, + /* Control Plane w/SNOW f8 enc. + SNOW f9 int. UL */ + PDCP_DIR_UPLINK, + /* Control Plane w/SNOW f8 enc. + SNOW f9 int. DL */ + PDCP_DIR_DOWNLINK, + /* Control Plane w/SNOW f8 enc. + AES CMAC int. UL */ + PDCP_DIR_UPLINK, + /* Control Plane w/SNOW f8 enc. + AES CMAC int. DL */ + PDCP_DIR_DOWNLINK, + /* Control Plane w/SNOW f8 enc. + ZUC int. UL */ + PDCP_DIR_UPLINK, + /* Control Plane w/SNOW f8 enc. + ZUC int. DL */ + PDCP_DIR_DOWNLINK, + /* Control Plane w/AES CTR enc. + NULL int. UL */ + PDCP_DIR_UPLINK, + /* Control Plane w/AES CTR enc. + NULL int. DL */ + PDCP_DIR_DOWNLINK, + /* Control Plane w/AES CTR enc. + SNOW f9 int. UL */ + PDCP_DIR_UPLINK, + /* Control Plane w/AES CTR enc. + SNOW f9 int. DL */ + PDCP_DIR_DOWNLINK, + /* Control Plane w/AES CTR enc. + AES CMAC int. UL */ + PDCP_DIR_UPLINK, + /* Control Plane w/AES CTR enc. + AES CMAC int. DL */ + PDCP_DIR_DOWNLINK, + /* Control Plane w/AES CTR enc. + ZUC int. UL */ + PDCP_DIR_UPLINK, + /* Control Plane w/AES CTR enc. + ZUC int. DL */ + PDCP_DIR_DOWNLINK, + /* Control Plane w/ZUC enc. + NULL int. UL */ + PDCP_DIR_UPLINK, + /* Control Plane w/ZUC enc. + NULL int. DL */ + PDCP_DIR_DOWNLINK, + /* Control Plane w/ZUC enc. + SNOW f9 int. UL */ + PDCP_DIR_UPLINK, + /* Control Plane w/ZUC enc. + SNOW f9 int. DL */ + PDCP_DIR_DOWNLINK, + /* Control Plane w/ZUC enc. + AES CMAC int. UL */ + PDCP_DIR_UPLINK, + /* Control Plane w/ZUC enc. + AES CMAC int. DL */ + PDCP_DIR_DOWNLINK, + /* Control Plane w/ZUC enc. + ZUC int. UL */ + PDCP_DIR_UPLINK, + /* Control Plane w/ZUC enc. + ZUC int. DL */ + PDCP_DIR_DOWNLINK, + + /***************** For 12-bit C-plane **********************/ + /* Control Plane w/NULL enc. + NULL int. UL */ + PDCP_DIR_UPLINK, + /* Control Plane w/NULL enc. + NULL int. DL */ + PDCP_DIR_DOWNLINK, + /* Control Plane w/NULL enc. + SNOW f9 int. UL */ + PDCP_DIR_UPLINK, + /* Control Plane w/NULL enc. + SNOW f9 int. DL */ + PDCP_DIR_DOWNLINK, + /* Control Plane w/NULL enc. + AES CMAC int. UL */ + PDCP_DIR_UPLINK, + /* Control Plane w/NULL enc. + AES CMAC int. DL */ + PDCP_DIR_DOWNLINK, + /* Control Plane w/NULL enc. + ZUC int. UL */ + PDCP_DIR_UPLINK, + /* Control Plane w/NULL enc. + ZUC int. DL */ + PDCP_DIR_DOWNLINK, + /* Control Plane w/SNOW f8 enc. + NULL int. UL */ + PDCP_DIR_UPLINK, + /* Control Plane w/SNOW f8 enc. + NULL int. DL */ + PDCP_DIR_DOWNLINK, + /* Control Plane w/SNOW f8 enc. + SNOW f9 int. UL */ + PDCP_DIR_UPLINK, + /* Control Plane w/SNOW f8 enc. + SNOW f9 int. DL */ + PDCP_DIR_DOWNLINK, + /* Control Plane w/SNOW f8 enc. + AES CMAC int. UL */ + PDCP_DIR_UPLINK, + /* Control Plane w/SNOW f8 enc. + AES CMAC int. DL */ + PDCP_DIR_DOWNLINK, + /* Control Plane w/SNOW f8 enc. + ZUC int. UL */ + PDCP_DIR_UPLINK, + /* Control Plane w/SNOW f8 enc. + ZUC int. DL */ + PDCP_DIR_DOWNLINK, + /* Control Plane w/AES CTR enc. + NULL int. UL */ + PDCP_DIR_UPLINK, + /* Control Plane w/AES CTR enc. + NULL int. DL */ + PDCP_DIR_DOWNLINK, + /* Control Plane w/AES CTR enc. + SNOW f9 int. UL */ + PDCP_DIR_UPLINK, + /* Control Plane w/AES CTR enc. + SNOW f9 int. DL */ + PDCP_DIR_DOWNLINK, + /* Control Plane w/AES CTR enc. + AES CMAC int. UL */ + PDCP_DIR_UPLINK, + /* Control Plane w/AES CTR enc. + AES CMAC int. DL */ + PDCP_DIR_DOWNLINK, + /* Control Plane w/AES CTR enc. + ZUC int. UL */ + PDCP_DIR_UPLINK, + /* Control Plane w/AES CTR enc. + ZUC int. DL */ + PDCP_DIR_DOWNLINK, + /* Control Plane w/ZUC enc. + NULL int. UL */ + PDCP_DIR_UPLINK, + /* Control Plane w/ZUC enc. + NULL int. DL */ + PDCP_DIR_DOWNLINK, + /* Control Plane w/ZUC enc. + SNOW f9 int. UL */ + PDCP_DIR_UPLINK, + /* Control Plane w/ZUC enc. + SNOW f9 int. DL */ + PDCP_DIR_DOWNLINK, + /* Control Plane w/ZUC enc. + AES CMAC int. UL */ + PDCP_DIR_UPLINK, + /* Control Plane w/ZUC enc. + AES CMAC int. DL */ + PDCP_DIR_DOWNLINK, + /* Control Plane w/ZUC enc. + ZUC int. UL */ + PDCP_DIR_UPLINK, + /* Control Plane w/ZUC enc. + ZUC int. DL */ + PDCP_DIR_DOWNLINK, +}; + +static uint8_t pdcp_test_data_sn_size[] = { + /* Control Plane w/NULL enc. + NULL int. UL */ + 5, + /* Control Plane w/NULL enc. + NULL int. DL */ + 5, + /* Control Plane w/NULL enc. + SNOW f9 int. UL */ + 5, + /* Control Plane w/NULL enc. + SNOW f9 int. DL */ + 5, + /* Control Plane w/NULL enc. + AES CMAC int. UL */ + 5, + /* Control Plane w/NULL enc. + AES CMAC int. DL */ + 5, + /* Control Plane w/NULL enc. + ZUC int. UL */ + 5, + /* Control Plane w/NULL enc. + ZUC int. DL */ + 5, + /* Control Plane w/SNOW f8 enc. + NULL int. UL */ + 5, + /* Control Plane w/SNOW f8 enc. + NULL int. DL */ + 5, + /* Control Plane w/SNOW f8 enc. + SNOW f9 int. UL */ + 5, + /* Control Plane w/SNOW f8 enc. + SNOW f9 int. DL */ + 5, + /* Control Plane w/SNOW f8 enc. + AES CMAC int. UL */ + 5, + /* Control Plane w/SNOW f8 enc. + AES CMAC int. DL */ + 5, + /* Control Plane w/SNOW f8 enc. + ZUC int. UL */ + 5, + /* Control Plane w/SNOW f8 enc. + ZUC int. DL */ + 5, + /* Control Plane w/AES CTR enc. + NULL int. UL */ + 5, + /* Control Plane w/AES CTR enc. + NULL int. DL */ + 5, + /* Control Plane w/AES CTR enc. + SNOW f9 int. UL */ + 5, + /* Control Plane w/AES CTR enc. + SNOW f9 int. DL */ + 5, + /* Control Plane w/AES CTR enc. + AES CMAC int. UL */ + 5, + /* Control Plane w/AES CTR enc. + AES CMAC int. DL */ + 5, + /* Control Plane w/AES CTR enc. + ZUC int. UL */ + 5, + /* Control Plane w/AES CTR enc. + ZUC int. DL */ + 5, + /* Control Plane w/ZUC enc. + NULL int. UL */ + 5, + /* Control Plane w/ZUC enc. + NULL int. DL */ + 5, + /* Control Plane w/ZUC enc. + SNOW f9 int. UL */ + 5, + /* Control Plane w/ZUC enc. + SNOW f9 int. DL */ + 5, + /* Control Plane w/ZUC enc. + AES CMAC int. UL */ + 5, + /* Control Plane w/ZUC enc. + AES CMAC int. DL */ + 5, + /* Control Plane w/ZUC enc. + ZUC int. UL */ + 5, + /* Control Plane w/ZUC enc. + ZUC int. DL */ + 5, + + /*************** 12 bit SN for C-plane **************************/ + /* Control Plane w/NULL enc. + NULL int. UL */ + 12, + /* Control Plane w/NULL enc. + NULL int. DL */ + 12, + /* Control Plane w/NULL enc. + SNOW f9 int. UL */ + 12, + /* Control Plane w/NULL enc. + SNOW f9 int. DL */ + 12, + /* Control Plane w/NULL enc. + AES CMAC int. UL */ + 12, + /* Control Plane w/NULL enc. + AES CMAC int. DL */ + 12, + /* Control Plane w/NULL enc. + ZUC int. UL */ + 12, + /* Control Plane w/NULL enc. + ZUC int. DL */ + 12, + /* Control Plane w/SNOW f8 enc. + NULL int. UL */ + 12, + /* Control Plane w/SNOW f8 enc. + NULL int. DL */ + 12, + /* Control Plane w/SNOW f8 enc. + SNOW f9 int. UL */ + 12, + /* Control Plane w/SNOW f8 enc. + SNOW f9 int. DL */ + 12, + /* Control Plane w/SNOW f8 enc. + AES CMAC int. UL */ + 12, + /* Control Plane w/SNOW f8 enc. + AES CMAC int. DL */ + 12, + /* Control Plane w/SNOW f8 enc. + ZUC int. UL */ + 12, + /* Control Plane w/SNOW f8 enc. + ZUC int. DL */ + 12, + /* Control Plane w/AES CTR enc. + NULL int. UL */ + 12, + /* Control Plane w/AES CTR enc. + NULL int. DL */ + 12, + /* Control Plane w/AES CTR enc. + SNOW f9 int. UL */ + 12, + /* Control Plane w/AES CTR enc. + SNOW f9 int. DL */ + 12, + /* Control Plane w/AES CTR enc. + AES CMAC int. UL */ + 12, + /* Control Plane w/AES CTR enc. + AES CMAC int. DL */ + 12, + /* Control Plane w/AES CTR enc. + ZUC int. UL */ + 12, + /* Control Plane w/AES CTR enc. + ZUC int. DL */ + 12, + /* Control Plane w/ZUC enc. + NULL int. UL */ + 12, + /* Control Plane w/ZUC enc. + NULL int. DL */ + 12, + /* Control Plane w/ZUC enc. + SNOW f9 int. UL */ + 12, + /* Control Plane w/ZUC enc. + SNOW f9 int. DL */ + 12, + /* Control Plane w/ZUC enc. + AES CMAC int. UL */ + 12, + /* Control Plane w/ZUC enc. + AES CMAC int. DL */ + 12, + /* Control Plane w/ZUC enc. + ZUC int. UL */ + 12, + /* Control Plane w/ZUC enc. + ZUC int. DL */ + 12, + /*************** 12 bit SN for C-plane end **************************/ +}; + +static uint8_t *pdcp_test_crypto_key[] = { + /* Control Plane w/NULL enc. + NULL int. UL */ + (uint8_t[]){0x5a, 0xcb, 0x1d, 0x64, 0x4c, 0x0d, 0x51, 0x20, 0x4e, 0xa5, + 0xf1, 0x45, 0x10, 0x10, 0xd8, 0x52}, + /* Control Plane w/NULL enc. + NULL int. DL */ + (uint8_t[]){0x5a, 0xcb, 0x1d, 0x64, 0x4c, 0x0d, 0x51, 0x20, 0x4e, 0xa5, + 0xf1, 0x45, 0x10, 0x10, 0xd8, 0x52}, + /* Control Plane w/NULL enc. + SNOW f9 int. UL */ + (uint8_t[]){0x5a, 0xcb, 0x1d, 0x64, 0x4c, 0x0d, 0x51, 0x20, 0x4e, 0xa5, + 0xf1, 0x45, 0x10, 0x10, 0xd8, 0x52}, + /* Control Plane w/NULL enc. + SNOW f9 int. DL */ + (uint8_t[]){0x5a, 0xcb, 0x1d, 0x64, 0x4c, 0x0d, 0x51, 0x20, 0x4e, 0xa5, + 0xf1, 0x45, 0x10, 0x10, 0xd8, 0x52}, + /* Control Plane w/NULL enc. + AES CMAC int. UL */ + (uint8_t[]){0x5a, 0xcb, 0x1d, 0x64, 0x4c, 0x0d, 0x51, 0x20, 0x4e, 0xa5, + 0xf1, 0x45, 0x10, 0x10, 0xd8, 0x52}, + /* Control Plane w/NULL enc. + AES CMAC int. DL */ + (uint8_t[]){0x5a, 0xcb, 0x1d, 0x64, 0x4c, 0x0d, 0x51, 0x20, 0x4e, 0xa5, + 0xf1, 0x45, 0x10, 0x10, 0xd8, 0x52}, + /* Control Plane w/NULL enc. + ZUC int. UL */ + (uint8_t[]){0x5a, 0xcb, 0x1d, 0x64, 0x4c, 0x0d, 0x51, 0x20, 0x4e, 0xa5, + 0xf1, 0x45, 0x10, 0x10, 0xd8, 0x52}, + /* Control Plane w/NULL enc. + ZUC int. DL */ + (uint8_t[]){0x5a, 0xcb, 0x1d, 0x64, 0x4c, 0x0d, 0x51, 0x20, 0x4e, 0xa5, + 0xf1, 0x45, 0x10, 0x10, 0xd8, 0x52}, + /* Control Plane w/SNOW f8 enc. + NULL int. UL */ + (uint8_t[]){0x5a, 0xcb, 0x1d, 0x64, 0x4c, 0x0d, 0x51, 0x20, 0x4e, 0xa5, + 0xf1, 0x45, 0x10, 0x10, 0xd8, 0x52}, + /* Control Plane w/SNOW f8 enc. + NULL int. DL */ + (uint8_t[]){0x5a, 0xcb, 0x1d, 0x64, 0x4c, 0x0d, 0x51, 0x20, 0x4e, 0xa5, + 0xf1, 0x45, 0x10, 0x10, 0xd8, 0x52}, + /* Control Plane w/SNOW f8 enc. + SNOW f9 int. UL */ + (uint8_t[]){0x5a, 0xcb, 0x1d, 0x64, 0x4c, 0x0d, 0x51, 0x20, 0x4e, 0xa5, + 0xf1, 0x45, 0x10, 0x10, 0xd8, 0x52}, + /* Control Plane w/SNOW f8 enc. + SNOW f9 int. DL */ + (uint8_t[]){0x5a, 0xcb, 0x1d, 0x64, 0x4c, 0x0d, 0x51, 0x20, 0x4e, 0xa5, + 0xf1, 0x45, 0x10, 0x10, 0xd8, 0x52}, + /* Control Plane w/SNOW f8 enc. + AES CMAC int. UL */ + (uint8_t[]){0x5a, 0xcb, 0x1d, 0x64, 0x4c, 0x0d, 0x51, 0x20, 0x4e, 0xa5, + 0xf1, 0x45, 0x10, 0x10, 0xd8, 0x52}, + /* Control Plane w/SNOW f8 enc. + AES CMAC int. DL */ + (uint8_t[]){0x5a, 0xcb, 0x1d, 0x64, 0x4c, 0x0d, 0x51, 0x20, 0x4e, 0xa5, + 0xf1, 0x45, 0x10, 0x10, 0xd8, 0x52}, + /* Control Plane w/SNOW f8 enc. + ZUC int. UL */ + (uint8_t[]){0x5a, 0xcb, 0x1d, 0x64, 0x4c, 0x0d, 0x51, 0x20, 0x4e, 0xa5, + 0xf1, 0x45, 0x10, 0x10, 0xd8, 0x52}, + /* Control Plane w/SNOW f8 enc. + ZUC int. DL */ + (uint8_t[]){0x5a, 0xcb, 0x1d, 0x64, 0x4c, 0x0d, 0x51, 0x20, 0x4e, 0xa5, + 0xf1, 0x45, 0x10, 0x10, 0xd8, 0x52}, + /* Control Plane w/AES CTR enc. + NULL int. UL */ + (uint8_t[]){0x5a, 0xcb, 0x1d, 0x64, 0x4c, 0x0d, 0x51, 0x20, 0x4e, 0xa5, + 0xf1, 0x45, 0x10, 0x10, 0xd8, 0x52}, + /* Control Plane w/AES CTR enc. + NULL int. DL */ + (uint8_t[]){0x5a, 0xcb, 0x1d, 0x64, 0x4c, 0x0d, 0x51, 0x20, 0x4e, 0xa5, + 0xf1, 0x45, 0x10, 0x10, 0xd8, 0x52}, + /* Control Plane w/AES CTR enc. + SNOW f9 int. UL */ + (uint8_t[]){0x5a, 0xcb, 0x1d, 0x64, 0x4c, 0x0d, 0x51, 0x20, 0x4e, 0xa5, + 0xf1, 0x45, 0x10, 0x10, 0xd8, 0x52}, + /* Control Plane w/AES CTR enc. + SNOW f9 int. DL */ + (uint8_t[]){0x5a, 0xcb, 0x1d, 0x64, 0x4c, 0x0d, 0x51, 0x20, 0x4e, 0xa5, + 0xf1, 0x45, 0x10, 0x10, 0xd8, 0x52}, + /* Control Plane w/AES CTR enc. + AES CMAC int. UL */ + (uint8_t[]){0x5a, 0xcb, 0x1d, 0x64, 0x4c, 0x0d, 0x51, 0x20, 0x4e, 0xa5, + 0xf1, 0x45, 0x10, 0x10, 0xd8, 0x52}, + /* Control Plane w/AES CTR enc. + AES CMAC int. DL */ + (uint8_t[]){0x5a, 0xcb, 0x1d, 0x64, 0x4c, 0x0d, 0x51, 0x20, 0x4e, 0xa5, + 0xf1, 0x45, 0x10, 0x10, 0xd8, 0x52}, + /* Control Plane w/AES CTR enc. + ZUC int. UL */ + (uint8_t[]){0x5a, 0xcb, 0x1d, 0x64, 0x4c, 0x0d, 0x51, 0x20, 0x4e, 0xa5, + 0xf1, 0x45, 0x10, 0x10, 0xd8, 0x52}, + /* Control Plane w/AES CTR enc. + ZUC int. DL */ + (uint8_t[]){0x5a, 0xcb, 0x1d, 0x64, 0x4c, 0x0d, 0x51, 0x20, 0x4e, 0xa5, + 0xf1, 0x45, 0x10, 0x10, 0xd8, 0x52}, + /* Control Plane w/ZUC enc. + NULL int. UL */ + (uint8_t[]){0x5a, 0xcb, 0x1d, 0x64, 0x4c, 0x0d, 0x51, 0x20, 0x4e, 0xa5, + 0xf1, 0x45, 0x10, 0x10, 0xd8, 0x52}, + /* Control Plane w/ZUC enc. + NULL int. DL */ + (uint8_t[]){0x5a, 0xcb, 0x1d, 0x64, 0x4c, 0x0d, 0x51, 0x20, 0x4e, 0xa5, + 0xf1, 0x45, 0x10, 0x10, 0xd8, 0x52}, + /* Control Plane w/ZUC enc. + SNOW f9 int. UL */ + (uint8_t[]){0x5a, 0xcb, 0x1d, 0x64, 0x4c, 0x0d, 0x51, 0x20, 0x4e, 0xa5, + 0xf1, 0x45, 0x10, 0x10, 0xd8, 0x52}, + /* Control Plane w/ZUC enc. + SNOW f9 int. DL */ + (uint8_t[]){0x5a, 0xcb, 0x1d, 0x64, 0x4c, 0x0d, 0x51, 0x20, 0x4e, 0xa5, + 0xf1, 0x45, 0x10, 0x10, 0xd8, 0x52}, + /* Control Plane w/ZUC enc. + AES CMAC int. UL */ + (uint8_t[]){0x5a, 0xcb, 0x1d, 0x64, 0x4c, 0x0d, 0x51, 0x20, 0x4e, 0xa5, + 0xf1, 0x45, 0x10, 0x10, 0xd8, 0x52}, + /* Control Plane w/ZUC enc. + AES CMAC int. DL */ + (uint8_t[]){0x5a, 0xcb, 0x1d, 0x64, 0x4c, 0x0d, 0x51, 0x20, 0x4e, 0xa5, + 0xf1, 0x45, 0x10, 0x10, 0xd8, 0x52}, + /* Control Plane w/ZUC enc. + ZUC int. UL */ + (uint8_t[]){0x5a, 0xcb, 0x1d, 0x64, 0x4c, 0x0d, 0x51, 0x20, 0x4e, 0xa5, + 0xf1, 0x45, 0x10, 0x10, 0xd8, 0x52}, + /* Control Plane w/ZUC enc. + ZUC int. DL */ + (uint8_t[]){0x5a, 0xcb, 0x1d, 0x64, 0x4c, 0x0d, 0x51, 0x20, 0x4e, 0xa5, + 0xf1, 0x45, 0x10, 0x10, 0xd8, 0x52}, + + /*********** C-plane 12-bit **************/ + /* Control Plane w/NULL enc. + NULL int. UL */ + NULL, + /* Control Plane w/NULL enc. + NULL int. DL */ + NULL, + /* Control Plane w/NULL enc. + SNOW f9 int. UL */ + NULL, + /* Control Plane w/NULL enc. + SNOW f9 int. DL */ + NULL, + /* Control Plane w/NULL enc. + AES CMAC int. UL */ + NULL, + /* Control Plane w/NULL enc. + AES CMAC int. DL */ + NULL, + /* Control Plane w/NULL enc. + ZUC int. UL */ + NULL, + /* Control Plane w/NULL enc. + ZUC int. DL */ + NULL, + /* Control Plane w/SNOW f8 enc. + NULL int. UL */ + (uint8_t[]){0x40, 0x19, 0xE2, 0x99, 0x16, 0xC3, 0x7E, 0x9B, 0xA6, 0x8F, + 0x57, 0xBE, 0x97, 0xFD, 0x02, 0xCB}, + /* Control Plane w/SNOW f8 enc. + NULL int. DL */ + (uint8_t[]){0x40, 0x19, 0xE2, 0x99, 0x16, 0xC3, 0x7E, 0x9B, 0xA6, 0x8F, + 0x57, 0xBE, 0x97, 0xFD, 0x02, 0xCB}, + /* Control Plane w/SNOW f8 enc. + SNOW f9 int. UL */ + (uint8_t[]){0x40, 0x19, 0xE2, 0x99, 0x16, 0xC3, 0x7E, 0x9B, 0xA6, 0x8F, + 0x57, 0xBE, 0x97, 0xFD, 0x02, 0xCB}, + /* Control Plane w/SNOW f8 enc. + SNOW f9 int. DL */ + (uint8_t[]){0x40, 0x19, 0xE2, 0x99, 0x16, 0xC3, 0x7E, 0x9B, 0xA6, 0x8F, + 0x57, 0xBE, 0x97, 0xFD, 0x02, 0xCB}, + + /* Control Plane w/SNOW f8 enc. + AES CMAC int. UL */ + (uint8_t[]){0x40, 0x19, 0xE2, 0x99, 0x16, 0xC3, 0x7E, 0x9B, 0xA6, 0x8F, + 0x57, 0xBE, 0x97, 0xFD, 0x02, 0xCB}, + /* Control Plane w/SNOW f8 enc. + AES CMAC int. DL */ + (uint8_t[]){0x40, 0x19, 0xE2, 0x99, 0x16, 0xC3, 0x7E, 0x9B, 0xA6, 0x8F, + 0x57, 0xBE, 0x97, 0xFD, 0x02, 0xCB}, + /* Control Plane w/SNOW f8 enc. + ZUC int. UL */ + (uint8_t[]){0x40, 0x19, 0xE2, 0x99, 0x16, 0xC3, 0x7E, 0x9B, 0xA6, 0x8F, + 0x57, 0xBE, 0x97, 0xFD, 0x02, 0xCB}, + /* Control Plane w/SNOW f8 enc. + ZUC int. DL */ + (uint8_t[]){0x40, 0x19, 0xE2, 0x99, 0x16, 0xC3, 0x7E, 0x9B, 0xA6, 0x8F, + 0x57, 0xBE, 0x97, 0xFD, 0x02, 0xCB}, + + /* Control Plane w/AES CTR enc. + NULL int. UL */ + (uint8_t[]){0x40, 0x19, 0xE2, 0x99, 0x16, 0xC3, 0x7E, 0x9B, 0xA6, 0x8F, + 0x57, 0xBE, 0x97, 0xFD, 0x02, 0xCB}, + /* Control Plane w/AES CTR enc. + NULL int. DL */ + (uint8_t[]){0x40, 0x19, 0xE2, 0x99, 0x16, 0xC3, 0x7E, 0x9B, 0xA6, 0x8F, + 0x57, 0xBE, 0x97, 0xFD, 0x02, 0xCB}, + /* Control Plane w/AES CTR enc. + SNOW f9 int. UL */ + (uint8_t[]){0x40, 0x19, 0xE2, 0x99, 0x16, 0xC3, 0x7E, 0x9B, 0xA6, 0x8F, + 0x57, 0xBE, 0x97, 0xFD, 0x02, 0xCB}, + /* Control Plane w/AES CTR enc. + SNOW f9 int. DL */ + (uint8_t[]){0x40, 0x19, 0xE2, 0x99, 0x16, 0xC3, 0x7E, 0x9B, 0xA6, 0x8F, + 0x57, 0xBE, 0x97, 0xFD, 0x02, 0xCB}, + /* Control Plane w/AES CTR enc. + AES CMAC int. UL */ + (uint8_t[]){0x40, 0x19, 0xE2, 0x99, 0x16, 0xC3, 0x7E, 0x9B, 0xA6, 0x8F, + 0x57, 0xBE, 0x97, 0xFD, 0x02, 0xCB}, + /* Control Plane w/AES CTR enc. + AES CMAC int. DL */ + (uint8_t[]){0x40, 0x19, 0xE2, 0x99, 0x16, 0xC3, 0x7E, 0x9B, 0xA6, 0x8F, + 0x57, 0xBE, 0x97, 0xFD, 0x02, 0xCB}, + /* Control Plane w/AES CTR enc. + ZUC int. UL */ + (uint8_t[]){0x40, 0x19, 0xE2, 0x99, 0x16, 0xC3, 0x7E, 0x9B, 0xA6, 0x8F, + 0x57, 0xBE, 0x97, 0xFD, 0x02, 0xCB}, + /* Control Plane w/AES CTR enc. + ZUC int. DL */ + (uint8_t[]){0x40, 0x19, 0xE2, 0x99, 0x16, 0xC3, 0x7E, 0x9B, 0xA6, 0x8F, + 0x57, 0xBE, 0x97, 0xFD, 0x02, 0xCB}, + + /* Control Plane w/ZUC enc. + NULL int. UL */ + (uint8_t[]){0x40, 0x19, 0xE2, 0x99, 0x16, 0xC3, 0x7E, 0x9B, 0xA6, 0x8F, + 0x57, 0xBE, 0x97, 0xFD, 0x02, 0xCB}, + /* Control Plane w/ZUC enc. + NULL int. DL */ + (uint8_t[]){0x40, 0x19, 0xE2, 0x99, 0x16, 0xC3, 0x7E, 0x9B, 0xA6, 0x8F, + 0x57, 0xBE, 0x97, 0xFD, 0x02, 0xCB}, + /* Control Plane w/ZUC enc. + SNOW f9 int. UL */ + (uint8_t[]){0x40, 0x19, 0xE2, 0x99, 0x16, 0xC3, 0x7E, 0x9B, 0xA6, 0x8F, + 0x57, 0xBE, 0x97, 0xFD, 0x02, 0xCB}, + /* Control Plane w/ZUC enc. + SNOW f9 int. DL */ + (uint8_t[]){0x40, 0x19, 0xE2, 0x99, 0x16, 0xC3, 0x7E, 0x9B, 0xA6, 0x8F, + 0x57, 0xBE, 0x97, 0xFD, 0x02, 0xCB}, + /* Control Plane w/ZUC enc. + AES CMAC int. UL */ + (uint8_t[]){0x40, 0x19, 0xE2, 0x99, 0x16, 0xC3, 0x7E, 0x9B, 0xA6, 0x8F, + 0x57, 0xBE, 0x97, 0xFD, 0x02, 0xCB}, + /* Control Plane w/ZUC enc. + AES CMAC int. DL */ + (uint8_t[]){0x40, 0x19, 0xE2, 0x99, 0x16, 0xC3, 0x7E, 0x9B, 0xA6, 0x8F, + 0x57, 0xBE, 0x97, 0xFD, 0x02, 0xCB}, + /* Control Plane w/ZUC enc. + ZUC int. UL */ + (uint8_t[]){0x40, 0x19, 0xE2, 0x99, 0x16, 0xC3, 0x7E, 0x9B, 0xA6, 0x8F, + 0x57, 0xBE, 0x97, 0xFD, 0x02, 0xCB}, + /* Control Plane w/ZUC enc. + ZUC int. DL */ + (uint8_t[]){0x40, 0x19, 0xE2, 0x99, 0x16, 0xC3, 0x7E, 0x9B, 0xA6, 0x8F, + 0x57, 0xBE, 0x97, 0xFD, 0x02, 0xCB}, + +}; + +static uint8_t *pdcp_test_auth_key[] = { + /* Control Plane w/NULL enc. + NULL int. UL */ + (uint8_t[]){0xc7, 0x36, 0xc6, 0xaa, 0xb2, 0x2b, 0xff, 0xf9, 0x1e, 0x26, + 0x98, 0xd2, 0xe2, 0x2a, 0xd5, 0x7e}, + /* Control Plane w/NULL enc. + NULL int. DL */ + (uint8_t[]){0xc7, 0x36, 0xc6, 0xaa, 0xb2, 0x2b, 0xff, 0xf9, 0x1e, 0x26, + 0x98, 0xd2, 0xe2, 0x2a, 0xd5, 0x7e}, + /* Control Plane w/NULL enc. + SNOW f9 int. UL */ + (uint8_t[]){0xc7, 0x36, 0xc6, 0xaa, 0xb2, 0x2b, 0xff, 0xf9, 0x1e, 0x26, + 0x98, 0xd2, 0xe2, 0x2a, 0xd5, 0x7e}, + /* Control Plane w/NULL enc. + SNOW f9 int. DL */ + (uint8_t[]){0xc7, 0x36, 0xc6, 0xaa, 0xb2, 0x2b, 0xff, 0xf9, 0x1e, 0x26, + 0x98, 0xd2, 0xe2, 0x2a, 0xd5, 0x7e}, + /* Control Plane w/NULL enc. + AES CMAC int. UL */ + (uint8_t[]){0xc7, 0x36, 0xc6, 0xaa, 0xb2, 0x2b, 0xff, 0xf9, 0x1e, 0x26, + 0x98, 0xd2, 0xe2, 0x2a, 0xd5, 0x7e}, + /* Control Plane w/NULL enc. + AES CMAC int. DL */ + (uint8_t[]){0xc7, 0x36, 0xc6, 0xaa, 0xb2, 0x2b, 0xff, 0xf9, 0x1e, 0x26, + 0x98, 0xd2, 0xe2, 0x2a, 0xd5, 0x7e}, + /* Control Plane w/NULL enc. + ZUC int. UL */ + (uint8_t[]){0xc7, 0x36, 0xc6, 0xaa, 0xb2, 0x2b, 0xff, 0xf9, 0x1e, 0x26, + 0x98, 0xd2, 0xe2, 0x2a, 0xd5, 0x7e}, + /* Control Plane w/NULL enc. + ZUC int. DL */ + (uint8_t[]){0xc7, 0x36, 0xc6, 0xaa, 0xb2, 0x2b, 0xff, 0xf9, 0x1e, 0x26, + 0x98, 0xd2, 0xe2, 0x2a, 0xd5, 0x7e}, + /* Control Plane w/SNOW f8 enc. + NULL int. UL */ + (uint8_t[]){0xc7, 0x36, 0xc6, 0xaa, 0xb2, 0x2b, 0xff, 0xf9, 0x1e, 0x26, + 0x98, 0xd2, 0xe2, 0x2a, 0xd5, 0x7e}, + /* Control Plane w/SNOW f8 enc. + NULL int. DL */ + (uint8_t[]){0xc7, 0x36, 0xc6, 0xaa, 0xb2, 0x2b, 0xff, 0xf9, 0x1e, 0x26, + 0x98, 0xd2, 0xe2, 0x2a, 0xd5, 0x7e}, + /* Control Plane w/SNOW f8 enc. + SNOW f9 int. UL */ + (uint8_t[]){0xc7, 0x36, 0xc6, 0xaa, 0xb2, 0x2b, 0xff, 0xf9, 0x1e, 0x26, + 0x98, 0xd2, 0xe2, 0x2a, 0xd5, 0x7e}, + /* Control Plane w/SNOW f8 enc. + SNOW f9 int. DL */ + (uint8_t[]){0xc7, 0x36, 0xc6, 0xaa, 0xb2, 0x2b, 0xff, 0xf9, 0x1e, 0x26, + 0x98, 0xd2, 0xe2, 0x2a, 0xd5, 0x7e}, + /* Control Plane w/SNOW f8 enc. + AES CMAC int. UL */ + (uint8_t[]){0xc7, 0x36, 0xc6, 0xaa, 0xb2, 0x2b, 0xff, 0xf9, 0x1e, 0x26, + 0x98, 0xd2, 0xe2, 0x2a, 0xd5, 0x7e}, + /* Control Plane w/SNOW f8 enc. + AES CMAC int. DL */ + (uint8_t[]){0xc7, 0x36, 0xc6, 0xaa, 0xb2, 0x2b, 0xff, 0xf9, 0x1e, 0x26, + 0x98, 0xd2, 0xe2, 0x2a, 0xd5, 0x7e}, + /* Control Plane w/SNOW f8 enc. + ZUC int. UL */ + (uint8_t[]){0xc7, 0x36, 0xc6, 0xaa, 0xb2, 0x2b, 0xff, 0xf9, 0x1e, 0x26, + 0x98, 0xd2, 0xe2, 0x2a, 0xd5, 0x7e}, + /* Control Plane w/SNOW f8 enc. + ZUC int. DL */ + (uint8_t[]){0xc7, 0x36, 0xc6, 0xaa, 0xb2, 0x2b, 0xff, 0xf9, 0x1e, 0x26, + 0x98, 0xd2, 0xe2, 0x2a, 0xd5, 0x7e}, + /* Control Plane w/AES CTR enc. + NULL int. UL */ + (uint8_t[]){0xc7, 0x36, 0xc6, 0xaa, 0xb2, 0x2b, 0xff, 0xf9, 0x1e, 0x26, + 0x98, 0xd2, 0xe2, 0x2a, 0xd5, 0x7e}, + /* Control Plane w/AES CTR enc. + NULL int. DL */ + (uint8_t[]){0xc7, 0x36, 0xc6, 0xaa, 0xb2, 0x2b, 0xff, 0xf9, 0x1e, 0x26, + 0x98, 0xd2, 0xe2, 0x2a, 0xd5, 0x7e}, + /* Control Plane w/AES CTR enc. + SNOW f9 int. UL */ + (uint8_t[]){0xc7, 0x36, 0xc6, 0xaa, 0xb2, 0x2b, 0xff, 0xf9, 0x1e, 0x26, + 0x98, 0xd2, 0xe2, 0x2a, 0xd5, 0x7e}, + /* Control Plane w/AES CTR enc. + SNOW f9 int. DL */ + (uint8_t[]){0xc7, 0x36, 0xc6, 0xaa, 0xb2, 0x2b, 0xff, 0xf9, 0x1e, 0x26, + 0x98, 0xd2, 0xe2, 0x2a, 0xd5, 0x7e}, + /* Control Plane w/AES CTR enc. + AES CMAC int. UL */ + (uint8_t[]){0xc7, 0x36, 0xc6, 0xaa, 0xb2, 0x2b, 0xff, 0xf9, 0x1e, 0x26, + 0x98, 0xd2, 0xe2, 0x2a, 0xd5, 0x7e}, + /* Control Plane w/AES CTR enc. + AES CMAC int. DL */ + (uint8_t[]){0xc7, 0x36, 0xc6, 0xaa, 0xb2, 0x2b, 0xff, 0xf9, 0x1e, 0x26, + 0x98, 0xd2, 0xe2, 0x2a, 0xd5, 0x7e}, + /* Control Plane w/AES CTR enc. + ZUC int. UL */ + (uint8_t[]){0xc7, 0x36, 0xc6, 0xaa, 0xb2, 0x2b, 0xff, 0xf9, 0x1e, 0x26, + 0x98, 0xd2, 0xe2, 0x2a, 0xd5, 0x7e}, + /* Control Plane w/AES CTR enc. + ZUC int. DL */ + (uint8_t[]){0xc7, 0x36, 0xc6, 0xaa, 0xb2, 0x2b, 0xff, 0xf9, 0x1e, 0x26, + 0x98, 0xd2, 0xe2, 0x2a, 0xd5, 0x7e}, + /* Control Plane w/ZUC enc. + NULL int. UL */ + (uint8_t[]){0xc7, 0x36, 0xc6, 0xaa, 0xb2, 0x2b, 0xff, 0xf9, 0x1e, 0x26, + 0x98, 0xd2, 0xe2, 0x2a, 0xd5, 0x7e}, + /* Control Plane w/ZUC enc. + NULL int. DL */ + (uint8_t[]){0xc7, 0x36, 0xc6, 0xaa, 0xb2, 0x2b, 0xff, 0xf9, 0x1e, 0x26, + 0x98, 0xd2, 0xe2, 0x2a, 0xd5, 0x7e}, + /* Control Plane w/ZUC enc. + SNOW f9 int. UL */ + (uint8_t[]){0xc7, 0x36, 0xc6, 0xaa, 0xb2, 0x2b, 0xff, 0xf9, 0x1e, 0x26, + 0x98, 0xd2, 0xe2, 0x2a, 0xd5, 0x7e}, + /* Control Plane w/ZUC enc. + SNOW f9 int. DL */ + (uint8_t[]){0xc7, 0x36, 0xc6, 0xaa, 0xb2, 0x2b, 0xff, 0xf9, 0x1e, 0x26, + 0x98, 0xd2, 0xe2, 0x2a, 0xd5, 0x7e}, + /* Control Plane w/ZUC enc. + AES CMAC int. UL */ + (uint8_t[]){0xc7, 0x36, 0xc6, 0xaa, 0xb2, 0x2b, 0xff, 0xf9, 0x1e, 0x26, + 0x98, 0xd2, 0xe2, 0x2a, 0xd5, 0x7e}, + /* Control Plane w/ZUC enc. + AES CMAC int. DL */ + (uint8_t[]){0xc7, 0x36, 0xc6, 0xaa, 0xb2, 0x2b, 0xff, 0xf9, 0x1e, 0x26, + 0x98, 0xd2, 0xe2, 0x2a, 0xd5, 0x7e}, + /* Control Plane w/ZUC enc. + ZUC int. UL */ + (uint8_t[]){0xc7, 0x36, 0xc6, 0xaa, 0xb2, 0x2b, 0xff, 0xf9, 0x1e, 0x26, + 0x98, 0xd2, 0xe2, 0x2a, 0xd5, 0x7e}, + /* Control Plane w/ZUC enc. + ZUC int. DL */ + (uint8_t[]){0xc7, 0x36, 0xc6, 0xaa, 0xb2, 0x2b, 0xff, 0xf9, 0x1e, 0x26, + 0x98, 0xd2, 0xe2, 0x2a, 0xd5, 0x7e}, + + /********* 12-bit C-plane **********************/ + /* Control Plane w/NULL enc. + NULL int. UL */ + NULL, + /* Control Plane w/NULL enc. + NULL int. DL */ + NULL, + /* Control Plane w/NULL enc. + SNOW f9 int. UL */ + (uint8_t[]){0x4D, 0x4B, 0x2B, 0x1E, 0x39, 0x60, 0x0A, 0x98, 0xC1, 0x3C, + 0x98, 0x82, 0xDC, 0xB6, 0xC2, 0x36}, + /* Control Plane w/NULL enc. + SNOW f9 int. DL */ + (uint8_t[]){0x4D, 0x4B, 0x2B, 0x1E, 0x39, 0x60, 0x0A, 0x98, 0xC1, 0x3C, + 0x98, 0x82, 0xDC, 0xB6, 0xC2, 0x36}, + /* Control Plane w/NULL enc. + AES CMAC int. UL */ + (uint8_t[]){0x4D, 0x4B, 0x2B, 0x1E, 0x39, 0x60, 0x0A, 0x98, 0xC1, 0x3C, + 0x98, 0x82, 0xDC, 0xB6, 0xC2, 0x36}, + /* Control Plane w/NULL enc. + AES CMAC int. DL */ + (uint8_t[]){0x4D, 0x4B, 0x2B, 0x1E, 0x39, 0x60, 0x0A, 0x98, 0xC1, 0x3C, + 0x98, 0x82, 0xDC, 0xB6, 0xC2, 0x36}, + /* Control Plane w/NULL enc. + ZUC int. UL */ + (uint8_t[]){0x4D, 0x4B, 0x2B, 0x1E, 0x39, 0x60, 0x0A, 0x98, 0xC1, 0x3C, + 0x98, 0x82, 0xDC, 0xB6, 0xC2, 0x36}, + /* Control Plane w/NULL enc. + ZUC int. DL */ + (uint8_t[]){0x4D, 0x4B, 0x2B, 0x1E, 0x39, 0x60, 0x0A, 0x98, 0xC1, 0x3C, + 0x98, 0x82, 0xDC, 0xB6, 0xC2, 0x36}, + + /* Control Plane w/SNOW f8 enc. + NULL int. UL */ + NULL, + /* Control Plane w/SNOW f8 enc. + NULL int. DL */ + NULL, + /* Control Plane w/SNOW f8 enc. + SNOW f9 int. UL */ + (uint8_t[]){0x4D, 0x4B, 0x2B, 0x1E, 0x39, 0x60, 0x0A, 0x98, 0xC1, 0x3C, + 0x98, 0x82, 0xDC, 0xB6, 0xC2, 0x36}, + /* Control Plane w/SNOW f8 enc. + SNOW f9 int. DL */ + (uint8_t[]){0x4D, 0x4B, 0x2B, 0x1E, 0x39, 0x60, 0x0A, 0x98, 0xC1, 0x3C, + 0x98, 0x82, 0xDC, 0xB6, 0xC2, 0x36}, + /* Control Plane w/SNOW f8 enc. + AES CMAC int. UL */ + (uint8_t[]){0x4D, 0x4B, 0x2B, 0x1E, 0x39, 0x60, 0x0A, 0x98, 0xC1, 0x3C, + 0x98, 0x82, 0xDC, 0xB6, 0xC2, 0x36}, + /* Control Plane w/SNOW f8 enc. + AES CMAC int. DL */ + (uint8_t[]){0x4D, 0x4B, 0x2B, 0x1E, 0x39, 0x60, 0x0A, 0x98, 0xC1, 0x3C, + 0x98, 0x82, 0xDC, 0xB6, 0xC2, 0x36}, + /* Control Plane w/SNOW f8 enc. + ZUC int. UL */ + (uint8_t[]){0x4D, 0x4B, 0x2B, 0x1E, 0x39, 0x60, 0x0A, 0x98, 0xC1, 0x3C, + 0x98, 0x82, 0xDC, 0xB6, 0xC2, 0x36}, + /* Control Plane w/SNOW f8 enc. + ZUC int. DL */ + (uint8_t[]){0x4D, 0x4B, 0x2B, 0x1E, 0x39, 0x60, 0x0A, 0x98, 0xC1, 0x3C, + 0x98, 0x82, 0xDC, 0xB6, 0xC2, 0x36}, + /* Control Plane w/AES CTR enc. + NULL int. UL */ + NULL, + /* Control Plane w/AES CTR enc. + NULL int. DL */ + NULL, + /* Control Plane w/AES CTR enc. + SNOW f9 int. UL */ + (uint8_t[]){0x4D, 0x4B, 0x2B, 0x1E, 0x39, 0x60, 0x0A, 0x98, 0xC1, 0x3C, + 0x98, 0x82, 0xDC, 0xB6, 0xC2, 0x36}, + /* Control Plane w/AES CTR enc. + SNOW f9 int. DL */ + (uint8_t[]){0x4D, 0x4B, 0x2B, 0x1E, 0x39, 0x60, 0x0A, 0x98, 0xC1, 0x3C, + 0x98, 0x82, 0xDC, 0xB6, 0xC2, 0x36}, + /* Control Plane w/AES CTR enc. + AES CMAC int. UL */ + (uint8_t[]){0x4D, 0x4B, 0x2B, 0x1E, 0x39, 0x60, 0x0A, 0x98, 0xC1, 0x3C, + 0x98, 0x82, 0xDC, 0xB6, 0xC2, 0x36}, + /* Control Plane w/AES CTR enc. + AES CMAC int. DL */ + (uint8_t[]){0x4D, 0x4B, 0x2B, 0x1E, 0x39, 0x60, 0x0A, 0x98, 0xC1, 0x3C, + 0x98, 0x82, 0xDC, 0xB6, 0xC2, 0x36}, + /* Control Plane w/AES CTR enc. + ZUC int. UL */ + (uint8_t[]){0x4D, 0x4B, 0x2B, 0x1E, 0x39, 0x60, 0x0A, 0x98, 0xC1, 0x3C, + 0x98, 0x82, 0xDC, 0xB6, 0xC2, 0x36}, + /* Control Plane w/AES CTR enc. + ZUC int. DL */ + (uint8_t[]){0x4D, 0x4B, 0x2B, 0x1E, 0x39, 0x60, 0x0A, 0x98, 0xC1, 0x3C, + 0x98, 0x82, 0xDC, 0xB6, 0xC2, 0x36}, + + /* Control Plane w/ZUC enc. + NULL int. UL */ + NULL, + /* Control Plane w/ZUC enc. + NULL int. DL */ + NULL, + /* Control Plane w/ZUC enc. + SNOW f9 int. UL */ + (uint8_t[]){0x4D, 0x4B, 0x2B, 0x1E, 0x39, 0x60, 0x0A, 0x98, 0xC1, 0x3C, + 0x98, 0x82, 0xDC, 0xB6, 0xC2, 0x36}, + /* Control Plane w/ZUC enc. + SNOW f9 int. DL */ + (uint8_t[]){0x4D, 0x4B, 0x2B, 0x1E, 0x39, 0x60, 0x0A, 0x98, 0xC1, 0x3C, + 0x98, 0x82, 0xDC, 0xB6, 0xC2, 0x36}, + /* Control Plane w/ZUC enc. + AES CMAC int. UL */ + (uint8_t[]){0x4D, 0x4B, 0x2B, 0x1E, 0x39, 0x60, 0x0A, 0x98, 0xC1, 0x3C, + 0x98, 0x82, 0xDC, 0xB6, 0xC2, 0x36}, + /* Control Plane w/ZUC enc. + AES CMAC int. DL */ + (uint8_t[]){0x4D, 0x4B, 0x2B, 0x1E, 0x39, 0x60, 0x0A, 0x98, 0xC1, 0x3C, + 0x98, 0x82, 0xDC, 0xB6, 0xC2, 0x36}, + /* Control Plane w/ZUC enc. + ZUC int. UL */ + (uint8_t[]){0x4D, 0x4B, 0x2B, 0x1E, 0x39, 0x60, 0x0A, 0x98, 0xC1, 0x3C, + 0x98, 0x82, 0xDC, 0xB6, 0xC2, 0x36}, + /* Control Plane w/ZUC enc. + ZUC int. DL */ + (uint8_t[]){0x4D, 0x4B, 0x2B, 0x1E, 0x39, 0x60, 0x0A, 0x98, 0xC1, 0x3C, + 0x98, 0x82, 0xDC, 0xB6, 0xC2, 0x36}, + +}; + +static uint8_t *pdcp_test_data_in[] = { + /* Control Plane w/NULL enc. + NULL int. UL */ + (uint8_t[]){0x8b, 0xad, 0x9c, 0x44, 0x1f, 0x89, 0x0b, 0x38, 0xc4, 0x57, + 0xa4, 0x9d, 0x42, 0x14, 0x07, 0xe8}, + /* Control Plane w/NULL enc. + NULL int. DL */ + (uint8_t[]){0x8b, 0xad, 0x9c, 0x44, 0x1f, 0x89, 0x0b, 0x38, 0xc4, 0x57, + 0xa4, 0x9d, 0x42, 0x14, 0x07, 0xe8}, + /* Control Plane w/NULL enc. + SNOW f9 int. UL */ + (uint8_t[]){0x8b, 0xad, 0x9c, 0x44, 0x1f, 0x89, 0x0b, 0x38, 0xc4, 0x57, + 0xa4, 0x9d, 0x42, 0x14, 0x07, 0xe8}, + /* Control Plane w/NULL enc. + SNOW f9 int. DL */ + (uint8_t[]){0x8b, 0xad, 0x9c, 0x44, 0x1f, 0x89, 0x0b, 0x38, 0xc4, 0x57, + 0xa4, 0x9d, 0x42, 0x14, 0x07, 0xe8}, + /* Control Plane w/NULL enc. + AES CMAC int. UL */ + (uint8_t[]){0x8b, 0xad, 0x9c, 0x44, 0x1f, 0x89, 0x0b, 0x38, 0xc4, 0x57, + 0xa4, 0x9d, 0x42, 0x14, 0x07, 0xe8}, + /* Control Plane w/NULL enc. + AES CMAC int. DL */ + (uint8_t[]){0x8b, 0xad, 0x9c, 0x44, 0x1f, 0x89, 0x0b, 0x38, 0xc4, 0x57, + 0xa4, 0x9d, 0x42, 0x14, 0x07, 0xe8}, + /* Control Plane w/NULL enc. + ZUC int. UL */ + (uint8_t[]){0x8b, 0xad, 0x9c, 0x44, 0x1f, 0x89, 0x0b, 0x38, 0xc4, 0x57, + 0xa4, 0x9d, 0x42, 0x14, 0x07, 0xe8}, + /* Control Plane w/NULL enc. + ZUC int. DL */ + (uint8_t[]){0x8b, 0xad, 0x9c, 0x44, 0x1f, 0x89, 0x0b, 0x38, 0xc4, 0x57, + 0xa4, 0x9d, 0x42, 0x14, 0x07, 0xe8}, + /* Control Plane w/SNOW f8 enc. + NULL int. UL */ + (uint8_t[]){0x8b, 0xad, 0x9c, 0x44, 0x1f, 0x89, 0x0b, 0x38, 0xc4, 0x57, + 0xa4, 0x9d, 0x42, 0x14, 0x07, 0xe8}, + /* Control Plane w/SNOW f8 enc. + NULL int. DL */ + (uint8_t[]){0x8b, 0xad, 0x9c, 0x44, 0x1f, 0x89, 0x0b, 0x38, 0xc4, 0x57, + 0xa4, 0x9d, 0x42, 0x14, 0x07, 0xe8}, + /* Control Plane w/SNOW f8 enc. + SNOW f9 int. UL */ + (uint8_t[]){0x8b, 0xad, 0x9c, 0x44, 0x1f, 0x89, 0x0b, 0x38, 0xc4, 0x57, + 0xa4, 0x9d, 0x42, 0x14, 0x07, 0xe8}, + /* Control Plane w/SNOW f8 enc. + SNOW f9 int. DL */ + (uint8_t[]){0x8b, 0xad, 0x9c, 0x44, 0x1f, 0x89, 0x0b, 0x38, 0xc4, 0x57, + 0xa4, 0x9d, 0x42, 0x14, 0x07, 0xe8}, + /* Control Plane w/SNOW f8 enc. + AES CMAC int. UL */ + (uint8_t[]){0x8b, 0xad, 0x9c, 0x44, 0x1f, 0x89, 0x0b, 0x38, 0xc4, 0x57, + 0xa4, 0x9d, 0x42, 0x14, 0x07, 0xe8}, + /* Control Plane w/SNOW f8 enc. + AES CMAC int. DL */ + (uint8_t[]){0x8b, 0xad, 0x9c, 0x44, 0x1f, 0x89, 0x0b, 0x38, 0xc4, 0x57, + 0xa4, 0x9d, 0x42, 0x14, 0x07, 0xe8}, + /* Control Plane w/SNOW f8 enc. + ZUC int. UL */ + (uint8_t[]){0x8b, 0xad, 0x9c, 0x44, 0x1f, 0x89, 0x0b, 0x38, 0xc4, 0x57, + 0xa4, 0x9d, 0x42, 0x14, 0x07, 0xe8}, + /* Control Plane w/SNOW f8 enc. + ZUC int. DL */ + (uint8_t[]){0x8b, 0xad, 0x9c, 0x44, 0x1f, 0x89, 0x0b, 0x38, 0xc4, 0x57, + 0xa4, 0x9d, 0x42, 0x14, 0x07, 0xe8}, + /* Control Plane w/AES CTR enc. + NULL int. UL */ + (uint8_t[]){0x8b, 0xad, 0x9c, 0x44, 0x1f, 0x89, 0x0b, 0x38, 0xc4, 0x57, + 0xa4, 0x9d, 0x42, 0x14, 0x07, 0xe8}, + /* Control Plane w/AES CTR enc. + NULL int. DL */ + (uint8_t[]){0x8b, 0xad, 0x9c, 0x44, 0x1f, 0x89, 0x0b, 0x38, 0xc4, 0x57, + 0xa4, 0x9d, 0x42, 0x14, 0x07, 0xe8}, + /* Control Plane w/AES CTR enc. + SNOW f9 int. UL */ + (uint8_t[]){0x8b, 0xad, 0x9c, 0x44, 0x1f, 0x89, 0x0b, 0x38, 0xc4, 0x57, + 0xa4, 0x9d, 0x42, 0x14, 0x07, 0xe8}, + /* Control Plane w/AES CTR enc. + SNOW f9 int. DL */ + (uint8_t[]){0x8b, 0xad, 0x9c, 0x44, 0x1f, 0x89, 0x0b, 0x38, 0xc4, 0x57, + 0xa4, 0x9d, 0x42, 0x14, 0x07, 0xe8}, + /* Control Plane w/AES CTR enc. + AES CMAC int. UL */ + (uint8_t[]){0x8b, 0xad, 0x9c, 0x44, 0x1f, 0x89, 0x0b, 0x38, 0xc4, 0x57, + 0xa4, 0x9d, 0x42, 0x14, 0x07, 0xe8}, + /* Control Plane w/AES CTR enc. + AES CMAC int. DL */ + (uint8_t[]){0x8b, 0xad, 0x9c, 0x44, 0x1f, 0x89, 0x0b, 0x38, 0xc4, 0x57, + 0xa4, 0x9d, 0x42, 0x14, 0x07, 0xe8}, + /* Control Plane w/AES CTR enc. + ZUC int. UL */ + (uint8_t[]){0x8b, 0xad, 0x9c, 0x44, 0x1f, 0x89, 0x0b, 0x38, 0xc4, 0x57, + 0xa4, 0x9d, 0x42, 0x14, 0x07, 0xe8}, + /* Control Plane w/AES CTR enc. + ZUC int. DL */ + (uint8_t[]){0x8b, 0xad, 0x9c, 0x44, 0x1f, 0x89, 0x0b, 0x38, 0xc4, 0x57, + 0xa4, 0x9d, 0x42, 0x14, 0x07, 0xe8}, + /* Control Plane w/ZUC enc. + NULL int. UL */ + (uint8_t[]){0x8b, 0xad, 0x9c, 0x44, 0x1f, 0x89, 0x0b, 0x38, 0xc4, 0x57, + 0xa4, 0x9d, 0x42, 0x14, 0x07, 0xe8}, + /* Control Plane w/ZUC enc. + NULL int. DL */ + (uint8_t[]){0x8b, 0xad, 0x9c, 0x44, 0x1f, 0x89, 0x0b, 0x38, 0xc4, 0x57, + 0xa4, 0x9d, 0x42, 0x14, 0x07, 0xe8}, + /* Control Plane w/ZUC enc. + SNOW f9 int. UL */ + (uint8_t[]){0x8b, 0xad, 0x9c, 0x44, 0x1f, 0x89, 0x0b, 0x38, 0xc4, 0x57, + 0xa4, 0x9d, 0x42, 0x14, 0x07, 0xe8}, + /* Control Plane w/ZUC enc. + SNOW f9 int. DL */ + (uint8_t[]){0x8b, 0xad, 0x9c, 0x44, 0x1f, 0x89, 0x0b, 0x38, 0xc4, 0x57, + 0xa4, 0x9d, 0x42, 0x14, 0x07, 0xe8}, + /* Control Plane w/ZUC enc. + AES CMAC int. UL */ + (uint8_t[]){0x8b, 0xad, 0x9c, 0x44, 0x1f, 0x89, 0x0b, 0x38, 0xc4, 0x57, + 0xa4, 0x9d, 0x42, 0x14, 0x07, 0xe8}, + /* Control Plane w/ZUC enc. + AES CMAC int. DL */ + (uint8_t[]){0x8b, 0xad, 0x9c, 0x44, 0x1f, 0x89, 0x0b, 0x38, 0xc4, 0x57, + 0xa4, 0x9d, 0x42, 0x14, 0x07, 0xe8}, + /* Control Plane w/ZUC enc. + ZUC int. UL */ + (uint8_t[]){0x8b, 0xad, 0x9c, 0x44, 0x1f, 0x89, 0x0b, 0x38, 0xc4, 0x57, + 0xa4, 0x9d, 0x42, 0x14, 0x07, 0xe8}, + /* Control Plane w/ZUC enc. + ZUC int. DL */ + (uint8_t[]){0x8b, 0xad, 0x9c, 0x44, 0x1f, 0x89, 0x0b, 0x38, 0xc4, 0x57, + 0xa4, 0x9d, 0x42, 0x14, 0x07, 0xe8}, + + /*************** 12-bit C-plane ****************/ + /* Control Plane w/NULL enc. + NULL int. UL */ + (uint8_t[]){0x50, 0x01, 0x86, 0xB8, 0xF8, 0xDB, 0x2D, 0x3F, 0x23, 0x82, 0x53, + 0xFD, 0x37, 0xDE, 0x88, 0x63, 0x08, 0x4F, 0xD3, 0x71, 0xFB, 0xEB, + 0x35, 0xF3, 0x64, 0xD3, 0x5E, 0xAF, 0x3F, 0x57, 0xC2, 0xE2, 0x91, + 0x91, 0xA3, 0x9C, 0xE6, 0x30, 0x69, 0x70, 0x33, 0x8A, 0x15, 0xD0, + 0x36, 0x47, 0x0E, 0x8F, 0xEE, 0x2C, 0x96, 0x0C, 0xD7, 0x7D, 0x70, + 0x1B, 0x01, 0x7F, 0x96, 0x46, 0x53, 0xB0, 0xA4, 0x7A, 0xF9, 0xDD}, + /* Control Plane w/NULL enc. + NULL int. DL */ + (uint8_t[]){0xA0, 0x00, 0x86, 0xB8, 0xF8, 0xDB, 0x2D, 0x3F, 0x23, 0x82, 0x53, + 0xFD, 0x37, 0xDE, 0x88, 0x63, 0x08, 0x4F, 0xD3, 0x71, 0xFB, 0xEB, + 0x35, 0xF3, 0x64, 0xD3, 0x5E, 0xAF, 0x3F, 0x57, 0xC2, 0xE2, 0x91, + 0x91, 0xA3, 0x9C, 0xE6, 0x30, 0x69, 0x70, 0x33, 0x8A, 0x15, 0xD0, + 0x36, 0x47, 0x0E, 0x8F, 0xEE, 0x2C, 0x96, 0x0C, 0xD7, 0x7D, 0x70, + 0x1B, 0x01, 0x7F, 0x96, 0x46, 0x53, 0xB0, 0xA4, 0x7A, 0xF9, 0xDD}, + /* Control Plane w/NULL enc. + SNOW f9 int. UL */ + (uint8_t[]){0x50, 0x01, 0x86, 0xB8, 0xF8, 0xDB, 0x2D, 0x3F, 0x23, 0x82, 0x53, + 0xFD, 0x37, 0xDE, 0x88, 0x63, 0x08, 0x4F, 0xD3, 0x71, 0xFB, 0xEB, + 0x35, 0xF3, 0x64, 0xD3, 0x5E, 0xAF, 0x3F, 0x57, 0xC2, 0xE2, 0x91, + 0x91, 0xA3, 0x9C, 0xE6, 0x30, 0x69, 0x70, 0x33, 0x8A, 0x15, 0xD0, + 0x36, 0x47, 0x0E, 0x8F, 0xEE, 0x2C, 0x96, 0x0C, 0xD7, 0x7D, 0x70, + 0x1B, 0x01, 0x7F, 0x96, 0x46, 0x53, 0xB0, 0xA4, 0x7A, 0xF9, 0xDD}, + /* Control Plane w/NULL enc. + SNOW f9 int. DL */ + (uint8_t[]){0xA0, 0x00, 0x86, 0xB8, 0xF8, 0xDB, 0x2D, 0x3F, 0x23, 0x82, 0x53, + 0xFD, 0x37, 0xDE, 0x88, 0x63, 0x08, 0x4F, 0xD3, 0x71, 0xFB, 0xEB, + 0x35, 0xF3, 0x64, 0xD3, 0x5E, 0xAF, 0x3F, 0x57, 0xC2, 0xE2, 0x91, + 0x91, 0xA3, 0x9C, 0xE6, 0x30, 0x69, 0x70, 0x33, 0x8A, 0x15, 0xD0, + 0x36, 0x47, 0x0E, 0x8F, 0xEE, 0x2C, 0x96, 0x0C, 0xD7, 0x7D, 0x70, + 0x1B, 0x01, 0x7F, 0x96, 0x46, 0x53, 0xB0, 0xA4, 0x7A, 0xF9, 0xDD}, + /* Control Plane w/NULL enc. + AES CMAC int. UL */ + (uint8_t[]){0x50, 0x01, 0x86, 0xB8, 0xF8, 0xDB, 0x2D, 0x3F, 0x23, 0x82, 0x53, + 0xFD, 0x37, 0xDE, 0x88, 0x63, 0x08, 0x4F, 0xD3, 0x71, 0xFB, 0xEB, + 0x35, 0xF3, 0x64, 0xD3, 0x5E, 0xAF, 0x3F, 0x57, 0xC2, 0xE2, 0x91, + 0x91, 0xA3, 0x9C, 0xE6, 0x30, 0x69, 0x70, 0x33, 0x8A, 0x15, 0xD0, + 0x36, 0x47, 0x0E, 0x8F, 0xEE, 0x2C, 0x96, 0x0C, 0xD7, 0x7D, 0x70, + 0x1B, 0x01, 0x7F, 0x96, 0x46, 0x53, 0xB0, 0xA4, 0x7A, 0xF9, 0xDD}, + /* Control Plane w/NULL enc. + AES CMAC int. DL */ + (uint8_t[]){0xA0, 0x00, 0x86, 0xB8, 0xF8, 0xDB, 0x2D, 0x3F, 0x23, 0x82, 0x53, + 0xFD, 0x37, 0xDE, 0x88, 0x63, 0x08, 0x4F, 0xD3, 0x71, 0xFB, 0xEB, + 0x35, 0xF3, 0x64, 0xD3, 0x5E, 0xAF, 0x3F, 0x57, 0xC2, 0xE2, 0x91, + 0x91, 0xA3, 0x9C, 0xE6, 0x30, 0x69, 0x70, 0x33, 0x8A, 0x15, 0xD0, + 0x36, 0x47, 0x0E, 0x8F, 0xEE, 0x2C, 0x96, 0x0C, 0xD7, 0x7D, 0x70, + 0x1B, 0x01, 0x7F, 0x96, 0x46, 0x53, 0xB0, 0xA4, 0x7A, 0xF9, 0xDD}, + /* Control Plane w/NULL enc. + ZUC int. UL */ + (uint8_t[]){0x50, 0x01, 0x86, 0xB8, 0xF8, 0xDB, 0x2D, 0x3F, 0x23, 0x82, 0x53, + 0xFD, 0x37, 0xDE, 0x88, 0x63, 0x08, 0x4F, 0xD3, 0x71, 0xFB, 0xEB, + 0x35, 0xF3, 0x64, 0xD3, 0x5E, 0xAF, 0x3F, 0x57, 0xC2, 0xE2, 0x91, + 0x91, 0xA3, 0x9C, 0xE6, 0x30, 0x69, 0x70, 0x33, 0x8A, 0x15, 0xD0, + 0x36, 0x47, 0x0E, 0x8F, 0xEE, 0x2C, 0x96, 0x0C, 0xD7, 0x7D, 0x70, + 0x1B, 0x01, 0x7F, 0x96, 0x46, 0x53, 0xB0, 0xA4, 0x7A, 0xF9, 0xDD}, + /* Control Plane w/NULL enc. + ZUC int. DL */ + (uint8_t[]){0xA0, 0x00, 0x86, 0xB8, 0xF8, 0xDB, 0x2D, 0x3F, 0x23, 0x82, 0x53, + 0xFD, 0x37, 0xDE, 0x88, 0x63, 0x08, 0x4F, 0xD3, 0x71, 0xFB, 0xEB, + 0x35, 0xF3, 0x64, 0xD3, 0x5E, 0xAF, 0x3F, 0x57, 0xC2, 0xE2, 0x91, + 0x91, 0xA3, 0x9C, 0xE6, 0x30, 0x69, 0x70, 0x33, 0x8A, 0x15, 0xD0, + 0x36, 0x47, 0x0E, 0x8F, 0xEE, 0x2C, 0x96, 0x0C, 0xD7, 0x7D, 0x70, + 0x1B, 0x01, 0x7F, 0x96, 0x46, 0x53, 0xB0, 0xA4, 0x7A, 0xF9, 0xDD}, + + /* Control Plane w/SNOW f8 enc. + NULL int. UL */ + (uint8_t[]){0x50, 0x01, 0x86, 0xB8, 0xF8, 0xDB, 0x2D, 0x3F, 0x23, 0x82, 0x53, + 0xFD, 0x37, 0xDE, 0x88, 0x63, 0x08, 0x4F, 0xD3, 0x71, 0xFB, 0xEB, + 0x35, 0xF3, 0x64, 0xD3, 0x5E, 0xAF, 0x3F, 0x57, 0xC2, 0xE2, 0x91, + 0x91, 0xA3, 0x9C, 0xE6, 0x30, 0x69, 0x70, 0x33, 0x8A, 0x15, 0xD0, + 0x36, 0x47, 0x0E, 0x8F, 0xEE, 0x2C, 0x96, 0x0C, 0xD7, 0x7D, 0x70, + 0x1B, 0x01, 0x7F, 0x96, 0x46, 0x53, 0xB0, 0xA4, 0x7A, 0xF9, 0xDD}, + /* Control Plane w/SNOW f8 enc. + NULL int. DL */ + (uint8_t[]){0xA0, 0x00, 0x86, 0xB8, 0xF8, 0xDB, 0x2D, 0x3F, 0x23, 0x82, 0x53, + 0xFD, 0x37, 0xDE, 0x88, 0x63, 0x08, 0x4F, 0xD3, 0x71, 0xFB, 0xEB, + 0x35, 0xF3, 0x64, 0xD3, 0x5E, 0xAF, 0x3F, 0x57, 0xC2, 0xE2, 0x91, + 0x91, 0xA3, 0x9C, 0xE6, 0x30, 0x69, 0x70, 0x33, 0x8A, 0x15, 0xD0, + 0x36, 0x47, 0x0E, 0x8F, 0xEE, 0x2C, 0x96, 0x0C, 0xD7, 0x7D, 0x70, + 0x1B, 0x01, 0x7F, 0x96, 0x46, 0x53, 0xB0, 0xA4, 0x7A, 0xF9, 0xDD}, + /* Control Plane w/SNOW f8 enc. + SNOW f9 int. UL */ + (uint8_t[]){0x50, 0x01, 0x86, 0xB8, 0xF8, 0xDB, 0x2D, 0x3F, 0x23, 0x82, 0x53, + 0xFD, 0x37, 0xDE, 0x88, 0x63, 0x08, 0x4F, 0xD3, 0x71, 0xFB, 0xEB, + 0x35, 0xF3, 0x64, 0xD3, 0x5E, 0xAF, 0x3F, 0x57, 0xC2, 0xE2, 0x91, + 0x91, 0xA3, 0x9C, 0xE6, 0x30, 0x69, 0x70, 0x33, 0x8A, 0x15, 0xD0, + 0x36, 0x47, 0x0E, 0x8F, 0xEE, 0x2C, 0x96, 0x0C, 0xD7, 0x7D, 0x70, + 0x1B, 0x01, 0x7F, 0x96, 0x46, 0x53, 0xB0, 0xA4, 0x7A, 0xF9, 0xDD}, + /* Control Plane w/SNOW f8 enc. + SNOW f9 int. DL */ + (uint8_t[]){0xA0, 0x00, 0x86, 0xB8, 0xF8, 0xDB, 0x2D, 0x3F, 0x23, 0x82, 0x53, + 0xFD, 0x37, 0xDE, 0x88, 0x63, 0x08, 0x4F, 0xD3, 0x71, 0xFB, 0xEB, + 0x35, 0xF3, 0x64, 0xD3, 0x5E, 0xAF, 0x3F, 0x57, 0xC2, 0xE2, 0x91, + 0x91, 0xA3, 0x9C, 0xE6, 0x30, 0x69, 0x70, 0x33, 0x8A, 0x15, 0xD0, + 0x36, 0x47, 0x0E, 0x8F, 0xEE, 0x2C, 0x96, 0x0C, 0xD7, 0x7D, 0x70, + 0x1B, 0x01, 0x7F, 0x96, 0x46, 0x53, 0xB0, 0xA4, 0x7A, 0xF9, 0xDD}, + /* Control Plane w/SNOW f8 enc. + AES CMAC int. UL */ + (uint8_t[]){0x50, 0x01, 0x86, 0xB8, 0xF8, 0xDB, 0x2D, 0x3F, 0x23, 0x82, 0x53, + 0xFD, 0x37, 0xDE, 0x88, 0x63, 0x08, 0x4F, 0xD3, 0x71, 0xFB, 0xEB, + 0x35, 0xF3, 0x64, 0xD3, 0x5E, 0xAF, 0x3F, 0x57, 0xC2, 0xE2, 0x91, + 0x91, 0xA3, 0x9C, 0xE6, 0x30, 0x69, 0x70, 0x33, 0x8A, 0x15, 0xD0, + 0x36, 0x47, 0x0E, 0x8F, 0xEE, 0x2C, 0x96, 0x0C, 0xD7, 0x7D, 0x70, + 0x1B, 0x01, 0x7F, 0x96, 0x46, 0x53, 0xB0, 0xA4, 0x7A, 0xF9, 0xDD}, + /* Control Plane w/SNOW f8 enc. + AES CMAC int. DL */ + (uint8_t[]){0xA0, 0x00, 0x86, 0xB8, 0xF8, 0xDB, 0x2D, 0x3F, 0x23, 0x82, 0x53, + 0xFD, 0x37, 0xDE, 0x88, 0x63, 0x08, 0x4F, 0xD3, 0x71, 0xFB, 0xEB, + 0x35, 0xF3, 0x64, 0xD3, 0x5E, 0xAF, 0x3F, 0x57, 0xC2, 0xE2, 0x91, + 0x91, 0xA3, 0x9C, 0xE6, 0x30, 0x69, 0x70, 0x33, 0x8A, 0x15, 0xD0, + 0x36, 0x47, 0x0E, 0x8F, 0xEE, 0x2C, 0x96, 0x0C, 0xD7, 0x7D, 0x70, + 0x1B, 0x01, 0x7F, 0x96, 0x46, 0x53, 0xB0, 0xA4, 0x7A, 0xF9, 0xDD}, + /* Control Plane w/SNOW f8 enc. + ZUC int. UL */ + (uint8_t[]){0x50, 0x01, 0x86, 0xB8, 0xF8, 0xDB, 0x2D, 0x3F, 0x23, 0x82, 0x53, + 0xFD, 0x37, 0xDE, 0x88, 0x63, 0x08, 0x4F, 0xD3, 0x71, 0xFB, 0xEB, + 0x35, 0xF3, 0x64, 0xD3, 0x5E, 0xAF, 0x3F, 0x57, 0xC2, 0xE2, 0x91, + 0x91, 0xA3, 0x9C, 0xE6, 0x30, 0x69, 0x70, 0x33, 0x8A, 0x15, 0xD0, + 0x36, 0x47, 0x0E, 0x8F, 0xEE, 0x2C, 0x96, 0x0C, 0xD7, 0x7D, 0x70, + 0x1B, 0x01, 0x7F, 0x96, 0x46, 0x53, 0xB0, 0xA4, 0x7A, 0xF9, 0xDD}, + /* Control Plane w/SNOW f8 enc. + ZUC int. DL */ + (uint8_t[]){0xA0, 0x00, 0x86, 0xB8, 0xF8, 0xDB, 0x2D, 0x3F, 0x23, 0x82, 0x53, + 0xFD, 0x37, 0xDE, 0x88, 0x63, 0x08, 0x4F, 0xD3, 0x71, 0xFB, 0xEB, + 0x35, 0xF3, 0x64, 0xD3, 0x5E, 0xAF, 0x3F, 0x57, 0xC2, 0xE2, 0x91, + 0x91, 0xA3, 0x9C, 0xE6, 0x30, 0x69, 0x70, 0x33, 0x8A, 0x15, 0xD0, + 0x36, 0x47, 0x0E, 0x8F, 0xEE, 0x2C, 0x96, 0x0C, 0xD7, 0x7D, 0x70, + 0x1B, 0x01, 0x7F, 0x96, 0x46, 0x53, 0xB0, 0xA4, 0x7A, 0xF9, 0xDD}, + + /* Control Plane w/AES CTR enc. + NULL int. UL */ + (uint8_t[]){0x50, 0x01, 0x86, 0xB8, 0xF8, 0xDB, 0x2D, 0x3F, 0x23, 0x82, 0x53, + 0xFD, 0x37, 0xDE, 0x88, 0x63, 0x08, 0x4F, 0xD3, 0x71, 0xFB, 0xEB, + 0x35, 0xF3, 0x64, 0xD3, 0x5E, 0xAF, 0x3F, 0x57, 0xC2, 0xE2, 0x91, + 0x91, 0xA3, 0x9C, 0xE6, 0x30, 0x69, 0x70, 0x33, 0x8A, 0x15, 0xD0, + 0x36, 0x47, 0x0E, 0x8F, 0xEE, 0x2C, 0x96, 0x0C, 0xD7, 0x7D, 0x70, + 0x1B, 0x01, 0x7F, 0x96, 0x46, 0x53, 0xB0, 0xA4, 0x7A, 0xF9, 0xDD}, + /* Control Plane w/AES CTR enc. + NULL int. DL */ + (uint8_t[]){0xA0, 0x00, 0x86, 0xB8, 0xF8, 0xDB, 0x2D, 0x3F, 0x23, 0x82, 0x53, + 0xFD, 0x37, 0xDE, 0x88, 0x63, 0x08, 0x4F, 0xD3, 0x71, 0xFB, 0xEB, + 0x35, 0xF3, 0x64, 0xD3, 0x5E, 0xAF, 0x3F, 0x57, 0xC2, 0xE2, 0x91, + 0x91, 0xA3, 0x9C, 0xE6, 0x30, 0x69, 0x70, 0x33, 0x8A, 0x15, 0xD0, + 0x36, 0x47, 0x0E, 0x8F, 0xEE, 0x2C, 0x96, 0x0C, 0xD7, 0x7D, 0x70, + 0x1B, 0x01, 0x7F, 0x96, 0x46, 0x53, 0xB0, 0xA4, 0x7A, 0xF9, 0xDD}, + /* Control Plane w/AES CTR enc. + SNOW f9 int. UL */ + (uint8_t[]){0x50, 0x01, 0x86, 0xB8, 0xF8, 0xDB, 0x2D, 0x3F, 0x23, 0x82, 0x53, + 0xFD, 0x37, 0xDE, 0x88, 0x63, 0x08, 0x4F, 0xD3, 0x71, 0xFB, 0xEB, + 0x35, 0xF3, 0x64, 0xD3, 0x5E, 0xAF, 0x3F, 0x57, 0xC2, 0xE2, 0x91, + 0x91, 0xA3, 0x9C, 0xE6, 0x30, 0x69, 0x70, 0x33, 0x8A, 0x15, 0xD0, + 0x36, 0x47, 0x0E, 0x8F, 0xEE, 0x2C, 0x96, 0x0C, 0xD7, 0x7D, 0x70, + 0x1B, 0x01, 0x7F, 0x96, 0x46, 0x53, 0xB0, 0xA4, 0x7A, 0xF9, 0xDD}, + /* Control Plane w/AES CTR enc. + SNOW f9 int. DL */ + (uint8_t[]){0xA0, 0x00, 0x86, 0xB8, 0xF8, 0xDB, 0x2D, 0x3F, 0x23, 0x82, 0x53, + 0xFD, 0x37, 0xDE, 0x88, 0x63, 0x08, 0x4F, 0xD3, 0x71, 0xFB, 0xEB, + 0x35, 0xF3, 0x64, 0xD3, 0x5E, 0xAF, 0x3F, 0x57, 0xC2, 0xE2, 0x91, + 0x91, 0xA3, 0x9C, 0xE6, 0x30, 0x69, 0x70, 0x33, 0x8A, 0x15, 0xD0, + 0x36, 0x47, 0x0E, 0x8F, 0xEE, 0x2C, 0x96, 0x0C, 0xD7, 0x7D, 0x70, + 0x1B, 0x01, 0x7F, 0x96, 0x46, 0x53, 0xB0, 0xA4, 0x7A, 0xF9, 0xDD}, + /* Control Plane w/AES CTR enc. + AES CMAC int. UL */ + (uint8_t[]){0x50, 0x01, 0x86, 0xB8, 0xF8, 0xDB, 0x2D, 0x3F, 0x23, 0x82, 0x53, + 0xFD, 0x37, 0xDE, 0x88, 0x63, 0x08, 0x4F, 0xD3, 0x71, 0xFB, 0xEB, + 0x35, 0xF3, 0x64, 0xD3, 0x5E, 0xAF, 0x3F, 0x57, 0xC2, 0xE2, 0x91, + 0x91, 0xA3, 0x9C, 0xE6, 0x30, 0x69, 0x70, 0x33, 0x8A, 0x15, 0xD0, + 0x36, 0x47, 0x0E, 0x8F, 0xEE, 0x2C, 0x96, 0x0C, 0xD7, 0x7D, 0x70, + 0x1B, 0x01, 0x7F, 0x96, 0x46, 0x53, 0xB0, 0xA4, 0x7A, 0xF9, 0xDD}, + /* Control Plane w/AES CTR enc. + AES CMAC int. DL */ + (uint8_t[]){0xA0, 0x00, 0x86, 0xB8, 0xF8, 0xDB, 0x2D, 0x3F, 0x23, 0x82, 0x53, + 0xFD, 0x37, 0xDE, 0x88, 0x63, 0x08, 0x4F, 0xD3, 0x71, 0xFB, 0xEB, + 0x35, 0xF3, 0x64, 0xD3, 0x5E, 0xAF, 0x3F, 0x57, 0xC2, 0xE2, 0x91, + 0x91, 0xA3, 0x9C, 0xE6, 0x30, 0x69, 0x70, 0x33, 0x8A, 0x15, 0xD0, + 0x36, 0x47, 0x0E, 0x8F, 0xEE, 0x2C, 0x96, 0x0C, 0xD7, 0x7D, 0x70, + 0x1B, 0x01, 0x7F, 0x96, 0x46, 0x53, 0xB0, 0xA4, 0x7A, 0xF9, 0xDD}, + /* Control Plane w/AES CTR enc. + ZUC int. UL */ + (uint8_t[]){0x50, 0x01, 0x86, 0xB8, 0xF8, 0xDB, 0x2D, 0x3F, 0x23, 0x82, 0x53, + 0xFD, 0x37, 0xDE, 0x88, 0x63, 0x08, 0x4F, 0xD3, 0x71, 0xFB, 0xEB, + 0x35, 0xF3, 0x64, 0xD3, 0x5E, 0xAF, 0x3F, 0x57, 0xC2, 0xE2, 0x91, + 0x91, 0xA3, 0x9C, 0xE6, 0x30, 0x69, 0x70, 0x33, 0x8A, 0x15, 0xD0, + 0x36, 0x47, 0x0E, 0x8F, 0xEE, 0x2C, 0x96, 0x0C, 0xD7, 0x7D, 0x70, + 0x1B, 0x01, 0x7F, 0x96, 0x46, 0x53, 0xB0, 0xA4, 0x7A, 0xF9, 0xDD}, + /* Control Plane w/AES CTR enc. + ZUC int. DL */ + (uint8_t[]){0xA0, 0x00, 0x86, 0xB8, 0xF8, 0xDB, 0x2D, 0x3F, 0x23, 0x82, 0x53, + 0xFD, 0x37, 0xDE, 0x88, 0x63, 0x08, 0x4F, 0xD3, 0x71, 0xFB, 0xEB, + 0x35, 0xF3, 0x64, 0xD3, 0x5E, 0xAF, 0x3F, 0x57, 0xC2, 0xE2, 0x91, + 0x91, 0xA3, 0x9C, 0xE6, 0x30, 0x69, 0x70, 0x33, 0x8A, 0x15, 0xD0, + 0x36, 0x47, 0x0E, 0x8F, 0xEE, 0x2C, 0x96, 0x0C, 0xD7, 0x7D, 0x70, + 0x1B, 0x01, 0x7F, 0x96, 0x46, 0x53, 0xB0, 0xA4, 0x7A, 0xF9, 0xDD}, + + /* Control Plane w/ZUC enc. + NULL int. UL */ + (uint8_t[]){0x50, 0x01, 0x86, 0xB8, 0xF8, 0xDB, 0x2D, 0x3F, 0x23, 0x82, 0x53, + 0xFD, 0x37, 0xDE, 0x88, 0x63, 0x08, 0x4F, 0xD3, 0x71, 0xFB, 0xEB, + 0x35, 0xF3, 0x64, 0xD3, 0x5E, 0xAF, 0x3F, 0x57, 0xC2, 0xE2, 0x91, + 0x91, 0xA3, 0x9C, 0xE6, 0x30, 0x69, 0x70, 0x33, 0x8A, 0x15, 0xD0, + 0x36, 0x47, 0x0E, 0x8F, 0xEE, 0x2C, 0x96, 0x0C, 0xD7, 0x7D, 0x70, + 0x1B, 0x01, 0x7F, 0x96, 0x46, 0x53, 0xB0, 0xA4, 0x7A, 0xF9, 0xDD}, + /* Control Plane w/ZUC enc. + NULL int. DL */ + (uint8_t[]){0xA0, 0x00, 0x86, 0xB8, 0xF8, 0xDB, 0x2D, 0x3F, 0x23, 0x82, 0x53, + 0xFD, 0x37, 0xDE, 0x88, 0x63, 0x08, 0x4F, 0xD3, 0x71, 0xFB, 0xEB, + 0x35, 0xF3, 0x64, 0xD3, 0x5E, 0xAF, 0x3F, 0x57, 0xC2, 0xE2, 0x91, + 0x91, 0xA3, 0x9C, 0xE6, 0x30, 0x69, 0x70, 0x33, 0x8A, 0x15, 0xD0, + 0x36, 0x47, 0x0E, 0x8F, 0xEE, 0x2C, 0x96, 0x0C, 0xD7, 0x7D, 0x70, + 0x1B, 0x01, 0x7F, 0x96, 0x46, 0x53, 0xB0, 0xA4, 0x7A, 0xF9, 0xDD}, + /* Control Plane w/ZUC enc. + SNOW f9 int. UL */ + (uint8_t[]){0x50, 0x01, 0x86, 0xB8, 0xF8, 0xDB, 0x2D, 0x3F, 0x23, 0x82, 0x53, + 0xFD, 0x37, 0xDE, 0x88, 0x63, 0x08, 0x4F, 0xD3, 0x71, 0xFB, 0xEB, + 0x35, 0xF3, 0x64, 0xD3, 0x5E, 0xAF, 0x3F, 0x57, 0xC2, 0xE2, 0x91, + 0x91, 0xA3, 0x9C, 0xE6, 0x30, 0x69, 0x70, 0x33, 0x8A, 0x15, 0xD0, + 0x36, 0x47, 0x0E, 0x8F, 0xEE, 0x2C, 0x96, 0x0C, 0xD7, 0x7D, 0x70, + 0x1B, 0x01, 0x7F, 0x96, 0x46, 0x53, 0xB0, 0xA4, 0x7A, 0xF9, 0xDD}, + /* Control Plane w/ZUC enc. + SNOW f9 int. DL */ + (uint8_t[]){0xA0, 0x00, 0x86, 0xB8, 0xF8, 0xDB, 0x2D, 0x3F, 0x23, 0x82, 0x53, + 0xFD, 0x37, 0xDE, 0x88, 0x63, 0x08, 0x4F, 0xD3, 0x71, 0xFB, 0xEB, + 0x35, 0xF3, 0x64, 0xD3, 0x5E, 0xAF, 0x3F, 0x57, 0xC2, 0xE2, 0x91, + 0x91, 0xA3, 0x9C, 0xE6, 0x30, 0x69, 0x70, 0x33, 0x8A, 0x15, 0xD0, + 0x36, 0x47, 0x0E, 0x8F, 0xEE, 0x2C, 0x96, 0x0C, 0xD7, 0x7D, 0x70, + 0x1B, 0x01, 0x7F, 0x96, 0x46, 0x53, 0xB0, 0xA4, 0x7A, 0xF9, 0xDD}, + /* Control Plane w/ZUC enc. + AES CMAC int. UL */ + (uint8_t[]){0x50, 0x01, 0x86, 0xB8, 0xF8, 0xDB, 0x2D, 0x3F, 0x23, 0x82, 0x53, + 0xFD, 0x37, 0xDE, 0x88, 0x63, 0x08, 0x4F, 0xD3, 0x71, 0xFB, 0xEB, + 0x35, 0xF3, 0x64, 0xD3, 0x5E, 0xAF, 0x3F, 0x57, 0xC2, 0xE2, 0x91, + 0x91, 0xA3, 0x9C, 0xE6, 0x30, 0x69, 0x70, 0x33, 0x8A, 0x15, 0xD0, + 0x36, 0x47, 0x0E, 0x8F, 0xEE, 0x2C, 0x96, 0x0C, 0xD7, 0x7D, 0x70, + 0x1B, 0x01, 0x7F, 0x96, 0x46, 0x53, 0xB0, 0xA4, 0x7A, 0xF9, 0xDD}, + /* Control Plane w/ZUC enc. + AES CMAC int. DL */ + (uint8_t[]){0xA0, 0x00, 0x86, 0xB8, 0xF8, 0xDB, 0x2D, 0x3F, 0x23, 0x82, 0x53, + 0xFD, 0x37, 0xDE, 0x88, 0x63, 0x08, 0x4F, 0xD3, 0x71, 0xFB, 0xEB, + 0x35, 0xF3, 0x64, 0xD3, 0x5E, 0xAF, 0x3F, 0x57, 0xC2, 0xE2, 0x91, + 0x91, 0xA3, 0x9C, 0xE6, 0x30, 0x69, 0x70, 0x33, 0x8A, 0x15, 0xD0, + 0x36, 0x47, 0x0E, 0x8F, 0xEE, 0x2C, 0x96, 0x0C, 0xD7, 0x7D, 0x70, + 0x1B, 0x01, 0x7F, 0x96, 0x46, 0x53, 0xB0, 0xA4, 0x7A, 0xF9, 0xDD}, + /* Control Plane w/ZUC enc. + ZUC int. UL */ + (uint8_t[]){0x50, 0x01, 0x86, 0xB8, 0xF8, 0xDB, 0x2D, 0x3F, 0x23, 0x82, 0x53, + 0xFD, 0x37, 0xDE, 0x88, 0x63, 0x08, 0x4F, 0xD3, 0x71, 0xFB, 0xEB, + 0x35, 0xF3, 0x64, 0xD3, 0x5E, 0xAF, 0x3F, 0x57, 0xC2, 0xE2, 0x91, + 0x91, 0xA3, 0x9C, 0xE6, 0x30, 0x69, 0x70, 0x33, 0x8A, 0x15, 0xD0, + 0x36, 0x47, 0x0E, 0x8F, 0xEE, 0x2C, 0x96, 0x0C, 0xD7, 0x7D, 0x70, + 0x1B, 0x01, 0x7F, 0x96, 0x46, 0x53, 0xB0, 0xA4, 0x7A, 0xF9, 0xDD}, + /* Control Plane w/ZUC enc. + ZUC int. DL */ + (uint8_t[]){0xA0, 0x00, 0x86, 0xB8, 0xF8, 0xDB, 0x2D, 0x3F, 0x23, 0x82, 0x53, + 0xFD, 0x37, 0xDE, 0x88, 0x63, 0x08, 0x4F, 0xD3, 0x71, 0xFB, 0xEB, + 0x35, 0xF3, 0x64, 0xD3, 0x5E, 0xAF, 0x3F, 0x57, 0xC2, 0xE2, 0x91, + 0x91, 0xA3, 0x9C, 0xE6, 0x30, 0x69, 0x70, 0x33, 0x8A, 0x15, 0xD0, + 0x36, 0x47, 0x0E, 0x8F, 0xEE, 0x2C, 0x96, 0x0C, 0xD7, 0x7D, 0x70, + 0x1B, 0x01, 0x7F, 0x96, 0x46, 0x53, 0xB0, 0xA4, 0x7A, 0xF9, 0xDD}, + +}; + +static uint32_t pdcp_test_data_in_len[] = { + /* Control Plane w/NULL enc. + NULL int. UL */ + 16, + /* Control Plane w/NULL enc. + NULL int. DL */ + 16, + /* Control Plane w/NULL enc. + SNOW f9 int. UL */ + 16, + /* Control Plane w/NULL enc. + SNOW f9 int. DL */ + 16, + /* Control Plane w/NULL enc. + AES CMAC int. UL */ + 16, + /* Control Plane w/NULL enc. + AES CMAC int. DL */ + 16, + /* Control Plane w/NULL enc. + ZUC int. UL */ + 16, + /* Control Plane w/NULL enc. + ZUC int. DL */ + 16, + /* Control Plane w/SNOW f8 enc. + NULL int. UL */ + 16, + /* Control Plane w/SNOW f8 enc. + NULL int. DL */ + 16, + /* Control Plane w/SNOW f8 enc. + SNOW f9 int. UL */ + 16, + /* Control Plane w/SNOW f8 enc. + SNOW f9 int. DL */ + 16, + /* Control Plane w/SNOW f8 enc. + AES CMAC int. UL */ + 16, + /* Control Plane w/SNOW f8 enc. + AES CMAC int. DL */ + 16, + /* Control Plane w/SNOW f8 enc. + ZUC int. UL */ + 16, + /* Control Plane w/SNOW f8 enc. + ZUC int. DL */ + 16, + /* Control Plane w/AES CTR enc. + NULL int. UL */ + 16, + /* Control Plane w/AES CTR enc. + NULL int. DL */ + 16, + /* Control Plane w/AES CTR enc. + SNOW f9 int. UL */ + 16, + /* Control Plane w/AES CTR enc. + SNOW f9 int. DL */ + 16, + /* Control Plane w/AES CTR enc. + AES CMAC int. UL */ + 16, + /* Control Plane w/AES CTR enc. + AES CMAC int. DL */ + 16, + /* Control Plane w/AES CTR enc. + ZUC int. UL */ + 16, + /* Control Plane w/AES CTR enc. + ZUC int. DL */ + 16, + /* Control Plane w/ZUC enc. + NULL int. UL */ + 16, + /* Control Plane w/ZUC enc. + NULL int. DL */ + 16, + /* Control Plane w/ZUC enc. + SNOW f9 int. UL */ + 16, + /* Control Plane w/ZUC enc. + SNOW f9 int. DL */ + 16, + /* Control Plane w/ZUC enc. + AES CMAC int. UL */ + 16, + /* Control Plane w/ZUC enc. + AES CMAC int. DL */ + 16, + /* Control Plane w/ZUC enc. + ZUC int. UL */ + 16, + /* Control Plane w/ZUC enc. + ZUC int. DL */ + 16, + + /****************** C-plane 12-bit SN ***********/ + /* Control Plane w/NULL enc. + NULL int. UL LONG SN */ + 66, + /* Control Plane w/NULL enc. + NULL int. DL LONG SN */ + 66, + /* Control Plane w/NULL enc. + SNOW f9 int. UL LONG SN */ + 66, + /* Control Plane w/NULL enc. + SNOW f9 int. DL LONG SN */ + 66, + /* Control Plane w/NULL enc. + AES CMAC int. UL LONG SN */ + 66, + /* Control Plane w/NULL enc. + AES CMAC int. DL LONG SN */ + 66, + /* Control Plane w/NULL enc. + ZUC int. UL LONG SN */ + 66, + /* Control Plane w/NULL enc. + ZUC int. DL LONG SN */ + 66, + + /* Control Plane w/SNOW f8 enc. + NULL int. UL LONG SN */ + 66, + /* Control Plane w/SNOW f8 enc. + NULL int. DL LONG SN */ + 66, + /* Control Plane w/SNOW f8 enc. + SNOW f9 int. UL LONG SN */ + 66, + /* Control Plane w/SNOW f8 enc. + SNOW f9 int. DL LONG SN */ + 66, + /* Control Plane w/SNOW f8 enc. + AES CMAC int. UL LONG SN */ + 66, + /* Control Plane w/SNOW f8 enc. + AES CMAC int. DL */ + 66, + /* Control Plane w/SNOW f8 enc. + ZUC int. UL */ + 66, + /* Control Plane w/SNOW f8 enc. + ZUC int. DL */ + 66, + + /* Control Plane w/AES CTR enc. + NULL int. UL */ + 66, + /* Control Plane w/AES CTR enc. + NULL int. DL */ + 66, + /* Control Plane w/AES CTR enc. + SNOW f9 int. UL */ + 66, + /* Control Plane w/AES CTR enc. + SNOW f9 int. DL */ + 66, + /* Control Plane w/AES CTR enc. + AES CMAC int. UL */ + 66, + /* Control Plane w/AES CTR enc. + AES CMAC int. DL */ + 66, + /* Control Plane w/AES CTR enc. + ZUC int. UL */ + 66, + /* Control Plane w/AES CTR enc. + ZUC int. DL */ + 66, + + /* Control Plane w/ZUC enc. + NULL int. UL */ + 66, + /* Control Plane w/ZUC enc. + NULL int. DL */ + 66, + /* Control Plane w/ZUC enc. + SNOW f9 int. UL */ + 66, + /* Control Plane w/ZUC enc. + SNOW f9 int. DL */ + 66, + /* Control Plane w/ZUC enc. + AES CMAC int. UL */ + 66, + /* Control Plane w/ZUC enc. + AES CMAC int. DL */ + 66, + /* Control Plane w/ZUC enc. + ZUC int. UL */ + 66, + /* Control Plane w/ZUC enc. + ZUC int. DL */ + 66, + +}; + +static uint8_t *pdcp_test_data_out[] = { + /* Control Plane w/NULL enc. + NULL int. UL */ + (uint8_t[]){0x8b, 0xad, 0x9c, 0x44, 0x1f, 0x89, 0x0b, 0x38, 0xc4, 0x57, + 0xa4, 0x9d, 0x42, 0x14, 0x07, 0xe8, 0x00, 0x00, 0x00, 0x00}, + /* Control Plane w/NULL enc. + NULL int. DL */ + (uint8_t[]){0x8b, 0xad, 0x9c, 0x44, 0x1f, 0x89, 0x0b, 0x38, 0xc4, 0x57, + 0xa4, 0x9d, 0x42, 0x14, 0x07, 0xe8, 0x00, 0x00, 0x00, 0x00}, + /* Control Plane w/NULL enc. + SNOW f9 int. UL */ + (uint8_t[]){0x8b, 0xad, 0x9c, 0x44, 0x1f, 0x89, 0x0b, 0x38, 0xc4, 0x57, + 0xa4, 0x9d, 0x42, 0x14, 0x07, 0xe8, 0x88, 0x7f, 0x4e, 0x59}, + /* Control Plane w/NULL enc. + SNOW f9 int. DL */ + (uint8_t[]){0x8b, 0xad, 0x9c, 0x44, 0x1f, 0x89, 0x0b, 0x38, 0xc4, 0x57, + 0xa4, 0x9d, 0x42, 0x14, 0x07, 0xe8, 0x9d, 0x9e, 0x45, 0x36}, + /* Control Plane w/NULL enc. + AES CMAC int. UL */ + (uint8_t[]){0x8b, 0xad, 0x9c, 0x44, 0x1f, 0x89, 0x0b, 0x38, 0xc4, 0x57, + 0xa4, 0x9d, 0x42, 0x14, 0x07, 0xe8, 0xf3, 0xdd, 0x01, 0xdf}, + /* Control Plane w/NULL enc. + AES CMAC int. DL */ + (uint8_t[]){0x8b, 0xad, 0x9c, 0x44, 0x1f, 0x89, 0x0b, 0x38, 0xc4, 0x57, + 0xa4, 0x9d, 0x42, 0x14, 0x07, 0xe8, 0x5d, 0x8e, 0x5d, 0x05}, + /* Control Plane w/NULL enc. + ZUC int. UL */ + (uint8_t[]){0x8b, 0xad, 0x9c, 0x44, 0x1f, 0x89, 0x0b, 0x38, 0xc4, 0x57, + 0xa4, 0x9d, 0x42, 0x14, 0x07, 0xe8, 0x18, 0xc3, 0x2e, 0x66}, + /* Control Plane w/NULL enc. + ZUC int. DL */ + (uint8_t[]){0x8b, 0xad, 0x9c, 0x44, 0x1f, 0x89, 0x0b, 0x38, 0xc4, 0x57, + 0xa4, 0x9d, 0x42, 0x14, 0x07, 0xe8, 0x72, 0x44, 0xab, 0x64}, + /* Control Plane w/SNOW f8 enc. + NULL int. UL */ + (uint8_t[]){0x8b, 0x39, 0xd1, 0x2b, 0xbd, 0x2a, 0x4c, 0x91, 0x59, 0xff, + 0xfa, 0xce, 0x68, 0xc0, 0x7c, 0x30, 0xd0, 0xc5, 0x08, 0x58}, + /* Control Plane w/SNOW f8 enc. + NULL int. DL */ + (uint8_t[]){0x8b, 0x26, 0xf3, 0x67, 0xf1, 0x42, 0x50, 0x1a, 0x85, 0x02, + 0xb9, 0x00, 0xa8, 0x9b, 0xcf, 0x06, 0xd1, 0x2c, 0x86, 0x7c}, + /* Control Plane w/SNOW f8 enc. + SNOW f9 int. UL */ + (uint8_t[]){0x8b, 0x39, 0xd1, 0x2b, 0xbd, 0x2a, 0x4c, 0x91, 0x59, 0xff, + 0xfa, 0xce, 0x68, 0xc0, 0x7c, 0x30, 0x58, 0xba, 0x46, 0x01}, + /* Control Plane w/SNOW f8 enc. + SNOW f9 int. DL */ + (uint8_t[]){0x8b, 0x26, 0xf3, 0x67, 0xf1, 0x42, 0x50, 0x1a, 0x85, 0x02, + 0xb9, 0x00, 0xa8, 0x9b, 0xcf, 0x06, 0x4c, 0xb2, 0xc3, 0x4a}, + /* Control Plane w/SNOW f8 enc. + AES CMAC int. UL */ + (uint8_t[]){0x8b, 0x39, 0xd1, 0x2b, 0xbd, 0x2a, 0x4c, 0x91, 0x59, 0xff, + 0xfa, 0xce, 0x68, 0xc0, 0x7c, 0x30, 0x23, 0x18, 0x09, 0x87}, + /* Control Plane w/SNOW f8 enc. + AES CMAC int. DL */ + (uint8_t[]){0x8b, 0x26, 0xf3, 0x67, 0xf1, 0x42, 0x50, 0x1a, 0x85, 0x02, + 0xb9, 0x00, 0xa8, 0x9b, 0xcf, 0x06, 0x8c, 0xa2, 0xdb, 0x79}, + /* Control Plane w/SNOW f8 enc. + ZUC int. UL */ + (uint8_t[]){0x8b, 0x39, 0xd1, 0x2b, 0xbd, 0x2a, 0x4c, 0x91, 0x59, 0xff, + 0xfa, 0xce, 0x68, 0xc0, 0x7c, 0x30, 0xc8, 0x06, 0x26, 0x3e}, + /* Control Plane w/SNOW f8 enc. + ZUC int. DL */ + (uint8_t[]){0x8b, 0x26, 0xf3, 0x67, 0xf1, 0x42, 0x50, 0x1a, 0x85, 0x02, + 0xb9, 0x00, 0xa8, 0x9b, 0xcf, 0x06, 0xa3, 0x68, 0x2d, 0x18}, + /* Control Plane w/AES CTR enc. + NULL int. UL */ + (uint8_t[]){0x8b, 0x2c, 0x59, 0x74, 0xab, 0xdc, 0xd8, 0x36, 0xf6, 0x1b, + 0x54, 0x8d, 0x46, 0x93, 0x1c, 0xff, 0x32, 0x4f, 0x1a, 0x6b}, + /* Control Plane w/AES CTR enc. + NULL int. DL */ + (uint8_t[]){0x8b, 0xf2, 0xb9, 0x9d, 0x96, 0x51, 0xcc, 0x1e, 0xe8, 0x55, + 0x3e, 0x98, 0xc5, 0x58, 0xec, 0x4c, 0x92, 0x40, 0x52, 0x8e}, + /* Control Plane w/AES CTR enc. + SNOW f9 int. UL */ + (uint8_t[]){0x8b, 0x2c, 0x59, 0x74, 0xab, 0xdc, 0xd8, 0x36, 0xf6, 0x1b, + 0x54, 0x8d, 0x46, 0x93, 0x1c, 0xff, 0xba, 0x30, 0x54, 0x32}, + /* Control Plane w/AES CTR enc. + SNOW f9 int. DL */ + (uint8_t[]){0x8b, 0xf2, 0xb9, 0x9d, 0x96, 0x51, 0xcc, 0x1e, 0xe8, 0x55, + 0x3e, 0x98, 0xc5, 0x58, 0xec, 0x4c, 0x0f, 0xde, 0x17, 0xb8}, + /* Control Plane w/AES CTR enc. + AES CMAC int. UL */ + (uint8_t[]){0x8b, 0x2c, 0x59, 0x74, 0xab, 0xdc, 0xd8, 0x36, 0xf6, 0x1b, + 0x54, 0x8d, 0x46, 0x93, 0x1c, 0xff, 0xc1, 0x92, 0x1b, 0xb4}, + /* Control Plane w/AES CTR enc. + AES CMAC int. DL */ + (uint8_t[]){0x8b, 0xf2, 0xb9, 0x9d, 0x96, 0x51, 0xcc, 0x1e, 0xe8, 0x55, + 0x3e, 0x98, 0xc5, 0x58, 0xec, 0x4c, 0xcf, 0xce, 0x0f, 0x8b}, + /* Control Plane w/AES CTR enc. + ZUC int. UL */ + (uint8_t[]){0x8b, 0x2c, 0x59, 0x74, 0xab, 0xdc, 0xd8, 0x36, 0xf6, 0x1b, + 0x54, 0x8d, 0x46, 0x93, 0x1c, 0xff, 0x2a, 0x8c, 0x34, 0x0d}, + /* Control Plane w/AES CTR enc. + ZUC int. DL */ + (uint8_t[]){0x8b, 0xf2, 0xb9, 0x9d, 0x96, 0x51, 0xcc, 0x1e, 0xe8, 0x55, + 0x3e, 0x98, 0xc5, 0x58, 0xec, 0x4c, 0xe0, 0x04, 0xf9, 0xea}, + /* Control Plane w/ZUC enc. + NULL int. UL */ + (uint8_t[]){0x8b, 0xa6, 0x23, 0xf8, 0xca, 0x98, 0x03, 0x33, 0x81, 0x8a, + 0x6b, 0xfe, 0x37, 0xf2, 0x20, 0xd6, 0x68, 0x82, 0xb9, 0x06}, + /* Control Plane w/ZUC enc. + NULL int. DL */ + (uint8_t[]){0x8b, 0x3b, 0x42, 0xfc, 0x73, 0x83, 0x09, 0xb1, 0x3f, 0x66, + 0x86, 0x3a, 0x5d, 0xe7, 0x47, 0xf4, 0x44, 0x81, 0x49, 0x0e}, + /* Control Plane w/ZUC enc. + SNOW f9 int. UL */ + (uint8_t[]){0x8b, 0xa6, 0x23, 0xf8, 0xca, 0x98, 0x03, 0x33, 0x81, 0x8a, + 0x6b, 0xfe, 0x37, 0xf2, 0x20, 0xd6, 0xe0, 0xfd, 0xf7, 0x5f}, + /* Control Plane w/ZUC enc. + SNOW f9 int. DL */ + (uint8_t[]){0x8b, 0x3b, 0x42, 0xfc, 0x73, 0x83, 0x09, 0xb1, 0x3f, 0x66, + 0x86, 0x3a, 0x5d, 0xe7, 0x47, 0xf4, 0xd9, 0x1f, 0x0c, 0x38}, + /* Control Plane w/ZUC enc. + AES CMAC int. UL */ + (uint8_t[]){0x8b, 0xa6, 0x23, 0xf8, 0xca, 0x98, 0x03, 0x33, 0x81, 0x8a, + 0x6b, 0xfe, 0x37, 0xf2, 0x20, 0xd6, 0x9b, 0x5f, 0xb8, 0xd9}, + /* Control Plane w/ZUC enc. + AES CMAC int. DL */ + (uint8_t[]){0x8b, 0x3b, 0x42, 0xfc, 0x73, 0x83, 0x09, 0xb1, 0x3f, 0x66, + 0x86, 0x3a, 0x5d, 0xe7, 0x47, 0xf4, 0x19, 0x0f, 0x14, 0x0b}, + /* Control Plane w/ZUC enc. + ZUC int. UL */ + (uint8_t[]){0x8b, 0xa6, 0x23, 0xf8, 0xca, 0x98, 0x03, 0x33, 0x81, 0x8a, + 0x6b, 0xfe, 0x37, 0xf2, 0x20, 0xd6, 0x70, 0x41, 0x97, 0x60}, + /* Control Plane w/ZUC enc. + ZUC int. DL */ + (uint8_t[]){0x8b, 0x3b, 0x42, 0xfc, 0x73, 0x83, 0x09, 0xb1, 0x3f, 0x66, + 0x86, 0x3a, 0x5d, 0xe7, 0x47, 0xf4, 0x36, 0xc5, 0xe2, 0x6a}, + + /************ C-plane 12-bit ****************************/ + /* Control Plane w/NULL enc. + NULL int. UL LONG SN */ + (uint8_t[]){0x50, 0x01, 0x86, 0xB8, 0xF8, 0xDB, 0x2D, 0x3F, 0x23, 0x82, + 0x53, 0xFD, 0x37, 0xDE, 0x88, 0x63, 0x08, 0x4F, 0xD3, 0x71, + 0xFB, 0xEB, 0x35, 0xF3, 0x64, 0xD3, 0x5E, 0xAF, 0x3F, 0x57, + 0xC2, 0xE2, 0x91, 0x91, 0xA3, 0x9C, 0xE6, 0x30, 0x69, 0x70, + 0x33, 0x8A, 0x15, 0xD0, 0x36, 0x47, 0x0E, 0x8F, 0xEE, 0x2C, + 0x96, 0x0C, 0xD7, 0x7D, 0x70, 0x1B, 0x01, 0x7F, 0x96, 0x46, + 0x53, 0xB0, 0xA4, 0x7A, 0xF9, 0xDD}, + /* Control Plane w/NULL enc. + NULL int. DL LONG SN */ + (uint8_t[]){0xA0, 0x00, 0x86, 0xB8, 0xF8, 0xDB, 0x2D, 0x3F, 0x23, 0x82, + 0x53, 0xFD, 0x37, 0xDE, 0x88, 0x63, 0x08, 0x4F, 0xD3, 0x71, + 0xFB, 0xEB, 0x35, 0xF3, 0x64, 0xD3, 0x5E, 0xAF, 0x3F, 0x57, + 0xC2, 0xE2, 0x91, 0x91, 0xA3, 0x9C, 0xE6, 0x30, 0x69, 0x70, + 0x33, 0x8A, 0x15, 0xD0, 0x36, 0x47, 0x0E, 0x8F, 0xEE, 0x2C, + 0x96, 0x0C, 0xD7, 0x7D, 0x70, 0x1B, 0x01, 0x7F, 0x96, 0x46, + 0x53, 0xB0, 0xA4, 0x7A, 0xF9, 0xDD}, + /* Control Plane w/NULL enc. + SNOW f9 int. UL LONG SN */ + (uint8_t[]){0x50, 0x01, 0x86, 0xB8, 0xF8, 0xDB, 0x2D, 0x3F, 0x23, 0x82, + 0x53, 0xFD, 0x37, 0xDE, 0x88, 0x63, 0x08, 0x4F, 0xD3, 0x71, + 0xFB, 0xEB, 0x35, 0xF3, 0x64, 0xD3, 0x5E, 0xAF, 0x3F, 0x57, + 0xC2, 0xE2, 0x91, 0x91, 0xA3, 0x9C, 0xE6, 0x30, 0x69, 0x70, + 0x33, 0x8A, 0x15, 0xD0, 0x36, 0x47, 0x0E, 0x8F, 0xEE, 0x2C, + 0x96, 0x0C, 0xD7, 0x7D, 0x70, 0x1B, 0x01, 0x7F, 0x96, 0x46, + 0x53, 0xB0, 0xA4, 0x7A, 0xF9, 0xDD, 0x74, 0xB8, 0x27, 0x96}, + /* Control Plane w/NULL enc. + SNOW f9 int. DL LONG SN */ + (uint8_t[]){0xA0, 0x00, 0x86, 0xB8, 0xF8, 0xDB, 0x2D, 0x3F, 0x23, 0x82, + 0x53, 0xFD, 0x37, 0xDE, 0x88, 0x63, 0x08, 0x4F, 0xD3, 0x71, + 0xFB, 0xEB, 0x35, 0xF3, 0x64, 0xD3, 0x5E, 0xAF, 0x3F, 0x57, + 0xC2, 0xE2, 0x91, 0x91, 0xA3, 0x9C, 0xE6, 0x30, 0x69, 0x70, + 0x33, 0x8A, 0x15, 0xD0, 0x36, 0x47, 0x0E, 0x8F, 0xEE, 0x2C, + 0x96, 0x0C, 0xD7, 0x7D, 0x70, 0x1B, 0x01, 0x7F, 0x96, 0x46, + 0x53, 0xB0, 0xA4, 0x7A, 0xF9, 0xDD, 0x97, 0x50, 0x3F, 0xF7}, + /* Control Plane w/NULL enc. + AES CMAC int. UL LONG SN */ + (uint8_t[]){0x50, 0x01, 0x86, 0xB8, 0xF8, 0xDB, 0x2D, 0x3F, 0x23, 0x82, + 0x53, 0xFD, 0x37, 0xDE, 0x88, 0x63, 0x08, 0x4F, 0xD3, 0x71, + 0xFB, 0xEB, 0x35, 0xF3, 0x64, 0xD3, 0x5E, 0xAF, 0x3F, 0x57, + 0xC2, 0xE2, 0x91, 0x91, 0xA3, 0x9C, 0xE6, 0x30, 0x69, 0x70, + 0x33, 0x8A, 0x15, 0xD0, 0x36, 0x47, 0x0E, 0x8F, 0xEE, 0x2C, + 0x96, 0x0C, 0xD7, 0x7D, 0x70, 0x1B, 0x01, 0x7F, 0x96, 0x46, + 0x53, 0xB0, 0xA4, 0x7A, 0xF9, 0xDD, 0x3F, 0x71, 0x26, 0x2E}, + /* Control Plane w/NULL enc. + AES CMAC int. DL LONG SN */ + (uint8_t[]){0xA0, 0x00, 0x86, 0xB8, 0xF8, 0xDB, 0x2D, 0x3F, 0x23, 0x82, + 0x53, 0xFD, 0x37, 0xDE, 0x88, 0x63, 0x08, 0x4F, 0xD3, 0x71, + 0xFB, 0xEB, 0x35, 0xF3, 0x64, 0xD3, 0x5E, 0xAF, 0x3F, 0x57, + 0xC2, 0xE2, 0x91, 0x91, 0xA3, 0x9C, 0xE6, 0x30, 0x69, 0x70, + 0x33, 0x8A, 0x15, 0xD0, 0x36, 0x47, 0x0E, 0x8F, 0xEE, 0x2C, + 0x96, 0x0C, 0xD7, 0x7D, 0x70, 0x1B, 0x01, 0x7F, 0x96, 0x46, + 0x53, 0xB0, 0xA4, 0x7A, 0xF9, 0xDD, 0xE8, 0xBB, 0xE9, 0x36}, + /* Control Plane w/NULL enc. + ZUC int. UL LONG SN */ + (uint8_t[]){0x50, 0x01, 0x86, 0xB8, 0xF8, 0xDB, 0x2D, 0x3F, 0x23, 0x82, + 0x53, 0xFD, 0x37, 0xDE, 0x88, 0x63, 0x08, 0x4F, 0xD3, 0x71, + 0xFB, 0xEB, 0x35, 0xF3, 0x64, 0xD3, 0x5E, 0xAF, 0x3F, 0x57, + 0xC2, 0xE2, 0x91, 0x91, 0xA3, 0x9C, 0xE6, 0x30, 0x69, 0x70, + 0x33, 0x8A, 0x15, 0xD0, 0x36, 0x47, 0x0E, 0x8F, 0xEE, 0x2C, + 0x96, 0x0C, 0xD7, 0x7D, 0x70, 0x1B, 0x01, 0x7F, 0x96, 0x46, + 0x53, 0xB0, 0xA4, 0x7A, 0xF9, 0xDD, 0x54, 0xEF, 0x25, 0xC3}, + /* Control Plane w/NULL enc. + ZUC int. DL LONG SN */ + (uint8_t[]){0xA0, 0x00, 0x86, 0xB8, 0xF8, 0xDB, 0x2D, 0x3F, 0x23, 0x82, + 0x53, 0xFD, 0x37, 0xDE, 0x88, 0x63, 0x08, 0x4F, 0xD3, 0x71, + 0xFB, 0xEB, 0x35, 0xF3, 0x64, 0xD3, 0x5E, 0xAF, 0x3F, 0x57, + 0xC2, 0xE2, 0x91, 0x91, 0xA3, 0x9C, 0xE6, 0x30, 0x69, 0x70, + 0x33, 0x8A, 0x15, 0xD0, 0x36, 0x47, 0x0E, 0x8F, 0xEE, 0x2C, + 0x96, 0x0C, 0xD7, 0x7D, 0x70, 0x1B, 0x01, 0x7F, 0x96, 0x46, + 0x53, 0xB0, 0xA4, 0x7A, 0xF9, 0xDD, 0x76, 0xD0, 0x5B, 0x2C}, + + /* Control Plane w/SNOW f8 enc. + NULL int. UL LONG SN */ + (uint8_t[]){0x50, 0x01, 0xD6, 0xCC, 0xB5, 0xCE, 0x7C, 0xF8, 0xBE, 0x68, + 0x2B, 0xAB, 0xC7, 0x32, 0xDA, 0x49, 0xD0, 0xC7, 0x54, 0xCA, + 0x18, 0xBB, 0x05, 0x6D, 0xC5, 0x5F, 0xD3, 0xA7, 0xE6, 0xD8, + 0xE1, 0xDF, 0x7C, 0x4F, 0x3C, 0x8B, 0x86, 0xC6, 0x8E, 0x24, + 0xF7, 0xBC, 0x45, 0x2A, 0x2E, 0xB4, 0xF5, 0xD0, 0x39, 0x5B, + 0x70, 0xB4, 0x53, 0x90, 0x98, 0x8A, 0x7C, 0x87, 0x21, 0xED, + 0x76, 0x83, 0x63, 0x39, 0x2C, 0xDB, 0x12, 0x07, 0xAC, 0x93}, + /* Control Plane w/SNOW f8 enc. + NULL int. DL LONG SN */ + (uint8_t[]){0xA0, 0x00, 0xC1, 0x3A, 0x28, 0xBC, 0xEB, 0xAC, 0x49, 0xB9, + 0xA1, 0xFC, 0xD6, 0x83, 0xEC, 0xA2, 0x89, 0xE6, 0x8F, 0xCA, + 0x77, 0x62, 0xF8, 0x55, 0xC6, 0x8B, 0x25, 0x7B, 0xA3, 0xAF, + 0x67, 0x6A, 0xEB, 0x45, 0x18, 0x0B, 0xD6, 0x03, 0xDD, 0xFC, + 0xDE, 0x74, 0x3C, 0x4C, 0x7F, 0x5E, 0x67, 0x25, 0x9F, 0xC9, + 0x0F, 0xD8, 0x38, 0xE6, 0x3F, 0xD4, 0x59, 0x7A, 0x9A, 0xB7, + 0xF4, 0x52, 0xC6, 0x66, 0xC2, 0x73, 0xDC, 0x32, 0x96, 0x65}, + /* Control Plane w/SNOW f8 enc. + SNOW f9 int. UL LONG SN */ + (uint8_t[]){0x50, 0x01, 0xD6, 0xCC, 0xB5, 0xCE, 0x7C, 0xF8, 0xBE, 0x68, + 0x2B, 0xAB, 0xC7, 0x32, 0xDA, 0x49, 0xD0, 0xC7, 0x54, 0xCA, + 0x18, 0xBB, 0x05, 0x6D, 0xC5, 0x5F, 0xD3, 0xA7, 0xE6, 0xD8, + 0xE1, 0xDF, 0x7C, 0x4F, 0x3C, 0x8B, 0x86, 0xC6, 0x8E, 0x24, + 0xF7, 0xBC, 0x45, 0x2A, 0x2E, 0xB4, 0xF5, 0xD0, 0x39, 0x5B, + 0x70, 0xB4, 0x53, 0x90, 0x98, 0x8A, 0x7C, 0x87, 0x21, 0xED, + 0x76, 0x83, 0x63, 0x39, 0x2C, 0xDB, 0x66, 0xBF, 0x8B, 0x05}, + /* Control Plane w/SNOW f8 enc. + SNOW f9 int. DL LONG SN */ + (uint8_t[]){0xA0, 0x00, 0xC1, 0x3A, 0x28, 0xBC, 0xEB, 0xAC, 0x49, 0xB9, + 0xA1, 0xFC, 0xD6, 0x83, 0xEC, 0xA2, 0x89, 0xE6, 0x8F, 0xCA, + 0x77, 0x62, 0xF8, 0x55, 0xC6, 0x8B, 0x25, 0x7B, 0xA3, 0xAF, + 0x67, 0x6A, 0xEB, 0x45, 0x18, 0x0B, 0xD6, 0x03, 0xDD, 0xFC, + 0xDE, 0x74, 0x3C, 0x4C, 0x7F, 0x5E, 0x67, 0x25, 0x9F, 0xC9, + 0x0F, 0xD8, 0x38, 0xE6, 0x3F, 0xD4, 0x59, 0x7A, 0x9A, 0xB7, + 0xF4, 0x52, 0xC6, 0x66, 0xC2, 0x73, 0x4B, 0x62, 0xA9, 0x92}, + /* Control Plane w/SNOW f8 enc. + AES CMAC int. UL LONG SN */ + (uint8_t[]){0x50, 0x01, 0xD6, 0xCC, 0xB5, 0xCE, 0x7C, 0xF8, 0xBE, 0x68, + 0x2B, 0xAB, 0xC7, 0x32, 0xDA, 0x49, 0xD0, 0xC7, 0x54, 0xCA, + 0x18, 0xBB, 0x05, 0x6D, 0xC5, 0x5F, 0xD3, 0xA7, 0xE6, 0xD8, + 0xE1, 0xDF, 0x7C, 0x4F, 0x3C, 0x8B, 0x86, 0xC6, 0x8E, 0x24, + 0xF7, 0xBC, 0x45, 0x2A, 0x2E, 0xB4, 0xF5, 0xD0, 0x39, 0x5B, + 0x70, 0xB4, 0x53, 0x90, 0x98, 0x8A, 0x7C, 0x87, 0x21, 0xED, + 0x76, 0x83, 0x63, 0x39, 0x2C, 0xDB, 0x2D, 0x76, 0x8A, 0xBD}, + /* Control Plane w/SNOW f8 enc. + AES CMAC int. DL LONG SN */ + (uint8_t[]){0xA0, 0x00, 0xC1, 0x3A, 0x28, 0xBC, 0xEB, 0xAC, 0x49, 0xB9, + 0xA1, 0xFC, 0xD6, 0x83, 0xEC, 0xA2, 0x89, 0xE6, 0x8F, 0xCA, + 0x77, 0x62, 0xF8, 0x55, 0xC6, 0x8B, 0x25, 0x7B, 0xA3, 0xAF, + 0x67, 0x6A, 0xEB, 0x45, 0x18, 0x0B, 0xD6, 0x03, 0xDD, 0xFC, + 0xDE, 0x74, 0x3C, 0x4C, 0x7F, 0x5E, 0x67, 0x25, 0x9F, 0xC9, + 0x0F, 0xD8, 0x38, 0xE6, 0x3F, 0xD4, 0x59, 0x7A, 0x9A, 0xB7, + 0xF4, 0x52, 0xC6, 0x66, 0xC2, 0x73, 0x34, 0x89, 0x7F, 0x53}, + /* Control Plane w/SNOW f8 enc. + ZUC int. UL LONG SN */ + (uint8_t[]){0x50, 0x01, 0xD6, 0xCC, 0xB5, 0xCE, 0x7C, 0xF8, 0xBE, 0x68, + 0x2B, 0xAB, 0xC7, 0x32, 0xDA, 0x49, 0xD0, 0xC7, 0x54, 0xCA, + 0x18, 0xBB, 0x05, 0x6D, 0xC5, 0x5F, 0xD3, 0xA7, 0xE6, 0xD8, + 0xE1, 0xDF, 0x7C, 0x4F, 0x3C, 0x8B, 0x86, 0xC6, 0x8E, 0x24, + 0xF7, 0xBC, 0x45, 0x2A, 0x2E, 0xB4, 0xF5, 0xD0, 0x39, 0x5B, + 0x70, 0xB4, 0x53, 0x90, 0x98, 0x8A, 0x7C, 0x87, 0x21, 0xED, + 0x76, 0x83, 0x63, 0x39, 0x2C, 0xDB, 0x46, 0xE8, 0x89, 0x50}, + /* Control Plane w/SNOW f8 enc. + ZUC int. DL LONG SN */ + (uint8_t[]){0xA0, 0x00, 0xC1, 0x3A, 0x28, 0xBC, 0xEB, 0xAC, 0x49, 0xB9, + 0xA1, 0xFC, 0xD6, 0x83, 0xEC, 0xA2, 0x89, 0xE6, 0x8F, 0xCA, + 0x77, 0x62, 0xF8, 0x55, 0xC6, 0x8B, 0x25, 0x7B, 0xA3, 0xAF, + 0x67, 0x6A, 0xEB, 0x45, 0x18, 0x0B, 0xD6, 0x03, 0xDD, 0xFC, + 0xDE, 0x74, 0x3C, 0x4C, 0x7F, 0x5E, 0x67, 0x25, 0x9F, 0xC9, + 0x0F, 0xD8, 0x38, 0xE6, 0x3F, 0xD4, 0x59, 0x7A, 0x9A, 0xB7, + 0xF4, 0x52, 0xC6, 0x66, 0xC2, 0x73, 0xAA, 0xE2, 0xCD, 0x49}, + + /* Control Plane w/AES CTR enc. + NULL int. UL LONG SN */ + (uint8_t[]){0x50, 0x01, 0x57, 0xB2, 0x7E, 0x21, 0xE7, 0xDD, 0x56, 0xCF, + 0xE9, 0x97, 0x27, 0xE8, 0xA3, 0xDE, 0x4C, 0xF6, 0xD1, 0x10, + 0x4A, 0x7D, 0xC0, 0xD0, 0xF7, 0x1B, 0x3E, 0x16, 0xF0, 0xA8, + 0x4F, 0xBC, 0x17, 0x73, 0x9A, 0x69, 0x73, 0x6C, 0x83, 0xE5, + 0x9D, 0x56, 0xBA, 0xF7, 0x08, 0x6D, 0xC5, 0x89, 0xFB, 0xAB, + 0x99, 0xD1, 0x37, 0x42, 0x89, 0x8F, 0xE1, 0xAE, 0xA3, 0x22, + 0x60, 0x98, 0xFD, 0x79, 0x32, 0xDB, 0x86, 0x33, 0x3F, 0x3C}, + + /* Control Plane w/AES CTR enc. + NULL int. DL LONG SN */ + (uint8_t[]){0xA0, 0x00, 0x84, 0x3D, 0x5A, 0x2C, 0xBA, 0x02, 0xC1, 0x6C, + 0x8D, 0x78, 0xB5, 0x1F, 0x51, 0x70, 0x18, 0x61, 0x92, 0x10, + 0x18, 0xD1, 0x25, 0xB4, 0x4B, 0x24, 0x94, 0xAE, 0x6D, 0x45, + 0xA7, 0x00, 0x01, 0xF8, 0x97, 0x9F, 0xF9, 0x58, 0xD6, 0x62, + 0x30, 0x7D, 0xE9, 0x41, 0x69, 0x65, 0x1C, 0xBA, 0x79, 0x54, + 0x7E, 0xF5, 0xBD, 0x60, 0xEB, 0x9E, 0xC2, 0xC9, 0x54, 0x65, + 0x7D, 0xAC, 0xB6, 0x47, 0xFF, 0x1C, 0x87, 0x7A, 0x32, 0x1B}, + /* Control Plane w/AES CTR enc. + SNOW f9 int. UL LONG SN */ + (uint8_t[]){0x50, 0x01, 0x57, 0xB2, 0x7E, 0x21, 0xE7, 0xDD, 0x56, 0xCF, + 0xE9, 0x97, 0x27, 0xE8, 0xA3, 0xDE, 0x4C, 0xF6, 0xD1, 0x10, + 0x4A, 0x7D, 0xC0, 0xD0, 0xF7, 0x1B, 0x3E, 0x16, 0xF0, 0xA8, + 0x4F, 0xBC, 0x17, 0x73, 0x9A, 0x69, 0x73, 0x6C, 0x83, 0xE5, + 0x9D, 0x56, 0xBA, 0xF7, 0x08, 0x6D, 0xC5, 0x89, 0xFB, 0xAB, + 0x99, 0xD1, 0x37, 0x42, 0x89, 0x8F, 0xE1, 0xAE, 0xA3, 0x22, + 0x60, 0x98, 0xFD, 0x79, 0x32, 0xDB, 0xF2, 0x8B, 0x18, 0xAA}, + + /* Control Plane w/AES CTR enc. + SNOW f9 int. DL LONG SN */ + (uint8_t[]){0xA0, 0x00, 0x84, 0x3D, 0x5A, 0x2C, 0xBA, 0x02, 0xC1, 0x6C, + 0x8D, 0x78, 0xB5, 0x1F, 0x51, 0x70, 0x18, 0x61, 0x92, 0x10, + 0x18, 0xD1, 0x25, 0xB4, 0x4B, 0x24, 0x94, 0xAE, 0x6D, 0x45, + 0xA7, 0x00, 0x01, 0xF8, 0x97, 0x9F, 0xF9, 0x58, 0xD6, 0x62, + 0x30, 0x7D, 0xE9, 0x41, 0x69, 0x65, 0x1C, 0xBA, 0x79, 0x54, + 0x7E, 0xF5, 0xBD, 0x60, 0xEB, 0x9E, 0xC2, 0xC9, 0x54, 0x65, + 0x7D, 0xAC, 0xB6, 0x47, 0xFF, 0x1C, 0x10, 0x2A, 0x0D, 0xEC}, + /* Control Plane w/AES CTR enc. + AES CMAC int. UL LONG SN */ + (uint8_t[]){0x50, 0x01, 0x57, 0xB2, 0x7E, 0x21, 0xE7, 0xDD, 0x56, 0xCF, + 0xE9, 0x97, 0x27, 0xE8, 0xA3, 0xDE, 0x4C, 0xF6, 0xD1, 0x10, + 0x4A, 0x7D, 0xC0, 0xD0, 0xF7, 0x1B, 0x3E, 0x16, 0xF0, 0xA8, + 0x4F, 0xBC, 0x17, 0x73, 0x9A, 0x69, 0x73, 0x6C, 0x83, 0xE5, + 0x9D, 0x56, 0xBA, 0xF7, 0x08, 0x6D, 0xC5, 0x89, 0xFB, 0xAB, + 0x99, 0xD1, 0x37, 0x42, 0x89, 0x8F, 0xE1, 0xAE, 0xA3, 0x22, + 0x60, 0x98, 0xFD, 0x79, 0x32, 0xDB, 0xB9, 0x42, 0x19, 0x12}, + /* Control Plane w/AES CTR enc. + AES CMAC int. DL LONG SN */ + (uint8_t[]){0xA0, 0x00, 0x84, 0x3D, 0x5A, 0x2C, 0xBA, 0x02, 0xC1, 0x6C, + 0x8D, 0x78, 0xB5, 0x1F, 0x51, 0x70, 0x18, 0x61, 0x92, 0x10, + 0x18, 0xD1, 0x25, 0xB4, 0x4B, 0x24, 0x94, 0xAE, 0x6D, 0x45, + 0xA7, 0x00, 0x01, 0xF8, 0x97, 0x9F, 0xF9, 0x58, 0xD6, 0x62, + 0x30, 0x7D, 0xE9, 0x41, 0x69, 0x65, 0x1C, 0xBA, 0x79, 0x54, + 0x7E, 0xF5, 0xBD, 0x60, 0xEB, 0x9E, 0xC2, 0xC9, 0x54, 0x65, + 0x7D, 0xAC, 0xB6, 0x47, 0xFF, 0x1C, 0x6F, 0xC1, 0xDB, 0x2D}, + /* Control Plane w/AES CTR enc. + ZUC int. UL LONG SN */ + (uint8_t[]){0x50, 0x01, 0x57, 0xB2, 0x7E, 0x21, 0xE7, 0xDD, 0x56, 0xCF, + 0xE9, 0x97, 0x27, 0xE8, 0xA3, 0xDE, 0x4C, 0xF6, 0xD1, 0x10, + 0x4A, 0x7D, 0xC0, 0xD0, 0xF7, 0x1B, 0x3E, 0x16, 0xF0, 0xA8, + 0x4F, 0xBC, 0x17, 0x73, 0x9A, 0x69, 0x73, 0x6C, 0x83, 0xE5, + 0x9D, 0x56, 0xBA, 0xF7, 0x08, 0x6D, 0xC5, 0x89, 0xFB, 0xAB, + 0x99, 0xD1, 0x37, 0x42, 0x89, 0x8F, 0xE1, 0xAE, 0xA3, 0x22, + 0x60, 0x98, 0xFD, 0x79, 0x32, 0xDB, 0xD2, 0xDC, 0x1A, 0xFF}, + /* Control Plane w/AES CTR enc. + ZUC int. DL LONG SN */ + (uint8_t[]){0xA0, 0x00, 0x84, 0x3D, 0x5A, 0x2C, 0xBA, 0x02, 0xC1, 0x6C, + 0x8D, 0x78, 0xB5, 0x1F, 0x51, 0x70, 0x18, 0x61, 0x92, 0x10, + 0x18, 0xD1, 0x25, 0xB4, 0x4B, 0x24, 0x94, 0xAE, 0x6D, 0x45, + 0xA7, 0x00, 0x01, 0xF8, 0x97, 0x9F, 0xF9, 0x58, 0xD6, 0x62, + 0x30, 0x7D, 0xE9, 0x41, 0x69, 0x65, 0x1C, 0xBA, 0x79, 0x54, + 0x7E, 0xF5, 0xBD, 0x60, 0xEB, 0x9E, 0xC2, 0xC9, 0x54, 0x65, + 0x7D, 0xAC, 0xB6, 0x47, 0xFF, 0x1C, 0xF1, 0xAA, 0x69, 0x37}, + /* Control Plane w/ZUC enc. + NULL int. UL LONG SN */ + (uint8_t[]){0x50, 0x01, 0x47, 0x9B, 0x21, 0xD1, 0xB2, 0x99, 0x23, 0x56, + 0xC5, 0xFF, 0xC2, 0xB7, 0x7D, 0x30, 0xBA, 0xFB, 0x43, 0xED, + 0x79, 0xC9, 0x9D, 0x9D, 0x38, 0x35, 0xC6, 0x7B, 0xD0, 0xAA, + 0x33, 0x08, 0x88, 0x72, 0x16, 0x1D, 0xF7, 0xA0, 0xD9, 0xEC, + 0x73, 0x45, 0x51, 0x87, 0xFF, 0x64, 0xFB, 0x3C, 0xA6, 0xB5, + 0xD0, 0x1C, 0xD6, 0x90, 0x3D, 0x40, 0x54, 0x22, 0x2F, 0x6C, + 0xE4, 0xB1, 0x71, 0x15, 0x78, 0x54, 0x1D, 0xCD, 0x3A, 0xE0}, + /* Control Plane w/ZUC enc. + NULL int. DL LONG SN */ + (uint8_t[]){0xA0, 0x00, 0x3F, 0x01, 0xCE, 0xBD, 0x8A, 0x98, 0x7B, 0x26, + 0xF1, 0x28, 0x74, 0xDC, 0x26, 0x2B, 0x02, 0xE8, 0x9C, 0xBC, + 0x98, 0x41, 0xC5, 0x03, 0x57, 0x48, 0x83, 0xBB, 0x8E, 0xCA, + 0x87, 0xCD, 0x8B, 0xE9, 0x96, 0x2A, 0x35, 0x5C, 0xD3, 0x32, + 0x53, 0xA7, 0x12, 0xC2, 0xBC, 0x0C, 0x75, 0x98, 0x8E, 0x29, + 0x85, 0xAF, 0x0A, 0xFF, 0xAC, 0x6A, 0x00, 0x19, 0xC1, 0x51, + 0x53, 0xDE, 0x78, 0x07, 0x6D, 0x10, 0x90, 0xF5, 0xBD, 0x56}, + /* Control Plane w/ZUC enc. + SNOW f9 int. UL LONG SN */ + (uint8_t[]){0x50, 0x01, 0x47, 0x9B, 0x21, 0xD1, 0xB2, 0x99, 0x23, 0x56, + 0xC5, 0xFF, 0xC2, 0xB7, 0x7D, 0x30, 0xBA, 0xFB, 0x43, 0xED, + 0x79, 0xC9, 0x9D, 0x9D, 0x38, 0x35, 0xC6, 0x7B, 0xD0, 0xAA, + 0x33, 0x08, 0x88, 0x72, 0x16, 0x1D, 0xF7, 0xA0, 0xD9, 0xEC, + 0x73, 0x45, 0x51, 0x87, 0xFF, 0x64, 0xFB, 0x3C, 0xA6, 0xB5, + 0xD0, 0x1C, 0xD6, 0x90, 0x3D, 0x40, 0x54, 0x22, 0x2F, 0x6C, + 0xE4, 0xB1, 0x71, 0x15, 0x78, 0x54, 0x69, 0x75, 0x1D, 0x76}, + /* Control Plane w/ZUC enc. + SNOW f9 int. DL LONG SN */ + (uint8_t[]){0xA0, 0x00, 0x3F, 0x01, 0xCE, 0xBD, 0x8A, 0x98, 0x7B, 0x26, + 0xF1, 0x28, 0x74, 0xDC, 0x26, 0x2B, 0x02, 0xE8, 0x9C, 0xBC, + 0x98, 0x41, 0xC5, 0x03, 0x57, 0x48, 0x83, 0xBB, 0x8E, 0xCA, + 0x87, 0xCD, 0x8B, 0xE9, 0x96, 0x2A, 0x35, 0x5C, 0xD3, 0x32, + 0x53, 0xA7, 0x12, 0xC2, 0xBC, 0x0C, 0x75, 0x98, 0x8E, 0x29, + 0x85, 0xAF, 0x0A, 0xFF, 0xAC, 0x6A, 0x00, 0x19, 0xC1, 0x51, + 0x53, 0xDE, 0x78, 0x07, 0x6D, 0x10, 0x07, 0xA5, 0x82, 0xA1}, + /* Control Plane w/ZUC enc. + AES CMAC int. UL LONG SN */ + (uint8_t[]){0x50, 0x01, 0x47, 0x9B, 0x21, 0xD1, 0xB2, 0x99, 0x23, 0x56, + 0xC5, 0xFF, 0xC2, 0xB7, 0x7D, 0x30, 0xBA, 0xFB, 0x43, 0xED, + 0x79, 0xC9, 0x9D, 0x9D, 0x38, 0x35, 0xC6, 0x7B, 0xD0, 0xAA, + 0x33, 0x08, 0x88, 0x72, 0x16, 0x1D, 0xF7, 0xA0, 0xD9, 0xEC, + 0x73, 0x45, 0x51, 0x87, 0xFF, 0x64, 0xFB, 0x3C, 0xA6, 0xB5, + 0xD0, 0x1C, 0xD6, 0x90, 0x3D, 0x40, 0x54, 0x22, 0x2F, 0x6C, + 0xE4, 0xB1, 0x71, 0x15, 0x78, 0x54, 0x22, 0xBC, 0x1C, 0xCE}, + /* Control Plane w/ZUC enc. + AES CMAC int. DL LONG SN */ + (uint8_t[]){0xA0, 0x00, 0x3F, 0x01, 0xCE, 0xBD, 0x8A, 0x98, 0x7B, 0x26, + 0xF1, 0x28, 0x74, 0xDC, 0x26, 0x2B, 0x02, 0xE8, 0x9C, 0xBC, + 0x98, 0x41, 0xC5, 0x03, 0x57, 0x48, 0x83, 0xBB, 0x8E, 0xCA, + 0x87, 0xCD, 0x8B, 0xE9, 0x96, 0x2A, 0x35, 0x5C, 0xD3, 0x32, + 0x53, 0xA7, 0x12, 0xC2, 0xBC, 0x0C, 0x75, 0x98, 0x8E, 0x29, + 0x85, 0xAF, 0x0A, 0xFF, 0xAC, 0x6A, 0x00, 0x19, 0xC1, 0x51, + 0x53, 0xDE, 0x78, 0x07, 0x6D, 0x10, 0x78, 0x4E, 0x54, 0x60}, + /* Control Plane w/ZUC enc. + ZUC int. UL LONG SN */ + (uint8_t[]){0x50, 0x01, 0x47, 0x9B, 0x21, 0xD1, 0xB2, 0x99, 0x23, 0x56, + 0xC5, 0xFF, 0xC2, 0xB7, 0x7D, 0x30, 0xBA, 0xFB, 0x43, 0xED, + 0x79, 0xC9, 0x9D, 0x9D, 0x38, 0x35, 0xC6, 0x7B, 0xD0, 0xAA, + 0x33, 0x08, 0x88, 0x72, 0x16, 0x1D, 0xF7, 0xA0, 0xD9, 0xEC, + 0x73, 0x45, 0x51, 0x87, 0xFF, 0x64, 0xFB, 0x3C, 0xA6, 0xB5, + 0xD0, 0x1C, 0xD6, 0x90, 0x3D, 0x40, 0x54, 0x22, 0x2F, 0x6C, + 0xE4, 0xB1, 0x71, 0x15, 0x78, 0x54, 0x49, 0x22, 0x1F, 0x23}, + /* Control Plane w/ZUC enc. + ZUC int. DL LONG SN */ + (uint8_t[]){0xA0, 0x00, 0x3F, 0x01, 0xCE, 0xBD, 0x8A, 0x98, 0x7B, 0x26, + 0xF1, 0x28, 0x74, 0xDC, 0x26, 0x2B, 0x02, 0xE8, 0x9C, 0xBC, + 0x98, 0x41, 0xC5, 0x03, 0x57, 0x48, 0x83, 0xBB, 0x8E, 0xCA, + 0x87, 0xCD, 0x8B, 0xE9, 0x96, 0x2A, 0x35, 0x5C, 0xD3, 0x32, + 0x53, 0xA7, 0x12, 0xC2, 0xBC, 0x0C, 0x75, 0x98, 0x8E, 0x29, + 0x85, 0xAF, 0x0A, 0xFF, 0xAC, 0x6A, 0x00, 0x19, 0xC1, 0x51, + 0x53, 0xDE, 0x78, 0x07, 0x6D, 0x10, 0xE6, 0x25, 0xE6, 0x7A}, + +}; + +#endif /* SECURITY_PDCP_TEST_VECTOR_H_ */