Home
last modified time | relevance | path

Searched refs:auth_iv (Results 1 – 25 of 31) sorted by relevance

12

/dpdk/app/test/
H A Dtest_cryptodev_zuc_test_vectors.h49 } auth_iv; member
559 .auth_iv = {
632 .auth_iv = {
656 .auth_iv = {
684 .auth_iv = {
715 .auth_iv = {
754 .auth_iv = {
816 .auth_iv = {
931 .auth_iv = {
956 .auth_iv = {
[all …]
H A Dtest_cryptodev_snow3g_hash_test_vectors.h17 } auth_iv; member
42 .auth_iv = {
77 .auth_iv = {
122 .auth_iv = {
408 .auth_iv = {
440 .auth_iv = {
473 .auth_iv = {
H A Dtest_cryptodev_mixed_test_vectors.h20 } auth_iv; member
82 .auth_iv = {
181 .auth_iv = {
268 .auth_iv = {
460 .auth_iv = {
547 .auth_iv = {
627 .auth_iv = {
707 .auth_iv = {
899 .auth_iv = {
978 .auth_iv = {
[all …]
H A Dtest_cryptodev_snow3g_test_vectors.h44 } auth_iv; member
123 .auth_iv = {
182 .auth_iv = {
229 .auth_iv = {
367 .auth_iv = {
436 .auth_iv = {
528 .auth_iv = {
621 .auth_iv = {
688 .auth_iv = {
H A Dtest_cryptodev.c2841 const uint8_t *auth_iv = tdata->auth_iv.data; in create_wireless_cipher_hash_operation() local
3171 tdata->auth_iv.data, tdata->auth_iv.len, in test_snow3g_authentication()
3262 tdata->auth_iv.data, tdata->auth_iv.len, in test_snow3g_authentication_verify()
5105 tdata->auth_iv.data, tdata->auth_iv.len, in test_snow3g_auth_cipher()
5312 tdata->auth_iv.data, tdata->auth_iv.len, in test_snow3g_auth_cipher_sgl()
6228 tdata->auth_iv.data, tdata->auth_iv.len, in test_zuc_authentication()
6368 tdata->auth_iv.data, tdata->auth_iv.len, in test_zuc_auth_cipher()
6845 output->auth_iv.len = pattern->auth_iv.len; in snow3g_hash_test_vector_setup()
6848 pattern->auth_iv.data, pattern->auth_iv.len); in snow3g_hash_test_vector_setup()
7435 tdata->auth_iv.data, tdata->auth_iv.len, in test_mixed_auth_cipher()
[all …]
/dpdk/drivers/crypto/qat/dev/
H A Dqat_crypto_pmd_gens.h292 struct rte_crypto_va_iova_ptr *auth_iv, in qat_sym_convert_op_to_vec_auth() argument
304 ctx->auth_iv.offset); in qat_sym_convert_op_to_vec_auth()
306 ctx->auth_iv.offset); in qat_sym_convert_op_to_vec_auth()
315 ctx->auth_iv.offset); in qat_sym_convert_op_to_vec_auth()
317 ctx->auth_iv.offset); in qat_sym_convert_op_to_vec_auth()
321 auth_iv->va = NULL; in qat_sym_convert_op_to_vec_auth()
322 auth_iv->iova = 0; in qat_sym_convert_op_to_vec_auth()
389 ctx->auth_iv.offset); in qat_sym_convert_op_to_vec_chain()
391 ctx->auth_iv.offset); in qat_sym_convert_op_to_vec_chain()
591 struct rte_crypto_va_iova_ptr *auth_iv, in enqueue_one_auth_job_gen1() argument
[all …]
H A Dqat_sym_pmd_gen1.c236 struct rte_crypto_va_iova_ptr auth_iv; in qat_sym_build_op_auth_gen1() local
248 NULL, &auth_iv, &digest); in qat_sym_build_op_auth_gen1()
266 &auth_iv, NULL, &digest); in qat_sym_build_op_auth_gen1()
330 struct rte_crypto_va_iova_ptr auth_iv; in qat_sym_build_op_chain_gen1() local
342 &cipher_iv, &auth_iv, &digest); in qat_sym_build_op_chain_gen1()
361 &auth_iv, NULL, &digest); in qat_sym_build_op_chain_gen1()
569 struct rte_crypto_va_iova_ptr *auth_iv, in qat_sym_dp_enqueue_single_auth_gen1() argument
601 auth_iv, NULL, digest); in qat_sym_dp_enqueue_single_auth_gen1()
677 struct rte_crypto_va_iova_ptr *auth_iv, in qat_sym_dp_enqueue_single_chain_gen1() argument
711 auth_iv, NULL, digest); in qat_sym_dp_enqueue_single_chain_gen1()
[all …]
H A Dqat_crypto_pmd_gen3.c182 struct rte_crypto_va_iova_ptr *auth_iv, in enqueue_one_auth_job_gen3() argument
193 enqueue_one_auth_job_gen1(ctx, req, digest, auth_iv, ofs, in enqueue_one_auth_job_gen3()
209 qat_set_cipher_iv(cipher_param, auth_iv, ctx->auth_iv.length, in enqueue_one_auth_job_gen3()
318 struct rte_crypto_va_iova_ptr auth_iv; in qat_sym_build_op_auth_gen3() local
330 NULL, &auth_iv, &digest); in qat_sym_build_op_auth_gen3()
343 enqueue_one_auth_job_gen3(ctx, cookie, req, &digest, &auth_iv, in qat_sym_build_op_auth_gen3()
348 &auth_iv, NULL, &digest); in qat_sym_build_op_auth_gen3()
517 struct rte_crypto_va_iova_ptr *auth_iv, in qat_sym_dp_enqueue_single_auth_gen3() argument
541 enqueue_one_auth_job_gen3(ctx, cookie, req, digest, auth_iv, ofs, in qat_sym_dp_enqueue_single_auth_gen3()
596 &vec->auth_iv[i], ofs, (uint32_t)data_len); in qat_sym_dp_enqueue_auth_jobs_gen3()
/dpdk/app/test-crypto-perf/
H A Dcperf_test_vector_parsing.c22 rte_free(vector->auth_iv.data); in free_test_vector()
118 if (test_vector->auth_iv.data) { in show_test_vector()
120 for (i = 0; i < test_vector->auth_iv.length; ++i) { in show_test_vector()
123 if (i == (uint32_t)(test_vector->auth_iv.length - 1)) in show_test_vector()
124 printf("0x%02x", test_vector->auth_iv.data[i]); in show_test_vector()
126 printf("0x%02x, ", test_vector->auth_iv.data[i]); in show_test_vector()
376 rte_free(vector->auth_iv.data); in parse_entry()
377 vector->auth_iv.data = data; in parse_entry()
379 vector->auth_iv.length = data_length; in parse_entry()
386 vector->auth_iv.length = opts->auth_iv_sz; in parse_entry()
H A Dcperf_ops.c352 if (test_vector->auth_iv.length) { in cperf_set_ops_auth()
356 memcpy(iv_ptr, test_vector->auth_iv.data, in cperf_set_ops_auth()
357 test_vector->auth_iv.length); in cperf_set_ops_auth()
413 if (test_vector->auth_iv.length) { in cperf_set_ops_auth()
418 memcpy(iv_ptr, test_vector->auth_iv.data, in cperf_set_ops_auth()
419 test_vector->auth_iv.length); in cperf_set_ops_auth()
526 if (test_vector->auth_iv.length) { in cperf_set_ops_cipher_auth()
532 memcpy(iv_ptr, test_vector->auth_iv.data, in cperf_set_ops_cipher_auth()
533 test_vector->auth_iv.length); in cperf_set_ops_cipher_auth()
709 auth_xform.auth.iv.length = test_vector->auth_iv.length; in create_ipsec_session()
[all …]
H A Dcperf_test_vectors.c786 t_vec->auth_iv.data = rte_malloc(NULL, options->auth_iv_sz, in cperf_test_vector_get_dummy()
788 if (options->auth_iv_sz && t_vec->auth_iv.data == NULL) { in cperf_test_vector_get_dummy()
794 memcpy(t_vec->auth_iv.data, iv, options->auth_iv_sz); in cperf_test_vector_get_dummy()
795 t_vec->auth_iv.length = options->auth_iv_sz; in cperf_test_vector_get_dummy()
H A Dmain.c496 if (test_vec->auth_iv.length != opts->auth_iv_sz) in cperf_check_test_vector()
499 if (opts->auth_iv_sz && test_vec->auth_iv.data == NULL) in cperf_check_test_vector()
537 if (test_vec->auth_iv.length != opts->auth_iv_sz) in cperf_check_test_vector()
540 if (opts->auth_iv_sz && test_vec->auth_iv.data == NULL) in cperf_check_test_vector()
H A Dcperf_test_vectors.h39 } auth_iv; member
H A Dcperf_test_common.c184 test_vector->auth_iv.length + in cperf_alloc_common_memory()
190 test_vector->auth_iv.length + in cperf_alloc_common_memory()
/dpdk/drivers/crypto/qat/
H A Dqat_sym.h377 struct rte_crypto_va_iova_ptr *auth_iv, in qat_sym_debug_log_dump() argument
390 if (auth_iv && ctx->auth_iv.length > 0) in qat_sym_debug_log_dump()
391 QAT_DP_HEXDUMP_LOG(DEBUG, "auth iv:", auth_iv->va, in qat_sym_debug_log_dump()
392 ctx->auth_iv.length); in qat_sym_debug_log_dump()
407 struct rte_crypto_va_iova_ptr *auth_iv __rte_unused, in qat_sym_debug_log_dump()
H A Dqat_sym_session.h104 } auth_iv; member
H A Dqat_sym_session.c638 session->auth_iv.offset = auth_xform->iv.offset; in qat_sym_session_configure_auth()
639 session->auth_iv.length = auth_xform->iv.length; in qat_sym_session_configure_auth()
695 if (session->auth_iv.length == 0) in qat_sym_session_configure_auth()
696 session->auth_iv.length = AES_GCM_J0_LEN; in qat_sym_session_configure_auth()
/dpdk/examples/l2fwd-crypto/
H A Dmain.c149 struct l2fwd_iv auth_iv; member
187 struct l2fwd_iv auth_iv; member
463 if (cparams->auth_iv.length) { in l2fwd_simple_crypto_enqueue()
473 cparams->auth_iv.length); in l2fwd_simple_crypto_enqueue()
773 port_cparams[i].auth_iv.data = options->auth_iv.data; in l2fwd_main_loop()
774 port_cparams[i].auth_iv.length = options->auth_iv.length; in l2fwd_main_loop()
791 options->auth_iv.length; in l2fwd_main_loop()
1317 options->auth_iv.length = in l2fwd_crypto_parse_args_long_options()
1510 options->auth_iv.length = 0; in l2fwd_crypto_default_options()
1561 rte_hexdump(stdout, "IV:", options->auth_iv.data, options->auth_iv.length); in display_auth_info()
[all …]
/dpdk/drivers/crypto/dpaa_sec/
H A Ddpaa_sec_raw_dp.c95 struct rte_crypto_va_iova_ptr *auth_iv, in build_dpaa_raw_dp_auth_fd() argument
102 RTE_SET_USED(auth_iv); in build_dpaa_raw_dp_auth_fd()
227 struct rte_crypto_va_iova_ptr *auth_iv, in build_raw_cipher_auth_gcm_sg() argument
342 qm_sg_entry_set64(sg, auth_iv->iova); in build_raw_cipher_auth_gcm_sg()
384 struct rte_crypto_va_iova_ptr *auth_iv, in build_dpaa_raw_dp_chain_fd() argument
389 RTE_SET_USED(auth_iv); in build_dpaa_raw_dp_chain_fd()
536 struct rte_crypto_va_iova_ptr *auth_iv, in build_dpaa_raw_dp_cipher_fd() argument
542 RTE_SET_USED(auth_iv); in build_dpaa_raw_dp_cipher_fd()
655 struct rte_crypto_va_iova_ptr *auth_iv, in build_dpaa_raw_proto_sg() argument
662 RTE_SET_USED(auth_iv); in build_dpaa_raw_proto_sg()
[all …]
/dpdk/drivers/crypto/dpaa2_sec/
H A Ddpaa2_sec_raw_dp.c30 struct rte_crypto_va_iova_ptr *auth_iv, in build_raw_dp_chain_fd() argument
35 RTE_SET_USED(auth_iv); in build_raw_dp_chain_fd()
187 struct rte_crypto_va_iova_ptr *auth_iv, in build_raw_dp_aead_fd() argument
297 DPAA2_SET_FLE_ADDR(sge, auth_iv->iova); in build_raw_dp_aead_fd()
338 struct rte_crypto_va_iova_ptr *auth_iv, in build_raw_dp_auth_fd() argument
344 RTE_SET_USED(auth_iv); in build_raw_dp_auth_fd()
453 struct rte_crypto_va_iova_ptr *auth_iv, in build_raw_dp_proto_fd() argument
460 RTE_SET_USED(auth_iv); in build_raw_dp_proto_fd()
585 struct rte_crypto_va_iova_ptr *auth_iv, in build_raw_dp_cipher_fd() argument
591 RTE_SET_USED(auth_iv); in build_raw_dp_cipher_fd()
[all …]
/dpdk/doc/guides/sample_app_ug/
H A Dl2_forward_crypto.rst48 [--auth_key_random_size SIZE] [--auth_iv IV] [--auth_iv_random_size SIZE] /
115 * auth_iv: set the auth IV to be used. Bytes has to be separated with ":"
119 Note that if --auth_iv is used, this will be ignored.
/dpdk/lib/cryptodev/
H A Drte_crypto_sym.h85 struct rte_crypto_va_iova_ptr *auth_iv; member
/dpdk/lib/pipeline/
H A Drte_table_action.h771 struct rte_table_action_vlo auth_iv; member
H A Drte_table_action.c1648 uint8_t auth_iv[ member
1892 p->cipher_auth.auth_iv.val, in sym_crypto_apply()
1893 p->cipher_auth.auth_iv.length); in sym_crypto_apply()
1896 p->cipher_auth.auth_iv.val, in sym_crypto_apply()
1897 p->cipher_auth.auth_iv.length); in sym_crypto_apply()
2007 uint8_t *iv = crypto_op->iv_aad.cipher_auth.auth_iv; in pkt_work_sym_crypto()
/dpdk/drivers/crypto/ipsec_mb/
H A Dpmd_aesni_mb.c81 sess->auth_iv.offset = xform->auth.iv.offset; in aesni_mb_set_session_auth_parameters()
82 sess->auth_iv.length = xform->auth.iv.length; in aesni_mb_set_session_auth_parameters()
767 sess->auth_iv.length = 0; in aesni_mb_session_configure()
1192 session->auth_iv.offset); in set_mb_job_params()
1199 session->auth_iv.offset); in set_mb_job_params()

12