Home
last modified time | relevance | path

Searched refs:cipher_iv (Results 1 – 25 of 32) sorted by relevance

12

/dpdk/app/test/
H A Dtest_cryptodev_snow3g_test_vectors.h17 } cipher_iv; member
71 .cipher_iv = {
140 .cipher_iv = {
199 .cipher_iv = {
253 .cipher_iv = {
297 .cipher_iv = {
360 .cipher_iv = {
429 .cipher_iv = {
521 .cipher_iv = {
614 .cipher_iv = {
[all …]
H A Dtest_cryptodev_kasumi_test_vectors.h17 } cipher_iv; member
67 .cipher_iv = {
125 .cipher_iv = {
173 .cipher_iv = {
222 .cipher_iv = {
262 .cipher_iv = {
322 .cipher_iv = {
371 .cipher_iv = {
H A Dtest_cryptodev_mixed_test_vectors.h37 } cipher_iv; member
101 .cipher_iv = {
200 .cipher_iv = {
285 .cipher_iv = {
479 .cipher_iv = {
566 .cipher_iv = {
646 .cipher_iv = {
724 .cipher_iv = {
918 .cipher_iv = {
997 .cipher_iv = {
[all …]
H A Dtest_cryptodev_zuc_test_vectors.h17 } cipher_iv; member
65 .cipher_iv = {
106 .cipher_iv = {
165 .cipher_iv = {
248 .cipher_iv = {
369 .cipher_iv = {
528 .cipher_iv = {
583 .cipher_iv = {
1167 .cipher_iv = {
1253 .cipher_iv = {
[all …]
H A Dtest_cryptodev.c2839 const uint8_t *cipher_iv = tdata->cipher_iv.data; in create_wireless_cipher_hash_operation() local
4959 tdata->cipher_iv.data, tdata->cipher_iv.len, in test_snow3g_cipher_auth()
5104 tdata->cipher_iv.data, tdata->cipher_iv.len, in test_snow3g_auth_cipher()
5311 tdata->cipher_iv.data, tdata->cipher_iv.len, in test_snow3g_auth_cipher_sgl()
5512 tdata->cipher_iv.data, tdata->cipher_iv.len, in test_kasumi_auth_cipher()
5716 tdata->cipher_iv.data, tdata->cipher_iv.len, in test_kasumi_auth_cipher_sgl()
5879 tdata->cipher_iv.data, tdata->cipher_iv.len, in test_kasumi_cipher_auth()
6367 tdata->cipher_iv.data, tdata->cipher_iv.len, in test_zuc_auth_cipher()
6567 tdata->cipher_iv.data, tdata->cipher_iv.len, in test_zuc_auth_cipher_sgl()
7434 tdata->cipher_iv.data, tdata->cipher_iv.len, in test_mixed_auth_cipher()
[all …]
/dpdk/app/test-crypto-perf/
H A Dcperf_test_vectors.c679 t_vec->cipher_iv.data = NULL; in cperf_test_vector_get_dummy()
683 t_vec->cipher_iv.data = rte_malloc(NULL, in cperf_test_vector_get_dummy()
685 if (t_vec->cipher_iv.data == NULL) { in cperf_test_vector_get_dummy()
692 t_vec->cipher_iv.length = options->cipher_iv_sz; in cperf_test_vector_get_dummy()
708 rte_free(t_vec->cipher_iv.data); in cperf_test_vector_get_dummy()
737 t_vec->cipher_iv.data = NULL; in cperf_test_vector_get_dummy()
741 t_vec->cipher_iv.data = rte_malloc(NULL, in cperf_test_vector_get_dummy()
743 if (t_vec->cipher_iv.data == NULL) { in cperf_test_vector_get_dummy()
750 t_vec->cipher_iv.length = options->cipher_iv_sz; in cperf_test_vector_get_dummy()
772 rte_free(t_vec->cipher_iv.data); in cperf_test_vector_get_dummy()
[all …]
H A Dcperf_test_vector_parsing.c21 rte_free(vector->cipher_iv.data); in free_test_vector()
105 if (test_vector->cipher_iv.data) { in show_test_vector()
107 for (i = 0; i < test_vector->cipher_iv.length; ++i) { in show_test_vector()
110 if (i == (uint32_t)(test_vector->cipher_iv.length - 1)) in show_test_vector()
111 printf("0x%02x", test_vector->cipher_iv.data[i]); in show_test_vector()
113 printf("0x%02x, ", test_vector->cipher_iv.data[i]); in show_test_vector()
362 rte_free(vector->cipher_iv.data); in parse_entry()
363 vector->cipher_iv.data = data; in parse_entry()
365 vector->cipher_iv.length = data_length; in parse_entry()
372 vector->cipher_iv.length = opts->cipher_iv_sz; in parse_entry()
H A Dcperf_ops.c316 memcpy(iv_ptr, test_vector->cipher_iv.data, in cperf_set_ops_cipher()
317 test_vector->cipher_iv.length); in cperf_set_ops_cipher()
524 memcpy(iv_ptr, test_vector->cipher_iv.data, in cperf_set_ops_cipher_auth()
525 test_vector->cipher_iv.length); in cperf_set_ops_cipher_auth()
531 iv_ptr += test_vector->cipher_iv.length; in cperf_set_ops_cipher_auth()
685 xform.cipher.iv.length = test_vector->cipher_iv.length; in create_ipsec_session()
896 test_vector->cipher_iv.length; in cperf_create_session()
944 test_vector->cipher_iv.length; in cperf_create_session()
1002 test_vector->cipher_iv.length; in cperf_create_session()
H A Dmain.c475 test_vec->cipher_iv.data == NULL) in cperf_check_test_vector()
477 if (test_vec->cipher_iv.length != opts->cipher_iv_sz) in cperf_check_test_vector()
523 if (test_vec->cipher_iv.data == NULL) in cperf_check_test_vector()
525 if (test_vec->cipher_iv.length != opts->cipher_iv_sz) in cperf_check_test_vector()
H A Dcperf_test_vectors.h34 } cipher_iv; member
H A Dcperf_test_common.c183 test_vector->cipher_iv.length + in cperf_alloc_common_memory()
189 test_vector->cipher_iv.length + in cperf_alloc_common_memory()
/dpdk/drivers/crypto/qat/dev/
H A Dqat_crypto_pmd_gens.h76 ctx->cipher_iv.offset); in qat_bpicipher_preprocess()
219 struct rte_crypto_va_iova_ptr *cipher_iv, in qat_sym_convert_op_to_vec_cipher() argument
255 ctx->cipher_iv.offset); in qat_sym_convert_op_to_vec_cipher()
257 ctx->cipher_iv.offset); in qat_sym_convert_op_to_vec_cipher()
385 ctx->cipher_iv.offset); in qat_sym_convert_op_to_vec_chain()
387 ctx->cipher_iv.offset); in qat_sym_convert_op_to_vec_chain()
507 ctx->cipher_iv.offset); in qat_sym_convert_op_to_vec_aead()
509 ctx->cipher_iv.offset); in qat_sym_convert_op_to_vec_aead()
658 qat_set_cipher_iv(cipher_param, cipher_iv, ctx->cipher_iv.length, req); in enqueue_one_chain_job_gen1()
739 ctx->cipher_iv.length); in enqueue_one_aead_job_gen1()
[all …]
H A Dqat_sym_pmd_gen1.c192 struct rte_crypto_va_iova_ptr cipher_iv; in qat_sym_build_op_cipher_gen1() local
203 &cipher_iv, NULL, NULL); in qat_sym_build_op_cipher_gen1()
216 enqueue_one_cipher_job_gen1(ctx, req, &cipher_iv, ofs, total_len); in qat_sym_build_op_cipher_gen1()
282 struct rte_crypto_va_iova_ptr cipher_iv; in qat_sym_build_op_aead_gen1() local
295 &cipher_iv, &aad, &digest); in qat_sym_build_op_aead_gen1()
329 struct rte_crypto_va_iova_ptr cipher_iv; in qat_sym_build_op_chain_gen1() local
342 &cipher_iv, &auth_iv, &digest); in qat_sym_build_op_chain_gen1()
356 out_sgl.vec, out_sgl.num, &cipher_iv, &digest, &auth_iv, in qat_sym_build_op_chain_gen1()
675 struct rte_crypto_va_iova_ptr *cipher_iv, in qat_sym_dp_enqueue_single_chain_gen1() argument
701 NULL, 0, cipher_iv, digest, auth_iv, ofs, in qat_sym_dp_enqueue_single_chain_gen1()
[all …]
H A Dqat_crypto_pmd_gen4.c123 qat_set_cipher_iv(cipher_param, iv, ctx->cipher_iv.length, in enqueue_one_aead_job_gen4()
148 struct rte_crypto_va_iova_ptr cipher_iv; in qat_sym_build_op_aead_gen4() local
161 &cipher_iv, &aad, &digest); in qat_sym_build_op_aead_gen4()
174 enqueue_one_aead_job_gen4(ctx, qat_req, &cipher_iv, &digest, &aad, ofs, in qat_sym_build_op_aead_gen4()
178 qat_sym_debug_log_dump(qat_req, ctx, in_sgl.vec, in_sgl.num, &cipher_iv, in qat_sym_build_op_aead_gen4()
H A Dqat_crypto_pmd_gen3.c163 qat_set_cipher_iv(cipher_param, iv, ctx->cipher_iv.length, req); in enqueue_one_aead_job_gen3()
271 struct rte_crypto_va_iova_ptr cipher_iv; in qat_sym_build_op_aead_gen3() local
284 &cipher_iv, &aad, &digest); in qat_sym_build_op_aead_gen3()
297 enqueue_one_aead_job_gen3(ctx, req, &cipher_iv, &digest, &aad, ofs, in qat_sym_build_op_aead_gen3()
301 qat_sym_debug_log_dump(req, ctx, in_sgl.vec, in_sgl.num, &cipher_iv, in qat_sym_build_op_aead_gen3()
/dpdk/drivers/crypto/qat/
H A Dqat_sym.h197 ctx->cipher_iv.offset); in qat_bpicipher_postprocess()
376 struct rte_crypto_va_iova_ptr *cipher_iv, in qat_sym_debug_log_dump() argument
387 if (cipher_iv && ctx->cipher_iv.length > 0) in qat_sym_debug_log_dump()
388 QAT_DP_HEXDUMP_LOG(DEBUG, "cipher iv:", cipher_iv->va, in qat_sym_debug_log_dump()
389 ctx->cipher_iv.length); in qat_sym_debug_log_dump()
406 struct rte_crypto_va_iova_ptr *cipher_iv __rte_unused, in qat_sym_debug_log_dump()
H A Dqat_sym_session.c279 session->cipher_iv.offset = cipher_xform->iv.offset; in qat_sym_session_configure_cipher()
280 session->cipher_iv.length = cipher_xform->iv.length; in qat_sym_session_configure_cipher()
608 session->cipher_iv.offset = aead_xform->iv.offset; in qat_sym_session_handle_single_pass()
609 session->cipher_iv.length = aead_xform->iv.length; in qat_sym_session_handle_single_pass()
807 session->cipher_iv.offset = xform->aead.iv.offset; in qat_sym_session_configure_aead()
808 session->cipher_iv.length = xform->aead.iv.length; in qat_sym_session_configure_aead()
827 if (session->cipher_iv.length == 0) { in qat_sym_session_configure_aead()
828 session->cipher_iv.length = AES_GCM_J0_LEN; in qat_sym_session_configure_aead()
H A Dqat_sym_session.h100 } cipher_iv; member
/dpdk/examples/l2fwd-crypto/
H A Dmain.c140 struct l2fwd_iv cipher_iv; member
186 struct l2fwd_iv cipher_iv; member
467 cparams->cipher_iv.length); in l2fwd_simple_crypto_enqueue()
504 cparams->cipher_iv.length); in l2fwd_simple_crypto_enqueue()
834 port_cparams[i].cipher_iv.data = options->cipher_iv.data; in l2fwd_main_loop()
835 port_cparams[i].cipher_iv.length = options->cipher_iv.length; in l2fwd_main_loop()
846 options->cipher_iv.length; in l2fwd_main_loop()
1280 options->cipher_iv.length = in l2fwd_crypto_parse_args_long_options()
1496 options->cipher_iv.length = 0; in l2fwd_crypto_default_options()
1549 rte_hexdump(stdout, "IV:", options->cipher_iv.data, options->cipher_iv.length); in display_cipher_info()
[all …]
/dpdk/doc/guides/cryptodevs/
H A Dccp.rst110 --cipher_iv 00:01:02:03:04:05:06:07:08:09:0a:0b:0c:0d:0e:ff
125 --cipher_iv 00:01:02:03:04:05:06:07:08:09:0a:0b:0c:0d:0e:ff
/dpdk/drivers/crypto/mvsam/
H A Drte_mrvl_pmd.c253 sess->sam_sess_params.cipher_iv = NULL; in mrvl_crypto_set_cipher_session_parameters()
373 sess->sam_sess_params.cipher_iv = NULL; in mrvl_crypto_set_aead_session_parameters()
671 request->cipher_iv = rte_crypto_op_ctod_offset(op, uint8_t *, in mrvl_request_prepare_crp()
680 request->cipher_iv = rte_crypto_op_ctod_offset(op, uint8_t *, in mrvl_request_prepare_crp()
H A Drte_mrvl_pmd_ops.c888 mrvl_sess->sam_sess_params.cipher_iv = in mrvl_crypto_pmd_security_session_create()
932 rte_free(mrvl_sess->sam_sess_params.cipher_iv); in mrvl_crypto_pmd_security_session_destroy()
/dpdk/doc/guides/sample_app_ug/
H A Dl2_forward_crypto.rst45 [--cipher_key KEY] [--cipher_key_random_size SIZE] [--cipher_iv IV] /
95 * cipher_iv: set the cipher IV to be used. Bytes has to be separated with ":"
99 Note that if --cipher_iv is used, this will be ignored.
/dpdk/lib/pipeline/
H A Drte_table_action.h765 struct rte_table_action_vlo cipher_iv; member
/dpdk/drivers/net/softnic/
H A Drte_eth_softnic_cli.c4485 free(p->cipher_auth.cipher_iv.val); in parse_free_sym_crypto_param_data()
4490 free(p->cipher_auth.cipher_iv.val); in parse_free_sym_crypto_param_data()
4550 p->cipher_auth.cipher_iv.val = calloc(1, len / 2 + 1); in parse_table_action_cipher()
4551 if (p->cipher_auth.cipher_iv.val == NULL) in parse_table_action_cipher()
4555 p->cipher_auth.cipher_iv.val, in parse_table_action_cipher()
4562 p->cipher_auth.cipher_iv.length = (uint32_t)len; in parse_table_action_cipher()
4568 if (p->cipher_auth.cipher_iv.val) { in parse_table_action_cipher()
4569 free(p->cipher_auth.cipher_iv.val); in parse_table_action_cipher()
4570 p->cipher_auth.cipher_iv.val = NULL; in parse_table_action_cipher()

12