Lines Matching refs:scalars
621 const BIGNUM **scalars = NULL; in ecp_nistz256_windowed_mul() local
630 || (scalars = OPENSSL_malloc(num * sizeof(BIGNUM *))) == NULL) in ecp_nistz256_windowed_mul()
649 scalars[i] = mod; in ecp_nistz256_windowed_mul()
651 scalars[i] = scalar[i]; in ecp_nistz256_windowed_mul()
653 for (j = 0; j < bn_get_top(scalars[i]) * BN_BYTES; j += BN_BYTES) { in ecp_nistz256_windowed_mul()
654 BN_ULONG d = bn_get_words(scalars[i])[j / BN_BYTES]; in ecp_nistz256_windowed_mul()
774 OPENSSL_free(scalars); in ecp_nistz256_windowed_mul()
944 const BIGNUM *scalars[], BN_CTX *ctx) in ecp_nistz256_points_mul() argument
1120 memcpy(new_scalars, scalars, num * sizeof(BIGNUM *)); in ecp_nistz256_points_mul()
1125 scalars = new_scalars; in ecp_nistz256_points_mul()
1135 if (!ecp_nistz256_windowed_mul(group, out, scalars, points, num, ctx)) in ecp_nistz256_points_mul()