Lines Matching defs:ry

151 	mp_int one, order_1, gx, gy, rx, ry, n;
162 MP_CHECKOK(mp_init(&ry, kmflag));
197 (&order_1, &group->genx, &group->geny, &rx, &ry, group));
202 MP_CHECKOK(mp_toradix(&ry, s, 16));
205 MP_CHECKOK(group->meth->field_add(&ry, &rx, &ry, group->meth));
207 || (mp_cmp(&ry, &group->geny) != 0)) {
217 (&order_1, &group->genx, &group->geny, &rx, &ry, group));
222 MP_CHECKOK(mp_toradix(&ry, s, 16));
225 MP_CHECKOK(group->meth->field_add(&ry, &rx, &ry, group->meth));
227 || (mp_cmp(&ry, &group->geny) != 0)) {
237 (&order_1, &group->genx, &group->geny, &rx, &ry, group));
242 MP_CHECKOK(mp_toradix(&ry, s, 16));
245 MP_CHECKOK(group->meth->field_add(&ry, &rx, &ry, group->meth));
247 || (mp_cmp(&ry, &group->geny) != 0)) {
256 MP_CHECKOK(ECPoint_mul(group, &order_1, NULL, NULL, &rx, &ry));
261 MP_CHECKOK(mp_toradix(&ry, 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));
278 MP_CHECKOK(mp_toradix(&ry, 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,
297 MP_CHECKOK(mp_toradix(&ry, s, 16));
300 if (ec_GF2m_pt_is_inf_aff(&rx, &ry) != MP_YES) {
309 (&group->order, &group->genx, &group->geny, &rx, &ry,
315 MP_CHECKOK(mp_toradix(&ry, s, 16));
318 if (ec_GF2m_pt_is_inf_aff(&rx, &ry) != MP_YES) {
327 (&group->order, &group->genx, &group->geny, &rx, &ry,
333 MP_CHECKOK(mp_toradix(&ry, 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));
349 MP_CHECKOK(mp_toradix(&ry, 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));
364 MP_CHECKOK(mp_toradix(&ry, 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));
382 MP_CHECKOK(mp_toradix(&ry, 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)) {
398 MP_CHECKOK(mp_add_d(&gy, 1, &ry));
399 if (ECPoint_validate(group, &gx, &ry) != MP_NO) {
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);
446 mp_clear(&ry);