Home
last modified time | relevance | path

Searched refs:tempy (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/common/crypto/ecc/
H A Decp_aff.c88 mp_int lambda, temp, tempx, tempy; in ec_GFp_pt_add_aff() local
93 MP_DIGITS(&tempy) = 0; in ec_GFp_pt_add_aff()
97 MP_CHECKOK(mp_init(&tempy, FLAG(px))); in ec_GFp_pt_add_aff()
114 MP_CHECKOK(group->meth->field_sub(py, qy, &tempy, group->meth)); in ec_GFp_pt_add_aff()
117 field_div(&tempy, &tempx, &lambda, group->meth)); in ec_GFp_pt_add_aff()
140 MP_CHECKOK(group->meth->field_mul(qy, &temp, &tempy, group->meth)); in ec_GFp_pt_add_aff()
142 field_div(&tempx, &tempy, &lambda, group->meth)); in ec_GFp_pt_add_aff()
149 MP_CHECKOK(group->meth->field_sub(qx, &tempx, &tempy, group->meth)); in ec_GFp_pt_add_aff()
151 field_mul(&tempy, &lambda, &tempy, group->meth)); in ec_GFp_pt_add_aff()
152 MP_CHECKOK(group->meth->field_sub(&tempy, qy, &tempy, group->meth)); in ec_GFp_pt_add_aff()
[all …]
H A Dec2_aff.c82 mp_int lambda, tempx, tempy; in ec_GF2m_pt_add_aff() local
86 MP_DIGITS(&tempy) = 0; in ec_GF2m_pt_add_aff()
89 MP_CHECKOK(mp_init(&tempy, FLAG(px))); in ec_GF2m_pt_add_aff()
107 MP_CHECKOK(group->meth->field_add(py, qy, &tempy, group->meth)); in ec_GF2m_pt_add_aff()
110 field_div(&tempy, &tempx, &lambda, group->meth)); in ec_GF2m_pt_add_aff()
140 MP_CHECKOK(group->meth->field_add(qx, &tempx, &tempy, group->meth)); in ec_GF2m_pt_add_aff()
142 field_mul(&tempy, &lambda, &tempy, group->meth)); in ec_GF2m_pt_add_aff()
144 field_add(&tempy, &tempx, &tempy, group->meth)); in ec_GF2m_pt_add_aff()
145 MP_CHECKOK(group->meth->field_add(&tempy, qy, ry, group->meth)); in ec_GF2m_pt_add_aff()
152 mp_clear(&tempy); in ec_GF2m_pt_add_aff()