Lines Matching refs:tmp1
28 BIGNUM *tmp1, *tmp2, *x, *y;
40 tmp1 = BN_CTX_get(ctx);
53 /* tmp1 := x^3 */
60 if (!group->meth->field_mul(group, tmp1, tmp2, x_, ctx))
65 if (!BN_mod_mul(tmp1, tmp2, x_, group->field, ctx))
69 /* tmp1 := tmp1 + a*x */
75 if (!BN_mod_sub_quick(tmp1, tmp1, tmp2, group->field))
89 if (!BN_mod_add_quick(tmp1, tmp1, tmp2, group->field))
93 /* tmp1 := tmp1 + b */
97 if (!BN_mod_add_quick(tmp1, tmp1, tmp2, group->field))
100 if (!BN_mod_add_quick(tmp1, tmp1, group->b, group->field))
105 if (!BN_mod_sqrt(y, tmp1, group->field, ctx)) {