Lines Matching refs:cipher_xform

78 	struct rte_crypto_sym_xform *cipher_xform = NULL;  in test_blockcipher_one_case()  local
324 cipher_xform = rte_zmalloc(NULL, in test_blockcipher_one_case()
330 if (!cipher_xform || !auth_xform) { in test_blockcipher_one_case()
344 cipher_xform = op->sym->xform; in test_blockcipher_one_case()
345 auth_xform = cipher_xform->next; in test_blockcipher_one_case()
348 cipher_xform->next = auth_xform; in test_blockcipher_one_case()
350 init_xform = cipher_xform; in test_blockcipher_one_case()
355 cipher_xform = auth_xform->next; in test_blockcipher_one_case()
356 cipher_xform->next = NULL; in test_blockcipher_one_case()
358 auth_xform->next = cipher_xform; in test_blockcipher_one_case()
359 cipher_xform->next = NULL; in test_blockcipher_one_case()
365 cipher_xform = op->sym->xform; in test_blockcipher_one_case()
367 init_xform = cipher_xform; in test_blockcipher_one_case()
368 cipher_xform->next = NULL; in test_blockcipher_one_case()
386 cipher_xform->type = RTE_CRYPTO_SYM_XFORM_CIPHER; in test_blockcipher_one_case()
387 cipher_xform->cipher.algo = tdata->crypto_algo; in test_blockcipher_one_case()
389 cipher_xform->cipher.op = in test_blockcipher_one_case()
392 cipher_xform->cipher.op = in test_blockcipher_one_case()
394 cipher_xform->cipher.key.data = cipher_key; in test_blockcipher_one_case()
395 cipher_xform->cipher.key.length = tdata->cipher_key.len; in test_blockcipher_one_case()
396 cipher_xform->cipher.iv.offset = IV_OFFSET; in test_blockcipher_one_case()
399 cipher_xform->cipher.iv.length = 0; in test_blockcipher_one_case()
401 cipher_xform->cipher.iv.length = tdata->iv.len; in test_blockcipher_one_case()
723 if (cipher_xform) in test_blockcipher_one_case()
724 rte_free(cipher_xform); in test_blockcipher_one_case()