Lines Matching refs:rx

151 	mp_int one, order_1, gx, gy, rx, ry, n;
161 MP_CHECKOK(mp_init(&rx, kmflag));
197 (&order_1, &group->genx, &group->geny, &rx, &ry, group));
200 MP_CHECKOK(mp_toradix(&rx, s, 16));
205 MP_CHECKOK(group->meth->field_add(&ry, &rx, &ry, group->meth));
206 if ((mp_cmp(&rx, &group->genx) != 0)
217 (&order_1, &group->genx, &group->geny, &rx, &ry, group));
220 MP_CHECKOK(mp_toradix(&rx, s, 16));
225 MP_CHECKOK(group->meth->field_add(&ry, &rx, &ry, group->meth));
226 if ((mp_cmp(&rx, &group->genx) != 0)
237 (&order_1, &group->genx, &group->geny, &rx, &ry, group));
240 MP_CHECKOK(mp_toradix(&rx, s, 16));
245 MP_CHECKOK(group->meth->field_add(&ry, &rx, &ry, group->meth));
246 if ((mp_cmp(&rx, &group->genx) != 0)
256 MP_CHECKOK(ECPoint_mul(group, &order_1, NULL, NULL, &rx, &ry));
259 MP_CHECKOK(mp_toradix(&rx, s, 16));
264 MP_CHECKOK(ec_GF2m_add(&ry, &rx, &ry, group->meth));
265 if ((mp_cmp(&rx, &gx) != 0) || (mp_cmp(&ry, &gy) != 0)) {
273 MP_CHECKOK(ECPoint_mul(group, &order_1, &gx, &gy, &rx, &ry));
276 MP_CHECKOK(mp_toradix(&rx, s, 16));
281 MP_CHECKOK(ec_GF2m_add(&ry, &rx, &ry, group->meth));
282 if ((mp_cmp(&rx, &gx) != 0) || (mp_cmp(&ry, &gy) != 0)) {
291 (&group->order, &group->genx, &group->geny, &rx, &ry,
295 MP_CHECKOK(mp_toradix(&rx, s, 16));
300 if (ec_GF2m_pt_is_inf_aff(&rx, &ry) != MP_YES) {
309 (&group->order, &group->genx, &group->geny, &rx, &ry,
313 MP_CHECKOK(mp_toradix(&rx, s, 16));
318 if (ec_GF2m_pt_is_inf_aff(&rx, &ry) != MP_YES) {
327 (&group->order, &group->genx, &group->geny, &rx, &ry,
331 MP_CHECKOK(mp_toradix(&rx, s, 16));
336 if (ec_GF2m_pt_is_inf_aff(&rx, &ry) != MP_YES) {
344 MP_CHECKOK(ECPoint_mul(group, &group->order, NULL, NULL, &rx, &ry));
347 MP_CHECKOK(mp_toradix(&rx, s, 16));
352 if (ec_GF2m_pt_is_inf_aff(&rx, &ry) != MP_YES) {
359 MP_CHECKOK(ECPoint_mul(group, &group->order, &gx, &gy, &rx, &ry));
362 MP_CHECKOK(mp_toradix(&rx, s, 16));
367 if (ec_GF2m_pt_is_inf_aff(&rx, &ry) != MP_YES) {
375 (group, &order_1, &order_1, &gx, &gy, &rx, &ry));
376 MP_CHECKOK(ECPoints_mul(group, &one, &one, &rx, &ry, &rx, &ry));
380 MP_CHECKOK(mp_toradix(&rx, s, 16));
385 MP_CHECKOK(ec_GF2m_add(&ry, &rx, &ry, group->meth));
386 if ((mp_cmp(&rx, &gx) != 0) || (mp_cmp(&ry, &gy) != 0)) {
418 (&n, &group->genx, &group->geny, &rx, &ry,
422 (ECPoint_mul(group, &n, NULL, NULL, &rx, &ry)),
426 (group, &n, &n, &gx, &gy, &rx, &ry)), 100);
429 (ECPoint_mul(group, &n, NULL, NULL, &rx, &ry)),
432 (ECPoint_mul(group, &n, &gx, &gy, &rx, &ry)),
436 (group, &n, &n, &gx, &gy, &rx, &ry)), 100);
445 mp_clear(&rx);