Lines Matching refs:tmp1
77 BIGNUM *tmp1, *tmp2, *x, *y;
92 tmp1 = BN_CTX_get(ctx);
105 /* tmp1 := x^3 */
112 if (!group->meth->field_mul(group, tmp1, tmp2, x_, ctx))
117 if (!BN_mod_mul(tmp1, tmp2, x_, &group->field, ctx))
121 /* tmp1 := tmp1 + a*x */
127 if (!BN_mod_sub_quick(tmp1, tmp1, tmp2, &group->field))
141 if (!BN_mod_add_quick(tmp1, tmp1, tmp2, &group->field))
145 /* tmp1 := tmp1 + b */
149 if (!BN_mod_add_quick(tmp1, tmp1, tmp2, &group->field))
152 if (!BN_mod_add_quick(tmp1, tmp1, &group->b, &group->field))
156 if (!BN_mod_sqrt(y, tmp1, &group->field, ctx)) {