Home
last modified time | relevance | path

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

/f-stack/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.c2404 const uint8_t *auth_iv = tdata->auth_iv.data; in create_wireless_cipher_hash_operation() local
2719 tdata->auth_iv.data, tdata->auth_iv.len, in test_snow3g_authentication()
2810 tdata->auth_iv.data, tdata->auth_iv.len, in test_snow3g_authentication_verify()
4613 tdata->auth_iv.data, tdata->auth_iv.len, in test_snow3g_auth_cipher()
4816 tdata->auth_iv.data, tdata->auth_iv.len, in test_snow3g_auth_cipher_sgl()
5686 tdata->auth_iv.data, tdata->auth_iv.len, in test_zuc_authentication()
5824 tdata->auth_iv.data, tdata->auth_iv.len, in test_zuc_auth_cipher()
6299 output->auth_iv.len = pattern->auth_iv.len; in snow3g_hash_test_vector_setup()
6302 pattern->auth_iv.data, pattern->auth_iv.len); in snow3g_hash_test_vector_setup()
6837 tdata->auth_iv.data, tdata->auth_iv.len, in test_mixed_auth_cipher()
[all …]
/f-stack/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.c241 if (test_vector->auth_iv.length) { in cperf_set_ops_auth()
245 memcpy(iv_ptr, test_vector->auth_iv.data, in cperf_set_ops_auth()
246 test_vector->auth_iv.length); in cperf_set_ops_auth()
302 if (test_vector->auth_iv.length) { in cperf_set_ops_auth()
307 memcpy(iv_ptr, test_vector->auth_iv.data, in cperf_set_ops_auth()
308 test_vector->auth_iv.length); in cperf_set_ops_auth()
414 if (test_vector->auth_iv.length) { in cperf_set_ops_cipher_auth()
420 memcpy(iv_ptr, test_vector->auth_iv.data, in cperf_set_ops_cipher_auth()
421 test_vector->auth_iv.length); in cperf_set_ops_cipher_auth()
715 test_vector->auth_iv.length; in cperf_create_session()
[all …]
H A Dcperf_test_vectors.c534 t_vec->auth_iv.data = rte_malloc(NULL, options->auth_iv_sz, in cperf_test_vector_get_dummy()
536 if (options->auth_iv_sz && t_vec->auth_iv.data == NULL) { in cperf_test_vector_get_dummy()
542 memcpy(t_vec->auth_iv.data, iv, options->auth_iv_sz); in cperf_test_vector_get_dummy()
543 t_vec->auth_iv.length = options->auth_iv_sz; in cperf_test_vector_get_dummy()
H A Dcperf_test_vectors.h39 } auth_iv; member
H A Dcperf_test_common.c152 test_vector->auth_iv.length + in cperf_alloc_common_memory()
158 test_vector->auth_iv.length + in cperf_alloc_common_memory()
H A Dmain.c425 if (test_vec->auth_iv.length != opts->auth_iv_sz) in cperf_check_test_vector()
428 if (opts->auth_iv_sz && test_vec->auth_iv.data == NULL) in cperf_check_test_vector()
466 if (test_vec->auth_iv.length != opts->auth_iv_sz) in cperf_check_test_vector()
469 if (opts->auth_iv_sz && test_vec->auth_iv.data == NULL) in cperf_check_test_vector()
/f-stack/dpdk/examples/l2fwd-crypto/
H A Dmain.c150 struct l2fwd_iv auth_iv; member
186 struct l2fwd_iv auth_iv; member
455 if (cparams->auth_iv.length) { in l2fwd_simple_crypto_enqueue()
465 cparams->auth_iv.length); in l2fwd_simple_crypto_enqueue()
748 port_cparams[i].auth_iv.data = options->auth_iv.data; in l2fwd_main_loop()
749 port_cparams[i].auth_iv.length = options->auth_iv.length; in l2fwd_main_loop()
766 options->auth_iv.length; in l2fwd_main_loop()
1276 options->auth_iv.length = in l2fwd_crypto_parse_args_long_options()
1467 options->auth_iv.length = 0; in l2fwd_crypto_default_options()
1518 rte_hexdump(stdout, "IV:", options->auth_iv.data, options->auth_iv.length); in display_auth_info()
[all …]
/f-stack/dpdk/drivers/crypto/qat/
H A Dqat_sym_hw_dp.c405 struct rte_crypto_va_iova_ptr *auth_iv, in enqueue_one_auth_job() argument
424 auth_param->u1.aad_adr = auth_iv->iova; in enqueue_one_auth_job()
432 ctx->auth_iv.length); in enqueue_one_auth_job()
445 struct rte_crypto_va_iova_ptr *auth_iv, in qat_sym_dp_enqueue_single_auth() argument
466 enqueue_one_auth_job(ctx, req, digest, auth_iv, ofs, in qat_sym_dp_enqueue_single_auth()
509 &vec->auth_iv[i], ofs, (uint32_t)data_len); in qat_sym_dp_enqueue_auth_jobs()
529 struct rte_crypto_va_iova_ptr *auth_iv, in enqueue_one_chain_job() argument
560 auth_param->u1.aad_adr = auth_iv->iova; in enqueue_one_chain_job()
627 struct rte_crypto_va_iova_ptr *auth_iv, in qat_sym_dp_enqueue_single_chain() argument
649 cipher_iv, digest, auth_iv, ofs, (uint32_t)data_len))) in qat_sym_dp_enqueue_single_chain()
[all …]
H A Dqat_sym.c303 ctx->auth_iv.offset); in qat_sym_build_request()
310 set_cipher_iv(ctx->auth_iv.length, in qat_sym_build_request()
311 ctx->auth_iv.offset, in qat_sym_build_request()
322 if (ctx->auth_iv.length == 12) { in qat_sym_build_request()
644 if (ctx->auth_iv.length) { in qat_sym_build_request()
647 ctx->auth_iv.offset); in qat_sym_build_request()
649 ctx->auth_iv.length); in qat_sym_build_request()
H A Dqat_sym_session.h88 } auth_iv; member
H A Dqat_sym_session.c711 session->auth_iv.offset = auth_xform->iv.offset; in qat_sym_session_configure_auth()
712 session->auth_iv.length = auth_xform->iv.length; in qat_sym_session_configure_auth()
766 if (session->auth_iv.length == 0) in qat_sym_session_configure_auth()
767 session->auth_iv.length = AES_GCM_J0_LEN; in qat_sym_session_configure_auth()
/f-stack/dpdk/drivers/crypto/aesni_mb/
H A Daesni_mb_pmd_private.h210 } auth_iv; member
H A Drte_aesni_mb_pmd.c162 sess->auth_iv.offset = xform->auth.iv.offset; in aesni_mb_set_session_auth_parameters()
163 sess->auth_iv.length = xform->auth.iv.length; in aesni_mb_set_session_auth_parameters()
828 sess->auth_iv.length = 0; in aesni_mb_set_session_parameters()
1319 session->auth_iv.offset); in set_mb_job_params()
1324 session->auth_iv.offset); in set_mb_job_params()
/f-stack/dpdk/lib/librte_cryptodev/
H A Drte_crypto_sym.h81 struct rte_crypto_va_iova_ptr *auth_iv; member
/f-stack/dpdk/lib/librte_pipeline/
H A Drte_table_action.h771 struct rte_table_action_vlo auth_iv; member
H A Drte_table_action.c1650 uint8_t auth_iv[ member
1894 p->cipher_auth.auth_iv.val, in sym_crypto_apply()
1895 p->cipher_auth.auth_iv.length); in sym_crypto_apply()
1898 p->cipher_auth.auth_iv.val, in sym_crypto_apply()
1899 p->cipher_auth.auth_iv.length); in sym_crypto_apply()
2009 uint8_t *iv = crypto_op->iv_aad.cipher_auth.auth_iv; in pkt_work_sym_crypto()
/f-stack/dpdk/doc/guides/sample_app_ug/
H A Dl2_forward_crypto.rst47 [--auth_key_random_size SIZE] [--auth_iv IV] [--auth_iv_random_size SIZE] /
112 * auth_iv: set the auth IV to be used. Bytes has to be separated with ":"
116 Note that if --auth_iv is used, this will be ignored.
/f-stack/dpdk/doc/guides/tools/
H A Dcryptoperf.rst378 * ``auth_iv``
/f-stack/dpdk/drivers/net/softnic/
H A Drte_eth_softnic_cli.c4491 if (p->cipher_auth.auth_iv.val) in parse_free_sym_crypto_param_data()
4653 if (p->cipher_auth.auth_iv.val) { in parse_table_action_cipher_auth()
4654 free(p->cipher_auth.auth_iv.val); in parse_table_action_cipher_auth()
4655 p->cipher_auth.auth_iv.val = 0; in parse_table_action_cipher_auth()
/f-stack/dpdk/examples/ip_pipeline/
H A Dcli.c3784 if (p->cipher_auth.auth_iv.val) in parse_free_sym_crypto_param_data()
3946 if (p->cipher_auth.auth_iv.val) { in parse_table_action_cipher_auth()
3947 free(p->cipher_auth.auth_iv.val); in parse_table_action_cipher_auth()
3948 p->cipher_auth.auth_iv.val = 0; in parse_table_action_cipher_auth()