Home
last modified time | relevance | path

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

/dpdk/drivers/crypto/cnxk/
H A Dcnxk_ipsec.h45 uint16_t keylen = crypto_xform->auth.key.length; in ipsec_xform_auth_verify() local
51 if (keylen >= 20 && keylen <= 64) in ipsec_xform_auth_verify()
54 if (keylen >= 32 && keylen <= 64) in ipsec_xform_auth_verify()
57 if (keylen == 48) in ipsec_xform_auth_verify()
60 if (keylen == 64) in ipsec_xform_auth_verify()
63 if (keylen >= 16 && keylen <= 32) in ipsec_xform_auth_verify()
68 keylen == ROC_CPT_AES_XCBC_KEY_LENGTH) in ipsec_xform_auth_verify()
/dpdk/drivers/common/sfc_efx/base/
H A Defx_vpd.c489 uint8_t keylen; in efx_vpd_hunk_verify() local
517 taglen, pos, &keyword, &keylen)) != 0) in efx_vpd_hunk_verify()
642 uint8_t keylen; in efx_vpd_hunk_next() local
671 taglen, pos, &keyword, &keylen)) != 0) in efx_vpd_hunk_next()
676 paylen = keylen; in efx_vpd_hunk_next()
719 uint8_t keylen; in efx_vpd_hunk_get() local
746 *paylenp = keylen; in efx_vpd_hunk_get()
783 uint8_t keylen; in efx_vpd_hunk_set() local
853 taglen, pos, &keyword, &keylen)) != 0) in efx_vpd_hunk_set()
859 source = offset + pos + 3 + keylen; in efx_vpd_hunk_set()
[all …]
/dpdk/drivers/common/dpaax/caamflib/desc/
H A Dipsec.h715 authdata->keylen, INLINE_KEY(authdata)); in __gen_auth_key()
777 if (authdata->keylen) in cnstr_shdsc_ipsec_encap()
780 if (cipherdata->keylen) in cnstr_shdsc_ipsec_encap()
839 if (authdata->keylen) in cnstr_shdsc_ipsec_decap()
842 if (cipherdata->keylen) in cnstr_shdsc_ipsec_decap()
931 cipherdata->keylen, INLINE_KEY(cipherdata)); in cnstr_shdsc_ipsec_encap_des_aes_xcbc()
1276 if (authdata->keylen) in cnstr_shdsc_ipsec_new_encap()
1278 if (cipherdata->keylen) in cnstr_shdsc_ipsec_new_encap()
1359 if (authdata->keylen) in cnstr_shdsc_ipsec_new_decap()
1361 if (cipherdata->keylen) in cnstr_shdsc_ipsec_new_decap()
[all …]
H A Dpdcp.h399 authdata->keylen, INLINE_KEY(authdata)); in pdcp_insert_cplane_int_only_op()
432 authdata->keylen, INLINE_KEY(authdata)); in pdcp_insert_cplane_int_only_op()
498 authdata->keylen, INLINE_KEY(authdata)); in pdcp_insert_cplane_int_only_op()
553 authdata->keylen, INLINE_KEY(authdata)); in pdcp_insert_cplane_int_only_op()
974 authdata->keylen, INLINE_KEY(authdata)); in pdcp_insert_uplane_aes_aes_op()
1011 authdata->keylen, INLINE_KEY(authdata)); in pdcp_insert_uplane_aes_aes_op()
1082 authdata->keylen, INLINE_KEY(authdata)); in pdcp_insert_uplane_aes_aes_op()
1160 authdata->keylen, INLINE_KEY(authdata)); in pdcp_insert_cplane_snow_aes_op()
1190 authdata->keylen, INLINE_KEY(authdata)); in pdcp_insert_cplane_snow_aes_op()
1822 authdata->keylen, INLINE_KEY(authdata)); in pdcp_insert_cplane_zuc_aes_op()
[all …]
H A Dalgo.h46 cipherdata->keylen, INLINE_KEY(cipherdata)); in cnstr_shdsc_zuce()
93 authdata->keylen, INLINE_KEY(authdata)); in cnstr_shdsc_zuca()
143 cipherdata->keylen, INLINE_KEY(cipherdata)); in cnstr_shdsc_snow_f8()
249 authdata->keylen, INLINE_KEY(authdata)); in cnstr_shdsc_snow_f9()
316 cipherdata->keylen, INLINE_KEY(cipherdata)); in cnstr_shdsc_blkcipher()
434 KEY(p, KEY2, authdata->key_enc_flags, authdata->key, authdata->keylen, in cnstr_shdsc_hmac()
582 cipherdata->keylen, INLINE_KEY(cipherdata)); in cnstr_shdsc_kasumi_f8()
625 authdata->keylen, INLINE_KEY(authdata)); in cnstr_shdsc_kasumi_f9()
721 cipherdata->keylen, INLINE_KEY(cipherdata)); in cnstr_shdsc_gcm_encap()
828 cipherdata->keylen, INLINE_KEY(cipherdata)); in cnstr_shdsc_gcm_decap()
[all …]
H A Dcommon.h35 uint32_t keylen; member
H A Dsdap.h64 cipherdata->keylen, INLINE_KEY(cipherdata)); in key_loading_opti()
69 authdata->keylen, INLINE_KEY(authdata)); in key_loading_opti()
609 authdata->keylen, INLINE_KEY(authdata)); in pdcp_sdap_insert_no_snoop_op()
642 cipherdata->keylen, INLINE_KEY(cipherdata)); in pdcp_sdap_insert_no_snoop_op()
706 cipherdata->keylen, INLINE_KEY(cipherdata)); in pdcp_sdap_insert_no_snoop_op()
732 authdata->keylen, INLINE_KEY(authdata)); in pdcp_sdap_insert_no_snoop_op()
/dpdk/drivers/common/dpaax/caamflib/rta/
H A Dprotocol_cmd.h637 uint16_t keylen, uint64_t key, in rta_dkp_proto() argument
646 keylen &= OP_PCL_DKP_KEY_MASK; in rta_dkp_proto()
649 key_src | key_dst | keylen); in rta_dkp_proto()
658 __rta_inline_data(program, key, inline_flags(key_type), keylen); in rta_dkp_proto()
659 in_words = (unsigned int)((keylen + 3) / 4); in rta_dkp_proto()
/dpdk/drivers/common/cnxk/
H A Droc_npc_mcam.c139 int hdr_off, keylen; in npc_construct_ldata_mask() local
151 keylen = x_info->len * 8; in npc_construct_ldata_mask()
152 for (i = hdr_off; i < (hdr_off + keylen); i++) in npc_construct_ldata_mask()
166 keylen = infoflag->len * 8; in npc_construct_ldata_mask()
167 for (i = hdr_off; i < (hdr_off + keylen); i++) in npc_construct_ldata_mask()
/dpdk/drivers/crypto/bcmfs/
H A Dbcmfs_sym_session.c45 get_key(const uint8_t *input_key, int keylen, uint8_t *session_key) in get_key() argument
47 memcpy(session_key, input_key, keylen); in get_key()
/dpdk/drivers/common/dpaax/caamflib/
H A Drta.h528 #define DKP_PROTOCOL(program, protid, key_src, key_dst, keylen, key, key_type) \ argument
529 rta_dkp_proto(program, protid, key_src, key_dst, keylen, key, key_type)
/dpdk/drivers/crypto/openssl/
H A Drte_openssl_pmd.c95 get_cipher_key(const uint8_t *input_key, int keylen, uint8_t *session_key) in get_cipher_key() argument
97 memcpy(session_key, input_key, keylen); in get_cipher_key()
102 get_cipher_key_ede(const uint8_t *key, int keylen, uint8_t *key_ede) in get_cipher_key_ede() argument
107 switch (keylen) { in get_cipher_key_ede()
132 get_cipher_algo(enum rte_crypto_cipher_algorithm sess_algo, size_t keylen, in get_cipher_algo() argument
140 switch (keylen) { in get_cipher_algo()
157 switch (keylen) { in get_cipher_algo()
172 switch (keylen) { in get_cipher_algo()
243 get_aead_algo(enum rte_crypto_aead_algorithm sess_algo, size_t keylen, in get_aead_algo() argument
251 switch (keylen) { in get_aead_algo()
[all …]
/dpdk/drivers/crypto/nitrox/
H A Dnitrox_sym.c335 flexi_aes_keylen(size_t keylen, bool is_aes) in flexi_aes_keylen() argument
342 switch (keylen) { in flexi_aes_keylen()
353 NITROX_LOG(ERR, "Invalid keylen %zu\n", keylen); in flexi_aes_keylen()
/dpdk/drivers/crypto/dpaa_sec/
H A Ddpaa_sec.c255 cipherdata.keylen = ses->cipher_key.length; in dpaa_sec_prep_pdcp_cdb()
263 authdata.keylen = ses->auth_key.length; in dpaa_sec_prep_pdcp_cdb()
384 cipherdata.keylen = ses->cipher_key.length; in dpaa_sec_prep_ipsec_cdb()
392 authdata.keylen = ses->auth_key.length; in dpaa_sec_prep_ipsec_cdb()
399 cdb->sh_desc[0] = cipherdata.keylen; in dpaa_sec_prep_ipsec_cdb()
400 cdb->sh_desc[1] = authdata.keylen; in dpaa_sec_prep_ipsec_cdb()
510 alginfo_a.keylen = ses->auth_key.length; in dpaa_sec_prep_cdb()
573 alginfo.keylen = ses->aead_key.length; in dpaa_sec_prep_cdb()
601 alginfo_a.keylen = ses->auth_key.length; in dpaa_sec_prep_cdb()
607 cdb->sh_desc[0] = alginfo_c.keylen; in dpaa_sec_prep_cdb()
[all …]
/dpdk/drivers/crypto/dpaa2_sec/
H A Ddpaa2_sec_dpseci.c2161 cipherdata.keylen = session->cipher_key.length; in dpaa2_sec_cipher_init()
2303 authdata.keylen = session->auth_key.length; in dpaa2_sec_auth_init()
2543 aeaddata.keylen = session->aead_key.length; in dpaa2_sec_aead_init()
2567 priv->flc_desc[0].desc[0] = aeaddata.keylen; in dpaa2_sec_aead_init()
2686 authdata.keylen = session->auth_key.length; in dpaa2_sec_aead_chain_init()
2801 priv->flc_desc[0].desc[0] = cipherdata.keylen; in dpaa2_sec_aead_chain_init()
2802 priv->flc_desc[0].desc[1] = authdata.keylen; in dpaa2_sec_aead_chain_init()
2945 aeaddata->keylen = session->aead_key.length; in dpaa2_sec_ipsec_aead_init()
3047 authdata->keylen = session->auth_key.length; in dpaa2_sec_ipsec_proto_init()
3203 authdata.keylen = 0; in dpaa2_sec_set_ipsec_session()
[all …]
/dpdk/lib/vhost/
H A Dvirtio_crypto.h57 uint32_t keylen; member
/dpdk/drivers/crypto/caam_jr/
H A Dcaam_jr.c329 alginfo_c.keylen = ses->cipher_key.length; in caam_jr_prep_cdb()
347 alginfo_a.keylen = ses->auth_key.length; in caam_jr_prep_cdb()
363 alginfo.keylen = ses->aead_key.length; in caam_jr_prep_cdb()
388 alginfo_c.keylen = ses->cipher_key.length; in caam_jr_prep_cdb()
400 alginfo_a.keylen = ses->auth_key.length; in caam_jr_prep_cdb()
404 cdb->sh_desc[0] = alginfo_c.keylen; in caam_jr_prep_cdb()
405 cdb->sh_desc[1] = alginfo_a.keylen; in caam_jr_prep_cdb()
/dpdk/drivers/crypto/virtio/
H A Dvirtio_cryptodev.c112 .para.keylen; in virtio_crypto_send_command()
117 .para.cipher_param.keylen; in virtio_crypto_send_command()
1151 para->keylen = cipher_xform->key.length; in virtio_crypto_sym_pad_cipher_param()