Lines Matching refs:auth_xform
79 struct rte_crypto_sym_xform *auth_xform = NULL; in test_blockcipher_one_case() local
327 auth_xform = rte_zmalloc(NULL, in test_blockcipher_one_case()
330 if (!cipher_xform || !auth_xform) { in test_blockcipher_one_case()
345 auth_xform = cipher_xform->next; in test_blockcipher_one_case()
346 auth_xform->next = NULL; in test_blockcipher_one_case()
348 cipher_xform->next = auth_xform; in test_blockcipher_one_case()
349 auth_xform->next = NULL; in test_blockcipher_one_case()
354 auth_xform = op->sym->xform; in test_blockcipher_one_case()
355 cipher_xform = auth_xform->next; in test_blockcipher_one_case()
358 auth_xform->next = cipher_xform; in test_blockcipher_one_case()
360 init_xform = auth_xform; in test_blockcipher_one_case()
372 auth_xform = op->sym->xform; in test_blockcipher_one_case()
374 init_xform = auth_xform; in test_blockcipher_one_case()
375 auth_xform->next = NULL; in test_blockcipher_one_case()
414 auth_xform->type = RTE_CRYPTO_SYM_XFORM_AUTH; in test_blockcipher_one_case()
415 auth_xform->auth.algo = tdata->auth_algo; in test_blockcipher_one_case()
416 auth_xform->auth.key.length = tdata->auth_key.len; in test_blockcipher_one_case()
417 auth_xform->auth.key.data = auth_key; in test_blockcipher_one_case()
418 auth_xform->auth.digest_length = digest_len; in test_blockcipher_one_case()
421 auth_xform->auth.op = RTE_CRYPTO_AUTH_OP_GENERATE; in test_blockcipher_one_case()
428 auth_xform->auth.op = RTE_CRYPTO_AUTH_OP_VERIFY; in test_blockcipher_one_case()
725 if (auth_xform) in test_blockcipher_one_case()
726 rte_free(auth_xform); in test_blockcipher_one_case()