Lines Matching refs:test_vector
18 const struct cperf_test_vector *test_vector __rte_unused, in cperf_set_ops_asym()
42 const struct cperf_test_vector *test_vector) in test_ipsec_vec_populate() argument
48 memcpy(ip, test_vector->plaintext.data, in test_ipsec_vec_populate()
61 const struct cperf_test_vector *test_vector, in cperf_set_ops_security() argument
122 RTE_SET_USED(test_vector); in cperf_set_ops_security()
133 const struct cperf_test_vector *test_vector, in cperf_set_ops_security_ipsec() argument
177 test_ipsec_vec_populate(m, options, test_vector); in cperf_set_ops_security_ipsec()
193 const struct cperf_test_vector *test_vector __rte_unused, in cperf_set_ops_null_cipher()
233 const struct cperf_test_vector *test_vector __rte_unused, in cperf_set_ops_null_auth()
273 const struct cperf_test_vector *test_vector, in cperf_set_ops_cipher() argument
316 memcpy(iv_ptr, test_vector->cipher_iv.data, in cperf_set_ops_cipher()
317 test_vector->cipher_iv.length); in cperf_set_ops_cipher()
330 const struct cperf_test_vector *test_vector, in cperf_set_ops_auth() argument
352 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()
362 sym_op->auth.digest.data = test_vector->digest.data; in cperf_set_ops_auth()
364 test_vector->digest.phys_addr; 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()
431 const struct cperf_test_vector *test_vector, in cperf_set_ops_cipher_auth() argument
470 sym_op->auth.digest.data = test_vector->digest.data; in cperf_set_ops_cipher_auth()
472 test_vector->digest.phys_addr; in cperf_set_ops_cipher_auth()
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()
526 if (test_vector->auth_iv.length) { in cperf_set_ops_cipher_auth()
531 iv_ptr += test_vector->cipher_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()
547 const struct cperf_test_vector *test_vector, in cperf_set_ops_aead() argument
554 RTE_ALIGN_CEIL(test_vector->aead_iv.length, 16); in cperf_set_ops_aead()
587 sym_op->aead.digest.data = test_vector->digest.data; in cperf_set_ops_aead()
589 test_vector->digest.phys_addr; in cperf_set_ops_aead()
635 memcpy(iv_ptr + 1, test_vector->aead_iv.data, in cperf_set_ops_aead()
636 test_vector->aead_iv.length); in cperf_set_ops_aead()
639 test_vector->aad.data, in cperf_set_ops_aead()
640 test_vector->aad.length); in cperf_set_ops_aead()
642 memcpy(iv_ptr, test_vector->aead_iv.data, in cperf_set_ops_aead()
643 test_vector->aead_iv.length); in cperf_set_ops_aead()
646 test_vector->aad.data, in cperf_set_ops_aead()
647 test_vector->aad.length); in cperf_set_ops_aead()
660 const struct cperf_test_vector *test_vector, in create_ipsec_session() argument
673 xform.aead.key.data = test_vector->aead_key.data; in create_ipsec_session()
674 xform.aead.key.length = test_vector->aead_key.length; in create_ipsec_session()
675 xform.aead.iv.length = test_vector->aead_iv.length; in create_ipsec_session()
685 xform.cipher.iv.length = test_vector->cipher_iv.length; in create_ipsec_session()
688 xform.cipher.key.data = test_vector->cipher_key.data; in create_ipsec_session()
690 test_vector->cipher_key.length; in create_ipsec_session()
707 test_vector->auth_key.length; in create_ipsec_session()
708 auth_xform.auth.key.data = test_vector->auth_key.data; in create_ipsec_session()
709 auth_xform.auth.iv.length = test_vector->auth_iv.length; in create_ipsec_session()
777 const struct cperf_test_vector *test_vector, in cperf_create_session() argument
819 cipher_xform.cipher.key.data = test_vector->cipher_key.data; in cperf_create_session()
820 cipher_xform.cipher.key.length = test_vector->cipher_key.length; in cperf_create_session()
838 auth_xform.auth.key.length = test_vector->auth_key.length; in cperf_create_session()
839 auth_xform.auth.key.data = test_vector->auth_key.data; in cperf_create_session()
840 auth_xform.auth.iv.length = test_vector->auth_iv.length; in cperf_create_session()
879 options, test_vector, iv_offset); in cperf_create_session()
892 test_vector->cipher_key.data; in cperf_create_session()
894 test_vector->cipher_key.length; in cperf_create_session()
896 test_vector->cipher_iv.length; in cperf_create_session()
940 test_vector->cipher_key.data; in cperf_create_session()
942 test_vector->cipher_key.length; in cperf_create_session()
944 test_vector->cipher_iv.length; in cperf_create_session()
968 test_vector->auth_key.length; in cperf_create_session()
969 auth_xform.auth.key.data = test_vector->auth_key.data; in cperf_create_session()
971 test_vector->auth_iv.length; in cperf_create_session()
998 test_vector->cipher_key.data; in cperf_create_session()
1000 test_vector->cipher_key.length; in cperf_create_session()
1002 test_vector->cipher_iv.length; in cperf_create_session()
1022 auth_xform.auth.iv.length = test_vector->auth_iv.length; in cperf_create_session()
1024 test_vector->auth_key.length; in cperf_create_session()
1026 test_vector->auth_key.data; in cperf_create_session()
1054 test_vector->aead_key.data; in cperf_create_session()
1056 test_vector->aead_key.length; in cperf_create_session()
1057 aead_xform.aead.iv.length = test_vector->aead_iv.length; in cperf_create_session()