Home
last modified time | relevance | path

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

/f-stack/dpdk/app/test-crypto-perf/
H A Dcperf_ops.c41 sym_op->m_src->pkt_len = sym_op->m_src->data_len; in cperf_set_ops_security()
63 sym_op->cipher.data.offset = sym_op->auth.data.offset + in cperf_set_ops_security()
71 sym_op->m_dst = NULL; in cperf_set_ops_security()
102 sym_op->m_dst = NULL; in cperf_set_ops_null_cipher()
141 sym_op->m_dst = NULL; in cperf_set_ops_null_auth()
180 sym_op->m_dst = NULL; in cperf_set_ops_cipher()
236 sym_op->m_dst = NULL; in cperf_set_ops_auth()
260 buf = sym_op->m_dst; in cperf_set_ops_auth()
336 sym_op->m_dst = NULL; in cperf_set_ops_cipher_auth()
367 buf = sym_op->m_dst; in cperf_set_ops_cipher_auth()
[all …]
/f-stack/dpdk/drivers/crypto/qat/
H A Dqat_sym.h85 struct rte_crypto_sym_op *sym_op = op->sym; in qat_bpicipher_postprocess() local
101 if (unlikely(sym_op->m_dst != NULL)) in qat_bpicipher_postprocess()
119 if (sym_op->m_dst != NULL) in qat_bpicipher_postprocess()
129 if (sym_op->m_dst != NULL) in qat_bpicipher_postprocess()
147 sym_op->auth.data.length != 0) { in qat_crc_verify()
149 crc_data_ofs = sym_op->auth.data.offset; in qat_crc_verify()
150 crc_data_len = sym_op->auth.data.length; in qat_crc_verify()
171 sym_op->auth.data.length != 0 && in qat_crc_generate()
172 sym_op->m_src->nb_segs == 1) { in qat_crc_generate()
174 crc_data_len = sym_op->auth.data.length; in qat_crc_generate()
[all …]
H A Dqat_sym.c51 struct rte_crypto_sym_op *sym_op = op->sym; in qat_bpicipher_preprocess() local
53 sym_op->cipher.data.length % block_len : 0; in qat_bpicipher_preprocess()
60 uint32_t last_block_offset = sym_op->cipher.data.offset + in qat_bpicipher_preprocess()
61 sym_op->cipher.data.length - last_block_len; in qat_bpicipher_preprocess()
65 if (unlikely((sym_op->m_dst != NULL) in qat_bpicipher_preprocess()
66 && (sym_op->m_dst != sym_op->m_src))) in qat_bpicipher_preprocess()
68 dst = (uint8_t *) rte_pktmbuf_mtod_offset(sym_op->m_dst, in qat_bpicipher_preprocess()
73 if (last_block_len < sym_op->cipher.data.length) in qat_bpicipher_preprocess()
84 if (sym_op->m_dst != NULL) in qat_bpicipher_preprocess()
93 if (sym_op->m_dst != NULL) in qat_bpicipher_preprocess()
[all …]
/f-stack/dpdk/app/test/
H A Dtest_cryptodev_blockcipher.c249 sym_op = op->sym; in test_blockcipher_one_case()
293 sym_op->m_src = ibuf; in test_blockcipher_one_case()
296 sym_op->m_dst = obuf; in test_blockcipher_one_case()
299 sym_op->m_dst = NULL; in test_blockcipher_one_case()
469 sym_op->m_src->buf_addr, sym_op->m_src->buf_len); in test_blockcipher_one_case()
474 sym_op->m_dst->buf_addr, sym_op->m_dst->buf_len); in test_blockcipher_one_case()
513 sym_op->m_src->buf_addr, sym_op->m_src->buf_len); in test_blockcipher_one_case()
516 sym_op->m_dst->buf_addr, sym_op->m_dst->buf_len); in test_blockcipher_one_case()
586 mbuf = sym_op->m_src; in test_blockcipher_one_case()
621 mbuf = sym_op->m_dst; in test_blockcipher_one_case()
[all …]
H A Dtest_cryptodev.c1722 sym_op->auth.data.offset = 0; in test_AES_CBC_HMAC_SHA1_encrypt_digest()
1880 sym_op->auth.data.offset = 0; in test_AES_CBC_HMAC_SHA512_decrypt_perform()
2381 sym_op->auth.digest.data, in create_wireless_algo_hash_operation()
2437 sym_op->auth.digest.data, in create_wireless_cipher_hash_operation()
2523 sym_op->auth.digest.data, in create_wireless_algo_cipher_hash_operation()
2604 sym_op->m_src : sym_op->m_dst); in create_wireless_algo_auth_cipher_operation()
7433 sym_op->xform->next = NULL; in create_aead_xform()
7588 sym_op->aead.digest.data, in create_aead_operation()
11607 sym_op->auth.digest.data, in create_auth_operation()
11654 sym_op->auth.digest.data, in create_auth_GMAC_operation()
[all …]
H A Dtest_event_crypto_adapter.c168 struct rte_crypto_sym_op *sym_op; in test_op_forward_mode() local
192 sym_op = op->sym; in test_op_forward_mode()
225 sym_op->xform = first_xform; in test_op_forward_mode()
237 sym_op->m_src = m; in test_op_forward_mode()
238 sym_op->cipher.data.offset = 0; in test_op_forward_mode()
239 sym_op->cipher.data.length = PACKET_LENGTH; in test_op_forward_mode()
368 struct rte_crypto_sym_op *sym_op; in test_op_new_mode() local
390 sym_op = op->sym; in test_op_new_mode()
419 sym_op->xform = first_xform; in test_op_new_mode()
429 sym_op->m_src = m; in test_op_new_mode()
[all …]
/f-stack/dpdk/drivers/crypto/bcmfs/
H A Dbcmfs_sym.c140 sym_op->cipher.data.offset); in process_crypto_combined_op()
145 sym_op->cipher.data.offset); in process_crypto_combined_op()
148 sym_op->cipher.data.offset); in process_crypto_combined_op()
150 sym_op->cipher.data.offset); in process_crypto_combined_op()
171 aad_size = sym_op->auth.data.length - sym_op->cipher.data.length; in process_crypto_combined_op()
178 sym_op->auth.data.offset); in process_crypto_combined_op()
180 sym_op->auth.data.offset); in process_crypto_combined_op()
216 sym_op->aead.data.offset); in process_crypto_aead_op()
220 sym_op->aead.data.offset); in process_crypto_aead_op()
223 sym_op->aead.data.offset); in process_crypto_aead_op()
[all …]
/f-stack/dpdk/drivers/crypto/virtio/
H A Dvirtio_rxtx.c141 (sym_op->cipher.data.length + in virtqueue_crypto_sym_pkt_header_arrange()
142 sym_op->cipher.data.offset); in virtqueue_crypto_sym_pkt_header_arrange()
160 (sym_op->cipher.data.length + in virtqueue_crypto_sym_pkt_header_arrange()
161 sym_op->cipher.data.offset); in virtqueue_crypto_sym_pkt_header_arrange()
165 sym_op->cipher.data.offset; in virtqueue_crypto_sym_pkt_header_arrange()
167 sym_op->cipher.data.length; in virtqueue_crypto_sym_pkt_header_arrange()
169 sym_op->auth.data.offset; in virtqueue_crypto_sym_pkt_header_arrange()
171 sym_op->auth.data.length; in virtqueue_crypto_sym_pkt_header_arrange()
289 + sym_op->cipher.data.length); in virtqueue_crypto_sym_enqueue_xmit()
293 if (sym_op->m_dst) { in virtqueue_crypto_sym_enqueue_xmit()
[all …]
/f-stack/dpdk/drivers/crypto/dpaa2_sec/
H A Ddpaa2_sec_dpseci.c75 if (sym_op->m_dst) in build_proto_compound_sg_fd()
76 mbuf = sym_op->m_dst; in build_proto_compound_sg_fd()
78 mbuf = sym_op->m_src; in build_proto_compound_sg_fd()
138 mbuf = sym_op->m_src; in build_proto_compound_sg_fd()
262 if (sym_op->m_dst) in build_proto_fd()
306 if (sym_op->m_dst) in build_authenc_gcm_sg_fd()
451 if (sym_op->m_dst) in build_authenc_gcm_fd()
595 if (sym_op->m_dst) in build_authenc_sg_fd()
743 if (sym_op->m_dst) in build_authenc_fd()
1126 if (sym_op->m_dst) in build_cipher_sg_fd()
[all …]
/f-stack/dpdk/drivers/crypto/aesni_gcm/
H A Daesni_gcm_pmd.c174 sym_op->session, in aesni_gcm_get_session()
190 sess, sym_op->xform) != 0)) { in aesni_gcm_get_session()
232 offset = sym_op->aead.data.offset; in process_gcm_crypto_op()
236 offset = sym_op->auth.data.offset; in process_gcm_crypto_op()
257 ((sym_op->m_dst != NULL) && in process_gcm_crypto_op()
261 if (sym_op->m_dst == NULL || (sym_op->m_dst == sym_op->m_src)) in process_gcm_crypto_op()
280 sym_op->aead.aad.data, in process_gcm_crypto_op()
310 tag = sym_op->aead.digest.data; in process_gcm_crypto_op()
320 sym_op->aead.aad.data, in process_gcm_crypto_op()
383 tag = sym_op->auth.digest.data; in process_gcm_crypto_op()
[all …]
/f-stack/dpdk/drivers/crypto/null/
H A Dnull_crypto_pmd.c76 struct rte_crypto_sym_op *sym_op = op->sym; in get_session() local
79 if (likely(sym_op->session != NULL)) in get_session()
82 sym_op->session, cryptodev_driver_id); in get_session()
97 sym_op->xform) != 0)) { in get_session()
102 sym_op->session = (struct rte_cryptodev_sym_session *)_sess; in get_session()
/f-stack/dpdk/lib/librte_cryptodev/
H A Drte_crypto_sym.h878 __rte_crypto_sym_op_sym_xforms_alloc(struct rte_crypto_sym_op *sym_op, in __rte_crypto_sym_op_sym_xforms_alloc() argument
883 sym_op->xform = xform = (struct rte_crypto_sym_xform *)priv_data; in __rte_crypto_sym_op_sym_xforms_alloc()
890 return sym_op->xform; in __rte_crypto_sym_op_sym_xforms_alloc()
901 __rte_crypto_sym_op_attach_sym_session(struct rte_crypto_sym_op *sym_op, in __rte_crypto_sym_op_attach_sym_session() argument
904 sym_op->session = sess; in __rte_crypto_sym_op_attach_sym_session()
/f-stack/dpdk/drivers/crypto/octeontx2/
H A Dotx2_ipsec_po_ops.h62 struct rte_crypto_sym_op *sym_op = cop->sym; in process_outb_sa() local
63 struct rte_mbuf *m_src = sym_op->m_src; in process_outb_sa()
144 struct rte_crypto_sym_op *sym_op = cop->sym; in process_inb_sa() local
145 struct rte_mbuf *m_src = sym_op->m_src; in process_inb_sa()
H A Dotx2_cryptodev_ops.c614 struct rte_crypto_sym_op *sym_op = op->sym; in otx2_cpt_enqueue_sym() local
621 sess = get_sym_session_private_data(sym_op->session, in otx2_cpt_enqueue_sym()
684 struct rte_crypto_sym_op *sym_op = op->sym; in otx2_cpt_enqueue_sym_sessless() local
693 ret = sym_session_configure(driver_id, sym_op->xform, sess, in otx2_cpt_enqueue_sym_sessless()
698 sym_op->session = sess; in otx2_cpt_enqueue_sym_sessless()
883 struct rte_crypto_sym_op *sym_op = cop->sym; in otx2_cpt_sec_post_process() local
884 struct rte_mbuf *m = sym_op->m_src; in otx2_cpt_sec_post_process()
/f-stack/dpdk/drivers/common/cpt/
H A Dcpt_ucode.h3035 m_src = sym_op->m_src; in fill_fc_params()
3036 m_dst = sym_op->m_dst; in fill_fc_params()
3053 sym_op->aead.data.offset))) { in fill_fc_params()
3086 sym_op->aead.digest.data; in fill_fc_params()
3130 sym_op->auth.digest.data; in fill_fc_params()
3254 if (sym_op->auth.digest.data) in compl_auth_verify()
3331 m_src = sym_op->m_src; in fill_digest_params()
3406 sym_op->auth.digest.data; in fill_digest_params()
3411 sym_op->auth.data.length; in fill_digest_params()
3414 m_dst = sym_op->m_dst ? in fill_digest_params()
[all …]
/f-stack/dpdk/lib/librte_security/
H A Drte_security.h542 __rte_security_attach_session(struct rte_crypto_sym_op *sym_op, in __rte_security_attach_session() argument
545 sym_op->sec_session = sess; in __rte_security_attach_session()
/f-stack/dpdk/drivers/crypto/octeontx/
H A Dotx_cryptodev_ops.c531 struct rte_crypto_sym_op *sym_op = op->sym; in otx_cpt_enq_single_sym() local
538 get_sym_session_private_data(sym_op->session, in otx_cpt_enq_single_sym()
575 struct rte_crypto_sym_op *sym_op = op->sym; in otx_cpt_enq_single_sym_sessless() local
584 ret = sym_session_configure(driver_id, sym_op->xform, sess, in otx_cpt_enq_single_sym_sessless()
589 sym_op->session = sess; in otx_cpt_enq_single_sym_sessless()
/f-stack/dpdk/lib/librte_pipeline/
H A Drte_table_action.c1645 struct rte_crypto_sym_op sym_op; member