Lines Matching refs:scalar
468 static void felem_scalar(felem out, const limb scalar) in felem_scalar() argument
470 out[0] *= scalar; in felem_scalar()
471 out[1] *= scalar; in felem_scalar()
472 out[2] *= scalar; in felem_scalar()
473 out[3] *= scalar; in felem_scalar()
480 static void widefelem_scalar(widefelem out, const widelimb scalar) in widefelem_scalar() argument
482 out[0] *= scalar; in widefelem_scalar()
483 out[1] *= scalar; in widefelem_scalar()
484 out[2] *= scalar; in widefelem_scalar()
485 out[3] *= scalar; in widefelem_scalar()
486 out[4] *= scalar; in widefelem_scalar()
487 out[5] *= scalar; in widefelem_scalar()
488 out[6] *= scalar; in widefelem_scalar()
1406 const BIGNUM *scalar, size_t num, in ossl_ec_GFp_nistp224_points_mul() argument
1437 if (scalar != NULL) { in ossl_ec_GFp_nistp224_points_mul()
1495 p_scalar = scalar; in ossl_ec_GFp_nistp224_points_mul()
1553 if ((scalar != NULL) && (have_pre_comp)) { in ossl_ec_GFp_nistp224_points_mul()
1556 if ((BN_num_bits(scalar) > 224) || (BN_is_negative(scalar))) { in ossl_ec_GFp_nistp224_points_mul()
1561 if (!BN_nnmod(tmp_scalar, scalar, group->order, ctx)) { in ossl_ec_GFp_nistp224_points_mul()
1567 num_bytes = BN_bn2lebinpad(scalar, g_secret, sizeof(g_secret)); in ossl_ec_GFp_nistp224_points_mul()