Lines Matching refs:test_vector
18 const struct cperf_test_vector *test_vector __rte_unused, in cperf_set_ops_security()
86 const struct cperf_test_vector *test_vector __rte_unused, in cperf_set_ops_null_cipher()
125 const struct cperf_test_vector *test_vector __rte_unused, in cperf_set_ops_null_auth()
164 const struct cperf_test_vector *test_vector, in cperf_set_ops_cipher() argument
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()
220 const struct cperf_test_vector *test_vector, in cperf_set_ops_auth() argument
241 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()
251 sym_op->auth.digest.data = test_vector->digest.data; in cperf_set_ops_auth()
253 test_vector->digest.phys_addr; 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()
320 const struct cperf_test_vector *test_vector, in cperf_set_ops_cipher_auth() argument
358 sym_op->auth.digest.data = test_vector->digest.data; in cperf_set_ops_cipher_auth()
360 test_vector->digest.phys_addr; in cperf_set_ops_cipher_auth()
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()
414 if (test_vector->auth_iv.length) { in cperf_set_ops_cipher_auth()
419 iv_ptr += test_vector->cipher_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()
435 const struct cperf_test_vector *test_vector, in cperf_set_ops_aead() argument
441 RTE_ALIGN_CEIL(test_vector->aead_iv.length, 16); in cperf_set_ops_aead()
474 sym_op->aead.digest.data = test_vector->digest.data; in cperf_set_ops_aead()
476 test_vector->digest.phys_addr; in cperf_set_ops_aead()
521 memcpy(iv_ptr + 1, test_vector->aead_iv.data, in cperf_set_ops_aead()
522 test_vector->aead_iv.length); in cperf_set_ops_aead()
525 test_vector->aad.data, in cperf_set_ops_aead()
526 test_vector->aad.length); in cperf_set_ops_aead()
528 memcpy(iv_ptr, test_vector->aead_iv.data, in cperf_set_ops_aead()
529 test_vector->aead_iv.length); in cperf_set_ops_aead()
532 test_vector->aad.data, in cperf_set_ops_aead()
533 test_vector->aad.length); in cperf_set_ops_aead()
546 const struct cperf_test_vector *test_vector, in cperf_create_session() argument
569 cipher_xform.cipher.key.data = test_vector->cipher_key.data; in cperf_create_session()
570 cipher_xform.cipher.key.length = test_vector->cipher_key.length; in cperf_create_session()
588 auth_xform.auth.key.length = test_vector->auth_key.length; in cperf_create_session()
589 auth_xform.auth.key.data = test_vector->auth_key.data; in cperf_create_session()
590 auth_xform.auth.iv.length = test_vector->auth_iv.length; in cperf_create_session()
636 test_vector->cipher_key.data; in cperf_create_session()
638 test_vector->cipher_key.length; in cperf_create_session()
640 test_vector->cipher_iv.length; in cperf_create_session()
684 test_vector->cipher_key.data; in cperf_create_session()
686 test_vector->cipher_key.length; in cperf_create_session()
688 test_vector->cipher_iv.length; in cperf_create_session()
712 test_vector->auth_key.length; in cperf_create_session()
713 auth_xform.auth.key.data = test_vector->auth_key.data; in cperf_create_session()
715 test_vector->auth_iv.length; in cperf_create_session()
742 test_vector->cipher_key.data; in cperf_create_session()
744 test_vector->cipher_key.length; in cperf_create_session()
746 test_vector->cipher_iv.length; in cperf_create_session()
766 auth_xform.auth.iv.length = test_vector->auth_iv.length; in cperf_create_session()
768 test_vector->auth_key.length; in cperf_create_session()
770 test_vector->auth_key.data; in cperf_create_session()
798 test_vector->aead_key.data; in cperf_create_session()
800 test_vector->aead_key.length; in cperf_create_session()
801 aead_xform.aead.iv.length = test_vector->aead_iv.length; in cperf_create_session()