Lines Matching refs:scalar
140 const BIGNUM *scalar, const EC_POINT *point, in ossl_ec_scalar_mul_ladder() argument
215 if (!BN_copy(k, scalar)) { in ossl_ec_scalar_mul_ladder()
404 int ossl_ec_wNAF_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar, in ossl_ec_wNAF_mul() argument
438 if ((scalar != group->order) && (scalar != NULL) && (num == 0)) { in ossl_ec_wNAF_mul()
447 return ossl_ec_scalar_mul_ladder(group, r, scalar, NULL, ctx); in ossl_ec_wNAF_mul()
449 if ((scalar == NULL) && (num == 1) && (scalars[0] != group->order)) { in ossl_ec_wNAF_mul()
462 if (scalar != NULL) { in ossl_ec_wNAF_mul()
481 numblocks = (BN_num_bits(scalar) / blocksize) + 1; in ossl_ec_wNAF_mul()
528 bits = i < num ? BN_num_bits(scalars[i]) : BN_num_bits(scalar); in ossl_ec_wNAF_mul()
533 bn_compute_wNAF((i < num ? scalars[i] : scalar), wsize[i], in ossl_ec_wNAF_mul()
563 tmp_wNAF = bn_compute_wNAF(scalar, wsize[num], &tmp_len); in ossl_ec_wNAF_mul()