Lines Matching refs:res
103 struct ecc_point res = ECC_POINT_INIT(x1, y1, ndigits);
120 /* res = u1*G + u2 * pub_key */
121 ecc_point_mult_shamir(&res, u1, &curve->g, u2, &ctx->pub_key, curve);
123 /* res.x = res.x mod n (if res.x > order) */
124 if (unlikely(vli_cmp(res.x, curve->n, ndigits) == 1))
126 vli_sub(res.x, res.x, curve->n, ndigits);
128 if (!vli_cmp(res.x, r, ndigits))