Lines Matching refs:scalars
132 fprintf(stdout, "%d-bit scalars ", (int)BN_num_bits(s));
663 const BIGNUM *scalars[3];
673 scalars[0] = y; /* (group order + 1)/2, so y*Q + y*Q = Q */
674 scalars[1] = y;
680 if (!EC_POINTs_mul(group, P, NULL, 2, points, scalars, ctx)) ABORT;
681 if (!EC_POINTs_mul(group, R, z, 2, points, scalars, ctx)) ABORT;
691 scalars[0] = y;
692 scalars[1] = z; /* z = -(order + y) */
694 if (!EC_POINTs_mul(group, P, NULL, 2, points, scalars, ctx)) ABORT;
703 scalars[0] = x;
704 scalars[1] = y;
705 scalars[2] = z; /* z = -(x+y) */
707 if (!EC_POINTs_mul(group, P, NULL, 3, points, scalars, ctx)) ABORT;
1138 const BIGNUM *scalars[3];
1148 scalars[0] = y; /* (group order + 1)/2, so y*Q + y*Q = Q */
1149 scalars[1] = y;
1155 if (!EC_POINTs_mul(group, P, NULL, 2, points, scalars, ctx)) ABORT;
1156 if (!EC_POINTs_mul(group, R, z, 2, points, scalars, ctx)) ABORT;
1166 scalars[0] = y;
1167 scalars[1] = z; /* z = -(order + y) */
1169 if (!EC_POINTs_mul(group, P, NULL, 2, points, scalars, ctx)) ABORT;
1178 scalars[0] = x;
1179 scalars[1] = y;
1180 scalars[2] = z; /* z = -(x+y) */
1182 if (!EC_POINTs_mul(group, P, NULL, 3, points, scalars, ctx)) ABORT;