Lines Matching refs:pz

90 ec_GFp_pt_jac2aff(const mp_int *px, const mp_int *py, const mp_int *pz,  in ec_GFp_pt_jac2aff()  argument
104 if (ec_GFp_pt_is_inf_jac(px, py, pz) == MP_YES) { in ec_GFp_pt_jac2aff()
110 if (mp_cmp_d(pz, 1) == 0) { in ec_GFp_pt_jac2aff()
114 MP_CHECKOK(group->meth->field_div(NULL, pz, &z1, group->meth)); in ec_GFp_pt_jac2aff()
131 ec_GFp_pt_is_inf_jac(const mp_int *px, const mp_int *py, const mp_int *pz) in ec_GFp_pt_is_inf_jac() argument
133 return mp_cmp_z(pz); in ec_GFp_pt_is_inf_jac()
139 ec_GFp_pt_set_inf_jac(mp_int *px, mp_int *py, mp_int *pz) in ec_GFp_pt_set_inf_jac() argument
141 mp_zero(pz); in ec_GFp_pt_set_inf_jac()
153 ec_GFp_pt_add_jac_aff(const mp_int *px, const mp_int *py, const mp_int *pz, in ec_GFp_pt_add_jac_aff() argument
175 if (ec_GFp_pt_is_inf_jac(px, py, pz) == MP_YES) { in ec_GFp_pt_add_jac_aff()
182 MP_CHECKOK(mp_copy(pz, rz)); in ec_GFp_pt_add_jac_aff()
187 MP_CHECKOK(group->meth->field_sqr(pz, &A, group->meth)); in ec_GFp_pt_add_jac_aff()
188 MP_CHECKOK(group->meth->field_mul(&A, pz, &B, group->meth)); in ec_GFp_pt_add_jac_aff()
201 MP_CHECKOK(group->meth->field_mul(pz, &C, rz, group->meth)); in ec_GFp_pt_add_jac_aff()
242 ec_GFp_pt_dbl_jac(const mp_int *px, const mp_int *py, const mp_int *pz, in ec_GFp_pt_dbl_jac() argument
257 if (ec_GFp_pt_is_inf_jac(px, py, pz) == MP_YES) { in ec_GFp_pt_dbl_jac()
262 if (mp_cmp_d(pz, 1) == 0) { in ec_GFp_pt_dbl_jac()
271 MP_CHECKOK(group->meth->field_sqr(pz, &M, group->meth)); in ec_GFp_pt_dbl_jac()
282 MP_CHECKOK(group->meth->field_sqr(pz, &M, group->meth)); in ec_GFp_pt_dbl_jac()
291 if (mp_cmp_d(pz, 1) == 0) { in ec_GFp_pt_dbl_jac()
296 MP_CHECKOK(group->meth->field_mul(&t0, pz, rz, group->meth)); in ec_GFp_pt_dbl_jac()