Lines Matching refs:result_op

75 	struct rte_crypto_op *op, *result_op;  in queue_ops_rsa_sign_verify()  local
114 while (rte_cryptodev_dequeue_burst(dev_id, 0, &result_op, 1) == 0) in queue_ops_rsa_sign_verify()
117 if (result_op == NULL) { in queue_ops_rsa_sign_verify()
125 asym_op = result_op->asym; in queue_ops_rsa_sign_verify()
138 while (rte_cryptodev_dequeue_burst(dev_id, 0, &result_op, 1) == 0) in queue_ops_rsa_sign_verify()
141 if (result_op == NULL) { in queue_ops_rsa_sign_verify()
148 if (result_op->status != RTE_CRYPTO_OP_STATUS_SUCCESS) { in queue_ops_rsa_sign_verify()
166 struct rte_crypto_op *op, *result_op; in queue_ops_rsa_enc_dec() local
205 while (rte_cryptodev_dequeue_burst(dev_id, 0, &result_op, 1) == 0) in queue_ops_rsa_enc_dec()
208 if (result_op == NULL) { in queue_ops_rsa_enc_dec()
217 asym_op = result_op->asym; in queue_ops_rsa_enc_dec()
229 while (rte_cryptodev_dequeue_burst(dev_id, 0, &result_op, 1) == 0) in queue_ops_rsa_enc_dec()
232 if (result_op == NULL) { in queue_ops_rsa_enc_dec()
238 ret = rsa_verify(&rsaplaintext, result_op); in queue_ops_rsa_enc_dec()
252 struct rte_crypto_op *result_op) in test_cryptodev_asym_ver() argument
262 data_received = result_op->asym->modex.result.data; in test_cryptodev_asym_ver()
263 data_size = result_op->asym->modex.result.length; in test_cryptodev_asym_ver()
267 data_received = result_op->asym->modinv.result.data; in test_cryptodev_asym_ver()
268 data_size = result_op->asym->modinv.result.length; in test_cryptodev_asym_ver()
273 data_received = result_op->asym->rsa.cipher.data; in test_cryptodev_asym_ver()
278 data_received = result_op->asym->rsa.message.data; in test_cryptodev_asym_ver()
282 data_received = result_op->asym->rsa.sign.data; in test_cryptodev_asym_ver()
286 data_received = result_op->asym->rsa.cipher.data; in test_cryptodev_asym_ver()
311 struct rte_crypto_op *result_op = NULL; in test_cryptodev_asym_op() local
482 while (rte_cryptodev_dequeue_burst(dev_id, 0, &result_op, 1) == 0) in test_cryptodev_asym_op()
485 if (result_op == NULL) { in test_cryptodev_asym_op()
493 if (test_cryptodev_asym_ver(op, &xform_tc, data_tc, result_op) != TEST_SUCCESS) { in test_cryptodev_asym_op()
1047 struct rte_crypto_op *op = NULL, *result_op = NULL; in test_dh_gen_shared_sec() local
1099 while (rte_cryptodev_dequeue_burst(dev_id, 0, &result_op, 1) == 0) in test_dh_gen_shared_sec()
1102 if (result_op == NULL) { in test_dh_gen_shared_sec()
1130 struct rte_crypto_op *op = NULL, *result_op = NULL; in test_dh_gen_priv_key() local
1177 while (rte_cryptodev_dequeue_burst(dev_id, 0, &result_op, 1) == 0) in test_dh_gen_priv_key()
1180 if (result_op == NULL) { in test_dh_gen_priv_key()
1211 struct rte_crypto_op *op = NULL, *result_op = NULL; in test_dh_gen_pub_key() local
1266 while (rte_cryptodev_dequeue_burst(dev_id, 0, &result_op, 1) == 0) in test_dh_gen_pub_key()
1269 if (result_op == NULL) { in test_dh_gen_pub_key()
1300 struct rte_crypto_op *op = NULL, *result_op = NULL; in test_dh_gen_kp() local
1355 while (rte_cryptodev_dequeue_burst(dev_id, 0, &result_op, 1) == 0) in test_dh_gen_kp()
1358 if (result_op == NULL) { in test_dh_gen_kp()
1387 struct rte_crypto_op *op = NULL, *result_op = NULL; in test_mod_inv() local
1462 while (rte_cryptodev_dequeue_burst(dev_id, 0, &result_op, 1) == 0) in test_mod_inv()
1465 if (result_op == NULL) { in test_mod_inv()
1473 ret = verify_modinv(mod_inv, result_op); in test_mod_inv()
1500 struct rte_crypto_op *op = NULL, *result_op = NULL; in test_mod_exp() local
1574 while (rte_cryptodev_dequeue_burst(dev_id, 0, &result_op, 1) == 0) in test_mod_exp()
1577 if (result_op == NULL) { in test_mod_exp()
1585 ret = verify_modexp(mod_exp, result_op); in test_mod_exp()
1649 struct rte_crypto_op *op = NULL, *result_op = NULL; in test_dsa_sign() local
1707 while (rte_cryptodev_dequeue_burst(dev_id, 0, &result_op, 1) == 0) in test_dsa_sign()
1710 if (result_op == NULL) { in test_dsa_sign()
1718 asym_op = result_op->asym; in test_dsa_sign()
1741 while (rte_cryptodev_dequeue_burst(dev_id, 0, &result_op, 1) == 0) in test_dsa_sign()
1744 if (result_op == NULL) { in test_dsa_sign()
1752 if (result_op->status != RTE_CRYPTO_OP_STATUS_SUCCESS) { in test_dsa_sign()
1784 struct rte_crypto_op *result_op = NULL; in test_ecdsa_sign_verify() local
1874 while (rte_cryptodev_dequeue_burst(dev_id, 0, &result_op, 1) == 0) in test_ecdsa_sign_verify()
1877 if (result_op == NULL) { in test_ecdsa_sign_verify()
1885 if (result_op->status != RTE_CRYPTO_OP_STATUS_SUCCESS) { in test_ecdsa_sign_verify()
1893 asym_op = result_op->asym; in test_ecdsa_sign_verify()
1901 input_params.sign_s.data, result_op); in test_ecdsa_sign_verify()
1932 while (rte_cryptodev_dequeue_burst(dev_id, 0, &result_op, 1) == 0) in test_ecdsa_sign_verify()
1935 if (result_op == NULL) { in test_ecdsa_sign_verify()
1939 if (result_op->status != RTE_CRYPTO_OP_STATUS_SUCCESS) { in test_ecdsa_sign_verify()
1986 struct rte_crypto_op *result_op = NULL; in test_ecpm() local
2073 while (rte_cryptodev_dequeue_burst(dev_id, 0, &result_op, 1) == 0) in test_ecpm()
2076 if (result_op == NULL) { in test_ecpm()
2084 if (result_op->status != RTE_CRYPTO_OP_STATUS_SUCCESS) { in test_ecpm()
2092 asym_op = result_op->asym; in test_ecpm()
2100 input_params.pubkey_y.data, result_op); in test_ecpm()