Home
last modified time | relevance | path

Searched refs:auth_only_len (Results 1 – 9 of 9) sorted by relevance

/dpdk/drivers/crypto/dpaa2_sec/
H A Ddpaa2_sec_raw_dp.c48 uint32_t auth_only_len; in build_raw_dp_chain_fd() local
88 if (auth_only_len) in build_raw_dp_chain_fd()
172 if (auth_only_len) { in build_raw_dp_chain_fd()
174 DPAA2_SET_FD_INTERNAL_JD(fd, auth_only_len); in build_raw_dp_chain_fd()
197 uint32_t auth_only_len = sess->ext_params.aead_ctxt.auth_only_len; in build_raw_dp_aead_fd() local
237 if (auth_only_len) in build_raw_dp_aead_fd()
288 (aead_len + sess->iv.length + auth_only_len + in build_raw_dp_aead_fd()
296 if (auth_only_len) { in build_raw_dp_aead_fd()
298 sge->length = auth_only_len; in build_raw_dp_aead_fd()
323 if (auth_only_len) { in build_raw_dp_aead_fd()
[all …]
H A Ddpaa2_sec_dpseci.c323 uint32_t auth_only_len = sess->ext_params.aead_ctxt.auth_only_len; in build_authenc_gcm_sg_fd() local
371 if (auth_only_len) in build_authenc_gcm_sg_fd()
419 if (auth_only_len) { in build_authenc_gcm_sg_fd()
450 if (auth_only_len) { in build_authenc_gcm_sg_fd()
469 uint32_t auth_only_len = sess->ext_params.aead_ctxt.auth_only_len; in build_authenc_gcm_fd() local
532 if (auth_only_len) in build_authenc_gcm_fd()
569 if (auth_only_len) { in build_authenc_gcm_fd()
591 if (auth_only_len) { in build_authenc_gcm_fd()
664 if (auth_only_len) in build_authenc_sg_fd()
738 if (auth_only_len) { in build_authenc_sg_fd()
[all …]
H A Ddpaa2_sec_priv.h151 uint16_t auth_only_len; /*!< Length of data for Auth only */ member
/dpdk/drivers/crypto/dpaa_sec/
H A Ddpaa_sec_raw_dp.c248 if (ses->auth_only_len) in build_raw_cipher_auth_gcm_sg()
324 + ses->auth_only_len; in build_raw_cipher_auth_gcm_sg()
327 + ses->auth_only_len + ses->digest_length; in build_raw_cipher_auth_gcm_sg()
340 if (ses->auth_only_len) { in build_raw_cipher_auth_gcm_sg()
343 sg->length = ses->auth_only_len; in build_raw_cipher_auth_gcm_sg()
372 if (ses->auth_only_len) in build_raw_cipher_auth_gcm_sg()
373 fd->cmd = 0x80000000 | ses->auth_only_len; in build_raw_cipher_auth_gcm_sg()
401 uint32_t auth_only_len; in build_dpaa_raw_dp_chain_fd() local
410 auth_only_len = (auth_tail_len << 16) | auth_hdr_len; in build_dpaa_raw_dp_chain_fd()
524 if (auth_only_len) in build_dpaa_raw_dp_chain_fd()
[all …]
H A Ddpaa_sec.c713 sess->digest_length, sess->auth_only_len, in dpaa_sec_dump()
1303 if (ses->auth_only_len) in build_cipher_auth_gcm_sg()
1367 + ses->auth_only_len; in build_cipher_auth_gcm_sg()
1383 if (ses->auth_only_len) { in build_cipher_auth_gcm_sg()
1386 sg->length = ses->auth_only_len; in build_cipher_auth_gcm_sg()
1457 if (ses->auth_only_len) { in build_cipher_auth_gcm()
1460 sg->length = ses->auth_only_len; in build_cipher_auth_gcm()
1477 if (ses->auth_only_len) { in build_cipher_auth_gcm()
1480 sg->length = ses->auth_only_len; in build_cipher_auth_gcm()
1996 auth_hdr_len = ses->auth_only_len; in dpaa_sec_enqueue_burst()
[all …]
H A Ddpaa_sec.h189 uint16_t auth_only_len; member
/dpdk/drivers/crypto/nitrox/
H A Dnitrox_sym_reqmgr.c453 int auth_only_len; in create_cipher_auth_sglist() local
457 auth_only_len = op->sym->auth.data.length - op->sym->cipher.data.length; in create_cipher_auth_sglist()
458 if (unlikely(auth_only_len < 0)) in create_cipher_auth_sglist()
469 auth_only_len); in create_cipher_auth_sglist()
615 int auth_only_len; in create_aead_gph() local
632 auth_only_len = authlen - cryptlen; in create_aead_gph()
633 gph->param2 = rte_cpu_to_be_16(ivlen + auth_only_len); in create_aead_gph()
/dpdk/drivers/crypto/caam_jr/
H A Dcaam_jr_pvt.h137 uint16_t auth_only_len; /* Length of data for Auth only */ member
H A Dcaam_jr.c1067 uint32_t auth_only_len = (auth_tail_len << 16) | auth_hdr_len; in build_cipher_auth_sg() local
1186 if (auth_only_len) in build_cipher_auth_sg()
1188 (jobdescr)->dpovrd = 0x80000000 | auth_only_len; in build_cipher_auth_sg()
1210 uint32_t auth_only_len = (auth_tail_len << 16) | auth_hdr_len; in build_cipher_auth() local
1297 if (auth_only_len) in build_cipher_auth()
1299 (jobdescr)->dpovrd = 0x80000000 | auth_only_len; in build_cipher_auth()
1605 session->auth_only_len = xform->aead.aad_length; in caam_jr_aead_init()