Home
last modified time | relevance | path

Searched refs:auth_key_len (Results 1 – 18 of 18) sorted by relevance

/dpdk/app/test/
H A Dtest_cryptodev_security_pdcp_test_vectors.h27 uint8_t auth_key_len; member
36 uint8_t auth_key_len; member
51 .auth_key_len = 16,
68 .auth_key_len = 16,
85 .auth_key_len = 16,
142 .auth_key_len = 0,
151 .auth_key_len = 0,
160 .auth_key_len = 16,
214 .auth_key_len = 0,
223 .auth_key_len = 0,
[all …]
H A Dtest_cryptodev_security_pdcp_sdap_test_vectors.h19 uint8_t auth_key_len; member
46 .auth_key_len = 16,
75 .auth_key_len = 16,
104 .auth_key_len = 16,
134 .auth_key_len = 16,
163 .auth_key_len = 16,
193 .auth_key_len = 16,
222 .auth_key_len = 16,
251 .auth_key_len = 16,
283 .auth_key_len = 16,
[all …]
H A Dtest_cryptodev.c8361 const uint8_t *auth_key, uint32_t auth_key_len, in test_pdcp_proto() argument
8420 ut_params->auth_xform.auth.key.length = auth_key_len; in test_pdcp_proto()
8701 pdcp_test_params[i].auth_key_len; in test_pdcp_proto_SGL()
8851 pdcp_test_params[i].auth_key_len, pdcp_test_bearer[i], in test_pdcp_proto_cplane_encap()
8867 pdcp_test_params[i].auth_key_len, pdcp_test_bearer[i], in test_pdcp_proto_uplane_encap()
8883 pdcp_test_params[i].auth_key_len, pdcp_test_bearer[i], in test_pdcp_proto_uplane_encap_with_int()
8899 pdcp_test_params[i].auth_key_len, pdcp_test_bearer[i], in test_pdcp_proto_cplane_decap()
8915 pdcp_test_params[i].auth_key_len, pdcp_test_bearer[i], in test_pdcp_proto_uplane_decap()
9022 cur_test->auth_key, cur_test->param.auth_key_len, in test_PDCP_SDAP_PROTO_encap_all()
9063 cur_test->auth_key, cur_test->param.auth_key_len, in test_PDCP_PROTO_short_mac()
[all …]
/dpdk/drivers/crypto/cnxk/
H A Dcn9k_ipsec.c335 int auth_key_len = 0; in cn9k_ipsec_outb_sa_create() local
463 auth_key_len = auth_xform->auth.key.length; in cn9k_ipsec_outb_sa_create()
470 memcpy(out_sa->sha1.hmac_key, auth_key, auth_key_len); in cn9k_ipsec_outb_sa_create()
475 memcpy(out_sa->sha2.hmac_key, auth_key, auth_key_len); in cn9k_ipsec_outb_sa_create()
478 memcpy(out_sa->aes_xcbc.key, auth_key, auth_key_len); in cn9k_ipsec_outb_sa_create()
552 int auth_key_len = 0; in cn9k_ipsec_inb_sa_create() local
576 auth_key_len = auth_xform->auth.key.length; in cn9k_ipsec_inb_sa_create()
583 auth_key_len); in cn9k_ipsec_inb_sa_create()
590 memcpy(in_sa->sha2.hmac_key, auth_key, auth_key_len); in cn9k_ipsec_inb_sa_create()
595 memcpy(in_sa->aes_xcbc.key, auth_key, auth_key_len); in cn9k_ipsec_inb_sa_create()
H A Dcnxk_se.h282 key_len = ctx->auth_key_len; in cpt_digest_gen_prep()
/dpdk/drivers/common/cnxk/
H A Dcnxk_security.c613 int rc, length, auth_key_len; in onf_ipsec_sa_common_param_fill() local
693 auth_key_len = auth_xfrm->auth.key.length; in onf_ipsec_sa_common_param_fill()
694 if (auth_key_len < 20 || auth_key_len > 64) in onf_ipsec_sa_common_param_fill()
H A Droc_se.c349 se_ctx->auth_key_len = key_len; in roc_se_auth_key_set()
402 if (se_ctx->auth_key_len > 64) in roc_se_ciph_key_set()
H A Droc_se.h287 uint64_t auth_key_len : 8; member
/dpdk/lib/vhost/
H A Dvhost_user.h101 uint32_t auth_key_len; member
H A Dvirtio_crypto.h124 uint32_t auth_key_len; member
H A Dvhost_crypto.c324 if (param->auth_key_len > VHOST_USER_CRYPTO_MAX_HMAC_KEY_LENGTH) { in transform_chain_param()
330 xform_auth->auth.key.length = param->auth_key_len; in transform_chain_param()
/dpdk/drivers/crypto/bcmfs/
H A Dbcmfs_sym_engine.c456 uint64_t assoc_size, uint64_t auth_key_len, in spu2_fmd_ctrl1_write() argument
470 if (auth_key_len != 0) in spu2_fmd_ctrl1_write()
471 ctrl1 |= ((auth_key_len << SPU2_HASH_KEY_LEN_SHIFT) & in spu2_fmd_ctrl1_write()
520 uint64_t auth_key_len __rte_unused, in spu2_fmd_ctrl2_write()
/dpdk/drivers/common/cpt/
H A Dcpt_mcode_defines.h318 uint64_t auth_key_len :8; member
H A Dcpt_ucode.h253 if (cpt_ctx->auth_key_len > 64) in cpt_fc_ciph_set_key()
522 key_len = ctx->auth_key_len; in cpt_digest_gen_prep()
2560 cpt_ctx->auth_key_len = key_len; in cpt_fc_auth_set_key()
/dpdk/examples/ipsec-secgw/
H A Dsa.c531 rule->auth_key_len = algo->key_len; in parse_sa_tokens()
558 APP_CHECK(key_len == rule->auth_key_len, status, in parse_sa_tokens()
565 rule->auth_key_len = key_len; in parse_sa_tokens()
1336 sa->auth_key_len; in sa_add_rules()
1360 sa->auth_key_len; in sa_add_rules()
H A Dipsec.h136 uint16_t auth_key_len; member
/dpdk/drivers/crypto/virtio/
H A Dvirtio_cryptodev.c129 .auth_key_len; in virtio_crypto_send_command()
1268 para->u.mac_param.auth_key_len = in virtio_crypto_sym_pad_op_ctrl_req()
/dpdk/drivers/crypto/mvsam/
H A Drte_mrvl_pmd.c324 sess->sam_sess_params.auth_key_len = auth_xform->auth.key.length; in mrvl_crypto_set_auth_session_parameters()