Lines Matching defs:ry
150 mp_int one, order_1, gx, gy, rx, ry, n;
161 MP_CHECKOK(mp_init(&ry, kmflag));
195 (&order_1, &group->genx, &group->geny, &rx, &ry, group));
200 MP_CHECKOK(mp_toradix(&ry, s, 16));
203 MP_CHECKOK(group->meth->field_neg(&ry, &ry, group->meth));
205 || (mp_cmp(&ry, &group->geny) != 0)) {
216 (&order_1, &group->genx, &group->geny, &rx, &ry, group));
221 MP_CHECKOK(mp_toradix(&ry, s, 16));
224 MP_CHECKOK(group->meth->field_neg(&ry, &ry, group->meth));
226 || (mp_cmp(&ry, &group->geny) != 0)) {
235 MP_CHECKOK(ECPoint_mul(group, &order_1, NULL, NULL, &rx, &ry));
240 MP_CHECKOK(mp_toradix(&ry, s, 16));
243 MP_CHECKOK(mp_submod(&group->meth->irr, &ry, &group->meth->irr, &ry));
244 if ((mp_cmp(&rx, &gx) != 0) || (mp_cmp(&ry, &gy) != 0)) {
252 MP_CHECKOK(ECPoint_mul(group, &order_1, &gx, &gy, &rx, &ry));
257 MP_CHECKOK(mp_toradix(&ry, s, 16));
260 MP_CHECKOK(mp_submod(&group->meth->irr, &ry, &group->meth->irr, &ry));
261 if ((mp_cmp(&rx, &gx) != 0) || (mp_cmp(&ry, &gy) != 0)) {
270 (&group->order, &group->genx, &group->geny, &rx, &ry,
276 MP_CHECKOK(mp_toradix(&ry, s, 16));
279 if (ec_GFp_pt_is_inf_aff(&rx, &ry) != MP_YES) {
289 (&group->order, &group->genx, &group->geny, &rx, &ry,
295 MP_CHECKOK(mp_toradix(&ry, s, 16));
298 if (ec_GFp_pt_is_inf_aff(&rx, &ry) != MP_YES) {
306 MP_CHECKOK(ECPoint_mul(group, &group->order, NULL, NULL, &rx, &ry));
311 MP_CHECKOK(mp_toradix(&ry, s, 16));
314 if (ec_GFp_pt_is_inf_aff(&rx, &ry) != MP_YES) {
321 MP_CHECKOK(ECPoint_mul(group, &group->order, &gx, &gy, &rx, &ry));
326 MP_CHECKOK(mp_toradix(&ry, s, 16));
329 if (ec_GFp_pt_is_inf_aff(&rx, &ry) != MP_YES) {
337 (group, &order_1, &order_1, &gx, &gy, &rx, &ry));
338 MP_CHECKOK(ECPoints_mul(group, &one, &one, &rx, &ry, &rx, &ry));
344 MP_CHECKOK(mp_toradix(&ry, s, 16));
347 MP_CHECKOK(mp_submod(&group->meth->irr, &ry, &group->meth->irr, &ry));
348 if ((mp_cmp(&rx, &gx) != 0) || (mp_cmp(&ry, &gy) != 0)) {
360 MP_CHECKOK(mp_add_d(&gy, 1, &ry));
361 if (ECPoint_validate(group, &gx, &ry) != MP_NO) {
380 (&n, &group->genx, &group->geny, &rx, &ry,
384 (ECPoint_mul(group, &n, NULL, NULL, &rx, &ry)),
388 (group, &n, &n, &gx, &gy, &rx, &ry)), 100);
391 (ECPoint_mul(group, &n, NULL, NULL, &rx, &ry)),
394 (ECPoint_mul(group, &n, &gx, &gy, &rx, &ry)),
398 (group, &n, &n, &gx, &gy, &rx, &ry)), 100);
408 mp_clear(&ry);