Lines Matching refs:test_vec

458 		struct cperf_test_vector *test_vec)  in cperf_check_test_vector()  argument
462 if (test_vec->plaintext.data == NULL) in cperf_check_test_vector()
465 if (test_vec->plaintext.data == NULL) in cperf_check_test_vector()
467 if (test_vec->plaintext.length < opts->max_buffer_size) in cperf_check_test_vector()
469 if (test_vec->ciphertext.data == NULL) in cperf_check_test_vector()
471 if (test_vec->ciphertext.length < opts->max_buffer_size) in cperf_check_test_vector()
475 test_vec->cipher_iv.data == NULL) in cperf_check_test_vector()
477 if (test_vec->cipher_iv.length != opts->cipher_iv_sz) in cperf_check_test_vector()
479 if (test_vec->cipher_key.data == NULL) in cperf_check_test_vector()
481 if (test_vec->cipher_key.length != opts->cipher_key_sz) in cperf_check_test_vector()
486 if (test_vec->plaintext.data == NULL) in cperf_check_test_vector()
488 if (test_vec->plaintext.length < opts->max_buffer_size) in cperf_check_test_vector()
492 test_vec->auth_key.data == NULL) in cperf_check_test_vector()
494 if (test_vec->auth_key.length != opts->auth_key_sz) in cperf_check_test_vector()
496 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()
501 if (test_vec->digest.data == NULL) in cperf_check_test_vector()
503 if (test_vec->digest.length < opts->digest_sz) in cperf_check_test_vector()
510 if (test_vec->plaintext.data == NULL) in cperf_check_test_vector()
512 if (test_vec->plaintext.length < opts->max_buffer_size) in cperf_check_test_vector()
515 if (test_vec->plaintext.data == NULL) in cperf_check_test_vector()
517 if (test_vec->plaintext.length < opts->max_buffer_size) in cperf_check_test_vector()
519 if (test_vec->ciphertext.data == NULL) in cperf_check_test_vector()
521 if (test_vec->ciphertext.length < opts->max_buffer_size) in cperf_check_test_vector()
523 if (test_vec->cipher_iv.data == NULL) in cperf_check_test_vector()
525 if (test_vec->cipher_iv.length != opts->cipher_iv_sz) in cperf_check_test_vector()
527 if (test_vec->cipher_key.data == NULL) in cperf_check_test_vector()
529 if (test_vec->cipher_key.length != opts->cipher_key_sz) in cperf_check_test_vector()
533 if (test_vec->auth_key.data == NULL) in cperf_check_test_vector()
535 if (test_vec->auth_key.length != opts->auth_key_sz) 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()
542 if (test_vec->digest.data == NULL) in cperf_check_test_vector()
544 if (test_vec->digest.length < opts->digest_sz) in cperf_check_test_vector()
548 if (test_vec->plaintext.data == NULL) in cperf_check_test_vector()
550 if (test_vec->plaintext.length < opts->max_buffer_size) in cperf_check_test_vector()
552 if (test_vec->ciphertext.data == NULL) in cperf_check_test_vector()
554 if (test_vec->ciphertext.length < opts->max_buffer_size) in cperf_check_test_vector()
556 if (test_vec->aead_key.data == NULL) in cperf_check_test_vector()
558 if (test_vec->aead_key.length != opts->aead_key_sz) in cperf_check_test_vector()
560 if (test_vec->aead_iv.data == NULL) in cperf_check_test_vector()
562 if (test_vec->aead_iv.length != opts->aead_iv_sz) in cperf_check_test_vector()
564 if (test_vec->aad.data == NULL) in cperf_check_test_vector()
566 if (test_vec->aad.length != opts->aead_aad_sz) in cperf_check_test_vector()
568 if (test_vec->digest.data == NULL) in cperf_check_test_vector()
570 if (test_vec->digest.length < opts->digest_sz) in cperf_check_test_vector()