| /f-stack/dpdk/app/test/ |
| H A D | test_cryptodev_kasumi_test_vectors.h | 17 } 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 D | test_cryptodev_snow3g_test_vectors.h | 17 } 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 D | test_cryptodev_mixed_test_vectors.h | 37 } 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 D | test_cryptodev_zuc_test_vectors.h | 17 } cipher_iv; member 65 .cipher_iv = { 106 .cipher_iv = { 165 .cipher_iv = { 248 .cipher_iv = { 369 .cipher_iv = { 528 .cipher_iv = { 583 .cipher_iv = { 1057 .cipher_iv = {
|
| H A D | test_cryptodev.c | 2402 const uint8_t *cipher_iv = tdata->cipher_iv.data; in create_wireless_cipher_hash_operation() local 4466 tdata->cipher_iv.data, tdata->cipher_iv.len, in test_snow3g_cipher_auth() 4612 tdata->cipher_iv.data, tdata->cipher_iv.len, in test_snow3g_auth_cipher() 4815 tdata->cipher_iv.data, tdata->cipher_iv.len, in test_snow3g_auth_cipher_sgl() 5012 tdata->cipher_iv.data, tdata->cipher_iv.len, in test_kasumi_auth_cipher() 5216 tdata->cipher_iv.data, tdata->cipher_iv.len, in test_kasumi_auth_cipher_sgl() 5379 tdata->cipher_iv.data, tdata->cipher_iv.len, in test_kasumi_cipher_auth() 5823 tdata->cipher_iv.data, tdata->cipher_iv.len, in test_zuc_auth_cipher() 6021 tdata->cipher_iv.data, tdata->cipher_iv.len, in test_zuc_auth_cipher_sgl() 6836 tdata->cipher_iv.data, tdata->cipher_iv.len, in test_mixed_auth_cipher() [all …]
|
| /f-stack/dpdk/app/test-crypto-perf/ |
| H A D | cperf_test_vectors.c | 427 t_vec->cipher_iv.data = NULL; in cperf_test_vector_get_dummy() 431 t_vec->cipher_iv.data = rte_malloc(NULL, in cperf_test_vector_get_dummy() 433 if (t_vec->cipher_iv.data == NULL) { in cperf_test_vector_get_dummy() 440 t_vec->cipher_iv.length = options->cipher_iv_sz; in cperf_test_vector_get_dummy() 456 rte_free(t_vec->cipher_iv.data); in cperf_test_vector_get_dummy() 485 t_vec->cipher_iv.data = NULL; in cperf_test_vector_get_dummy() 489 t_vec->cipher_iv.data = rte_malloc(NULL, in cperf_test_vector_get_dummy() 491 if (t_vec->cipher_iv.data == NULL) { in cperf_test_vector_get_dummy() 498 t_vec->cipher_iv.length = options->cipher_iv_sz; in cperf_test_vector_get_dummy() 520 rte_free(t_vec->cipher_iv.data); in cperf_test_vector_get_dummy() [all …]
|
| H A D | cperf_test_vector_parsing.c | 21 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 D | cperf_ops.c | 206 memcpy(iv_ptr, test_vector->cipher_iv.data, in cperf_set_ops_cipher() 207 test_vector->cipher_iv.length); in cperf_set_ops_cipher() 412 memcpy(iv_ptr, test_vector->cipher_iv.data, in cperf_set_ops_cipher_auth() 413 test_vector->cipher_iv.length); in cperf_set_ops_cipher_auth() 419 iv_ptr += test_vector->cipher_iv.length; in cperf_set_ops_cipher_auth() 640 test_vector->cipher_iv.length; in cperf_create_session() 688 test_vector->cipher_iv.length; in cperf_create_session() 746 test_vector->cipher_iv.length; in cperf_create_session()
|
| H A D | cperf_test_vectors.h | 34 } cipher_iv; member
|
| H A D | cperf_test_common.c | 151 test_vector->cipher_iv.length + in cperf_alloc_common_memory() 157 test_vector->cipher_iv.length + in cperf_alloc_common_memory()
|
| H A D | main.c | 404 test_vec->cipher_iv.data == NULL) in cperf_check_test_vector() 406 if (test_vec->cipher_iv.length != opts->cipher_iv_sz) in cperf_check_test_vector() 452 if (test_vec->cipher_iv.data == NULL) in cperf_check_test_vector() 454 if (test_vec->cipher_iv.length != opts->cipher_iv_sz) in cperf_check_test_vector()
|
| /f-stack/dpdk/drivers/crypto/qat/ |
| H A D | qat_sym.c | 79 ctx->cipher_iv.offset); in qat_bpicipher_preprocess() 279 set_cipher_iv(ctx->cipher_iv.length, ctx->cipher_iv.offset, in qat_sym_build_request() 353 if (ctx->cipher_iv.length == 12) { in qat_sym_build_request() 358 set_cipher_iv(ctx->cipher_iv.length, in qat_sym_build_request() 359 ctx->cipher_iv.offset, in qat_sym_build_request() 389 ctx->cipher_iv.offset); in qat_sym_build_request() 392 ctx->cipher_iv.offset); in qat_sym_build_request() 396 ctx->cipher_iv.length; in qat_sym_build_request() 437 ctx->cipher_iv.offset, in qat_sym_build_request() 638 ctx->cipher_iv.offset); in qat_sym_build_request() [all …]
|
| H A D | qat_sym_hw_dp.c | 131 ctx->cipher_iv.length); in enqueue_one_aead_job() 152 q = ICP_QAT_HW_CCM_NQ_CONST - ctx->cipher_iv.length; in enqueue_one_aead_job() 156 memcpy(aad_data + ctx->cipher_iv.length + in enqueue_one_aead_job() 162 memcpy(aad_data + ctx->cipher_iv.length + in enqueue_one_aead_job() 192 ICP_QAT_HW_CCM_NONCE_OFFSET, ctx->cipher_iv.length); in enqueue_one_aead_job() 199 ctx->cipher_iv.length); in enqueue_one_aead_job() 313 set_cipher_iv(cipher_param, iv, ctx->cipher_iv.length, req); in enqueue_one_cipher_job() 527 struct rte_crypto_va_iova_ptr *cipher_iv, in enqueue_one_chain_job() argument 550 set_cipher_iv(cipher_param, cipher_iv, ctx->cipher_iv.length, req); in enqueue_one_chain_job() 625 struct rte_crypto_va_iova_ptr *cipher_iv, in qat_sym_dp_enqueue_single_chain() argument [all …]
|
| H A D | qat_sym_session.h | 84 } cipher_iv; member
|
| H A D | qat_sym_session.c | 254 session->cipher_iv.offset = cipher_xform->iv.offset; in qat_sym_session_configure_cipher() 255 session->cipher_iv.length = cipher_xform->iv.length; in qat_sym_session_configure_cipher() 653 session->cipher_iv.offset = aead_xform->iv.offset; in qat_sym_session_handle_single_pass() 654 session->cipher_iv.length = aead_xform->iv.length; in qat_sym_session_handle_single_pass() 876 session->cipher_iv.offset = xform->aead.iv.offset; in qat_sym_session_configure_aead() 877 session->cipher_iv.length = xform->aead.iv.length; in qat_sym_session_configure_aead() 896 if (session->cipher_iv.length == 0) in qat_sym_session_configure_aead() 897 session->cipher_iv.length = AES_GCM_J0_LEN; in qat_sym_session_configure_aead()
|
| H A D | qat_sym.h | 114 ctx->cipher_iv.offset); in qat_bpicipher_postprocess()
|
| /f-stack/dpdk/examples/l2fwd-crypto/ |
| H A D | main.c | 141 struct l2fwd_iv cipher_iv; member 185 struct l2fwd_iv cipher_iv; member 459 cparams->cipher_iv.length); in l2fwd_simple_crypto_enqueue() 496 cparams->cipher_iv.length); in l2fwd_simple_crypto_enqueue() 809 port_cparams[i].cipher_iv.data = options->cipher_iv.data; in l2fwd_main_loop() 810 port_cparams[i].cipher_iv.length = options->cipher_iv.length; in l2fwd_main_loop() 819 options->cipher_iv.length; in l2fwd_main_loop() 1239 options->cipher_iv.length = in l2fwd_crypto_parse_args_long_options() 1454 options->cipher_iv.length = 0; in l2fwd_crypto_default_options() 1506 rte_hexdump(stdout, "IV:", options->cipher_iv.data, options->cipher_iv.length); in display_cipher_info() [all …]
|
| /f-stack/dpdk/doc/guides/cryptodevs/ |
| H A D | ccp.rst | 110 --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
|
| /f-stack/dpdk/drivers/crypto/mvsam/ |
| H A D | rte_mrvl_pmd.c | 252 sess->sam_sess_params.cipher_iv = NULL; in mrvl_crypto_set_cipher_session_parameters() 364 sess->sam_sess_params.cipher_iv = NULL; in mrvl_crypto_set_aead_session_parameters() 571 request->cipher_iv = rte_crypto_op_ctod_offset(op, uint8_t *, in mrvl_request_prepare() 580 request->cipher_iv = rte_crypto_op_ctod_offset(op, uint8_t *, in mrvl_request_prepare()
|
| /f-stack/dpdk/lib/librte_pipeline/ |
| H A D | rte_table_action.h | 765 struct rte_table_action_vlo cipher_iv; member
|
| /f-stack/dpdk/doc/guides/sample_app_ug/ |
| H A D | l2_forward_crypto.rst | 45 [--cipher_key_random_size SIZE] [--cipher_iv IV] [--cipher_iv_random_size SIZE] / 92 * cipher_iv: set the cipher IV to be used. Bytes has to be separated with ":" 96 Note that if --cipher_iv is used, this will be ignored.
|
| H A D | ip_pipeline.rst | 493 cipher_algo <algo> cipher_key <key> cipher_iv <iv> 495 cipher_algo <algo> cipher_key <key> cipher_iv <iv>
|
| /f-stack/dpdk/drivers/net/softnic/ |
| H A D | rte_eth_softnic_cli.c | 4485 if (p->cipher_auth.cipher_iv.val) in parse_free_sym_crypto_param_data() 4486 free(p->cipher_auth.cipher_iv.val); in parse_free_sym_crypto_param_data() 4492 free(p->cipher_auth.cipher_iv.val); in parse_free_sym_crypto_param_data() 4554 p->cipher_auth.cipher_iv.val = calloc(1, len / 2 + 1); in parse_table_action_cipher() 4555 if (p->cipher_auth.cipher_iv.val == NULL) in parse_table_action_cipher() 4559 p->cipher_auth.cipher_iv.val, in parse_table_action_cipher() 4566 p->cipher_auth.cipher_iv.length = (uint32_t)len; in parse_table_action_cipher() 4572 if (p->cipher_auth.cipher_iv.val) { in parse_table_action_cipher() 4573 free(p->cipher_auth.cipher_iv.val); in parse_table_action_cipher() 4574 p->cipher_auth.cipher_iv.val = NULL; in parse_table_action_cipher()
|
| /f-stack/dpdk/examples/ip_pipeline/ |
| H A D | cli.c | 3778 if (p->cipher_auth.cipher_iv.val) in parse_free_sym_crypto_param_data() 3779 free(p->cipher_auth.cipher_iv.val); in parse_free_sym_crypto_param_data() 3785 free(p->cipher_auth.cipher_iv.val); in parse_free_sym_crypto_param_data() 3847 p->cipher_auth.cipher_iv.val = calloc(1, len / 2 + 1); in parse_table_action_cipher() 3848 if (p->cipher_auth.cipher_iv.val == NULL) in parse_table_action_cipher() 3852 p->cipher_auth.cipher_iv.val, in parse_table_action_cipher() 3859 p->cipher_auth.cipher_iv.length = (uint32_t)len; in parse_table_action_cipher() 3865 if (p->cipher_auth.cipher_iv.val) { in parse_table_action_cipher() 3866 free(p->cipher_auth.cipher_iv.val); in parse_table_action_cipher() 3867 p->cipher_auth.cipher_iv.val = NULL; in parse_table_action_cipher()
|
| /f-stack/dpdk/doc/guides/tools/ |
| H A D | cryptoperf.rst | 374 * ``cipher_iv`` 444 cipher_iv =
|