Home
last modified time | relevance | path

Searched refs:pdcp_alg_type (Results 1 – 3 of 3) sorted by relevance

/dpdk/drivers/common/cnxk/
H A Droc_se.c269 se_ctx->pdcp_alg_type = ROC_SE_PDCP_ALG_TYPE_SNOW3G; in roc_se_auth_key_set()
284 se_ctx->pdcp_alg_type = ROC_SE_PDCP_ALG_TYPE_ZUC; in roc_se_auth_key_set()
295 se_ctx->pdcp_alg_type = ROC_SE_PDCP_ALG_TYPE_AES_CTR; in roc_se_auth_key_set()
319 ((1 << 7) | (se_ctx->pdcp_alg_type << 5) | 1); in roc_se_auth_key_set()
450 se_ctx->pdcp_alg_type = ROC_SE_PDCP_ALG_TYPE_SNOW3G; in roc_se_ciph_key_set()
460 se_ctx->pdcp_alg_type = ROC_SE_PDCP_ALG_TYPE_ZUC; in roc_se_ciph_key_set()
473 se_ctx->pdcp_alg_type = ROC_SE_PDCP_ALG_TYPE_AES_CTR; in roc_se_ciph_key_set()
503 ((1 << 7) | (se_ctx->pdcp_alg_type << 5) | in roc_se_ciph_key_set()
H A Droc_se.h292 uint64_t pdcp_alg_type : 2; member
/dpdk/drivers/crypto/cnxk/
H A Dcnxk_se.h59 pdcp_iv_copy(uint8_t *iv_d, uint8_t *iv_s, const uint8_t pdcp_alg_type, in pdcp_iv_copy() argument
65 if (pdcp_alg_type == ROC_SE_PDCP_ALG_TYPE_SNOW3G) { in pdcp_iv_copy()
76 } else if (pdcp_alg_type == ROC_SE_PDCP_ALG_TYPE_ZUC) { in pdcp_iv_copy()
1006 uint8_t pdcp_alg_type; in cpt_pdcp_alg_prep() local
1019 pdcp_alg_type = se_ctx->pdcp_alg_type; in cpt_pdcp_alg_prep()
1034 if (se_ctx->pdcp_alg_type != ROC_SE_PDCP_ALG_TYPE_AES_CTR) { in cpt_pdcp_alg_prep()
1130 pdcp_iv_copy(iv_d, iv_s, pdcp_alg_type, pack_iv); in cpt_pdcp_alg_prep()
1173 pdcp_iv_copy(iv_d, iv_s, pdcp_alg_type, pack_iv); in cpt_pdcp_alg_prep()