Lines Matching refs:scalar
194 static void felem_scalar(felem out, const felem in, limb scalar) in felem_scalar() argument
199 out[i] = in[i] * scalar; in felem_scalar()
203 static void felem_scalar64(felem out, limb scalar) in felem_scalar64() argument
208 out[i] *= scalar; in felem_scalar64()
212 static void felem_scalar128(widefelem out, limb scalar) in felem_scalar128() argument
217 out[i] *= scalar; in felem_scalar128()
1700 const BIGNUM *scalar, size_t num, in ossl_ec_GFp_nistp384_points_mul() argument
1731 if (scalar != NULL) { in ossl_ec_GFp_nistp384_points_mul()
1792 p_scalar = scalar; in ossl_ec_GFp_nistp384_points_mul()
1845 if (scalar != NULL && have_pre_comp) { in ossl_ec_GFp_nistp384_points_mul()
1848 if ((BN_num_bits(scalar) > 384) || (BN_is_negative(scalar))) { in ossl_ec_GFp_nistp384_points_mul()
1853 if (!BN_nnmod(tmp_scalar, scalar, group->order, ctx)) { in ossl_ec_GFp_nistp384_points_mul()
1859 num_bytes = BN_bn2lebinpad(scalar, g_secret, sizeof(g_secret)); in ossl_ec_GFp_nistp384_points_mul()