Lines Matching refs:g_scalar
1507 const unsigned num_points, const u8 *g_scalar, in batch_mul() argument
1510 unsigned num, gen_mul = (g_scalar != NULL); in batch_mul()
1534 bits = get_bit(g_scalar, i + 224) << 3; in batch_mul()
1535 bits |= get_bit(g_scalar, i + 160) << 2; in batch_mul()
1536 bits |= get_bit(g_scalar, i + 96) << 1; in batch_mul()
1537 bits |= get_bit(g_scalar, i + 32); in batch_mul()
1553 bits = get_bit(g_scalar, i + 192) << 3; in batch_mul()
1554 bits |= get_bit(g_scalar, i + 128) << 2; in batch_mul()
1555 bits |= get_bit(g_scalar, i + 64) << 1; in batch_mul()
1556 bits |= get_bit(g_scalar, i); in batch_mul()
1705 const BIGNUM *g_scalar, const EC_POINT *p_, in ec_GFp_nistp256_points_mul() argument
1772 p_scalar = g_scalar; in ec_GFp_nistp256_points_mul()
1821 if (g_scalar != NULL) { in ec_GFp_nistp256_points_mul()
1824 if (BN_num_bits(g_scalar) > 256 || BN_is_negative(g_scalar)) { in ec_GFp_nistp256_points_mul()
1827 if (!BN_nnmod(tmp_scalar, g_scalar, &group->order, ctx)) { in ec_GFp_nistp256_points_mul()
1833 num_bytes = BN_bn2bin(g_scalar, tmp); in ec_GFp_nistp256_points_mul()
1838 num_points, g_scalar != NULL ? g_secret : NULL, mixed, in ec_GFp_nistp256_points_mul()