Lines Matching refs:n2
211 BIGNUM *n1, *n2, *order;
218 n2 = BN_new();
264 /* n2 = 1 + order */
265 if (!BN_add(n2, order, BN_value_one()))
267 if (!EC_POINT_mul(group, Q, NULL, P, n2, ctx))
272 /* n2 = (1 - order) * (1 + order) = 1 - order^2 */
273 if (!BN_mul(n2, n1, n2, ctx))
275 if (!EC_POINT_mul(group, Q, NULL, P, n2, ctx))
280 /* n2 = order^2 - 1 */
281 BN_set_negative(n2, 0);
282 if (!EC_POINT_mul(group, Q, NULL, P, n2, ctx))
295 scalars[1] = n2;
299 scalars[3] = n2;
303 scalars[5] = n2;
315 BN_free(n2);