Lines Matching refs:cipher_xform

80 	struct rte_crypto_sym_xform *cipher_xform = NULL;  in test_blockcipher_one_case()  local
371 cipher_xform = rte_zmalloc(NULL, in test_blockcipher_one_case()
377 if (!cipher_xform || !auth_xform) { in test_blockcipher_one_case()
391 cipher_xform = op->sym->xform; in test_blockcipher_one_case()
392 auth_xform = cipher_xform->next; in test_blockcipher_one_case()
395 cipher_xform->next = auth_xform; in test_blockcipher_one_case()
397 init_xform = cipher_xform; in test_blockcipher_one_case()
402 cipher_xform = auth_xform->next; in test_blockcipher_one_case()
403 cipher_xform->next = NULL; in test_blockcipher_one_case()
405 auth_xform->next = cipher_xform; in test_blockcipher_one_case()
406 cipher_xform->next = NULL; in test_blockcipher_one_case()
412 cipher_xform = auth_xform->next; in test_blockcipher_one_case()
413 cipher_xform->next = NULL; in test_blockcipher_one_case()
415 auth_xform->next = cipher_xform; in test_blockcipher_one_case()
416 cipher_xform->next = NULL; in test_blockcipher_one_case()
421 cipher_xform = op->sym->xform; in test_blockcipher_one_case()
422 auth_xform = cipher_xform->next; in test_blockcipher_one_case()
425 cipher_xform->next = auth_xform; in test_blockcipher_one_case()
427 init_xform = cipher_xform; in test_blockcipher_one_case()
432 cipher_xform = op->sym->xform; in test_blockcipher_one_case()
434 init_xform = cipher_xform; in test_blockcipher_one_case()
435 cipher_xform->next = NULL; in test_blockcipher_one_case()
453 cipher_xform->type = RTE_CRYPTO_SYM_XFORM_CIPHER; in test_blockcipher_one_case()
454 cipher_xform->cipher.algo = tdata->crypto_algo; in test_blockcipher_one_case()
456 cipher_xform->cipher.op = in test_blockcipher_one_case()
459 cipher_xform->cipher.op = in test_blockcipher_one_case()
461 cipher_xform->cipher.key.data = cipher_key; in test_blockcipher_one_case()
462 cipher_xform->cipher.key.length = tdata->cipher_key.len; in test_blockcipher_one_case()
463 cipher_xform->cipher.iv.offset = IV_OFFSET; in test_blockcipher_one_case()
464 cipher_xform->cipher.dataunit_len = tdata->xts_dataunit_len; in test_blockcipher_one_case()
467 cipher_xform->cipher.iv.length = 0; in test_blockcipher_one_case()
469 cipher_xform->cipher.iv.length = tdata->iv.len; in test_blockcipher_one_case()
810 rte_free(cipher_xform); in test_blockcipher_one_case()