Lines Matching refs:test_vec
387 struct cperf_test_vector *test_vec) in cperf_check_test_vector() argument
391 if (test_vec->plaintext.data == NULL) in cperf_check_test_vector()
394 if (test_vec->plaintext.data == NULL) in cperf_check_test_vector()
396 if (test_vec->plaintext.length < opts->max_buffer_size) in cperf_check_test_vector()
398 if (test_vec->ciphertext.data == NULL) in cperf_check_test_vector()
400 if (test_vec->ciphertext.length < opts->max_buffer_size) in cperf_check_test_vector()
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()
408 if (test_vec->cipher_key.data == NULL) in cperf_check_test_vector()
410 if (test_vec->cipher_key.length != opts->cipher_key_sz) in cperf_check_test_vector()
415 if (test_vec->plaintext.data == NULL) in cperf_check_test_vector()
417 if (test_vec->plaintext.length < opts->max_buffer_size) in cperf_check_test_vector()
421 test_vec->auth_key.data == NULL) in cperf_check_test_vector()
423 if (test_vec->auth_key.length != opts->auth_key_sz) in cperf_check_test_vector()
425 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()
430 if (test_vec->digest.data == NULL) in cperf_check_test_vector()
432 if (test_vec->digest.length < opts->digest_sz) in cperf_check_test_vector()
439 if (test_vec->plaintext.data == NULL) in cperf_check_test_vector()
441 if (test_vec->plaintext.length < opts->max_buffer_size) in cperf_check_test_vector()
444 if (test_vec->plaintext.data == NULL) in cperf_check_test_vector()
446 if (test_vec->plaintext.length < opts->max_buffer_size) in cperf_check_test_vector()
448 if (test_vec->ciphertext.data == NULL) in cperf_check_test_vector()
450 if (test_vec->ciphertext.length < opts->max_buffer_size) 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()
456 if (test_vec->cipher_key.data == NULL) in cperf_check_test_vector()
458 if (test_vec->cipher_key.length != opts->cipher_key_sz) in cperf_check_test_vector()
462 if (test_vec->auth_key.data == NULL) in cperf_check_test_vector()
464 if (test_vec->auth_key.length != opts->auth_key_sz) 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()
471 if (test_vec->digest.data == NULL) in cperf_check_test_vector()
473 if (test_vec->digest.length < opts->digest_sz) in cperf_check_test_vector()
477 if (test_vec->plaintext.data == NULL) in cperf_check_test_vector()
479 if (test_vec->plaintext.length < opts->max_buffer_size) in cperf_check_test_vector()
481 if (test_vec->ciphertext.data == NULL) in cperf_check_test_vector()
483 if (test_vec->ciphertext.length < opts->max_buffer_size) in cperf_check_test_vector()
485 if (test_vec->aead_key.data == NULL) in cperf_check_test_vector()
487 if (test_vec->aead_key.length != opts->aead_key_sz) in cperf_check_test_vector()
489 if (test_vec->aead_iv.data == NULL) in cperf_check_test_vector()
491 if (test_vec->aead_iv.length != opts->aead_iv_sz) in cperf_check_test_vector()
493 if (test_vec->aad.data == NULL) in cperf_check_test_vector()
495 if (test_vec->aad.length != opts->aead_aad_sz) in cperf_check_test_vector()
497 if (test_vec->digest.data == NULL) in cperf_check_test_vector()
499 if (test_vec->digest.length < opts->digest_sz) in cperf_check_test_vector()