Lines Matching refs:scalars
630 const BIGNUM **scalars = NULL;
639 || (scalars = OPENSSL_malloc(num * sizeof(BIGNUM *))) == NULL) {
660 scalars[i] = mod;
662 scalars[i] = scalar[i];
664 for (j = 0; j < bn_get_top(scalars[i]) * BN_BYTES; j += BN_BYTES) {
665 BN_ULONG d = bn_get_words(scalars[i])[j / BN_BYTES];
785 OPENSSL_free(scalars);
951 /* r = scalar*G + sum(scalars[i]*points[i]) */
957 const BIGNUM *scalars[], BN_CTX *ctx)
1137 memcpy(new_scalars, scalars, num * sizeof(BIGNUM *));
1142 scalars = new_scalars;
1152 if (!ecp_nistz256_windowed_mul(group, out, scalars, points, num, ctx))