Lines Matching refs:scalar
225 static void felem_scalar(felem out, const u64 scalar) in felem_scalar() argument
227 out[0] *= scalar; in felem_scalar()
228 out[1] *= scalar; in felem_scalar()
229 out[2] *= scalar; in felem_scalar()
230 out[3] *= scalar; in felem_scalar()
234 static void longfelem_scalar(longfelem out, const u64 scalar) in longfelem_scalar() argument
236 out[0] *= scalar; in longfelem_scalar()
237 out[1] *= scalar; in longfelem_scalar()
238 out[2] *= scalar; in longfelem_scalar()
239 out[3] *= scalar; in longfelem_scalar()
240 out[4] *= scalar; in longfelem_scalar()
241 out[5] *= scalar; in longfelem_scalar()
242 out[6] *= scalar; in longfelem_scalar()
243 out[7] *= scalar; in longfelem_scalar()
2019 const BIGNUM *scalar, size_t num, in ossl_ec_GFp_nistp256_points_mul() argument
2051 if (scalar != NULL) { in ossl_ec_GFp_nistp256_points_mul()
2113 p_scalar = scalar; in ossl_ec_GFp_nistp256_points_mul()
2173 if ((scalar != NULL) && (have_pre_comp)) { in ossl_ec_GFp_nistp256_points_mul()
2176 if ((BN_num_bits(scalar) > 256) || (BN_is_negative(scalar))) { in ossl_ec_GFp_nistp256_points_mul()
2181 if (!BN_nnmod(tmp_scalar, scalar, group->order, ctx)) { in ossl_ec_GFp_nistp256_points_mul()
2187 num_bytes = BN_bn2lebinpad(scalar, g_secret, sizeof(g_secret)); in ossl_ec_GFp_nistp256_points_mul()