Searched refs:g_scalar (Results 1 – 4 of 4) sorted by relevance
/openssl/crypto/ec/ |
H A D | ecp_nistp224.c | 1141 const unsigned num_points, const u8 *g_scalar, in batch_mul() argument 1147 unsigned gen_mul = (g_scalar != NULL); in batch_mul() 1170 bits = get_bit(g_scalar, i + 196) << 3; in batch_mul() 1171 bits |= get_bit(g_scalar, i + 140) << 2; in batch_mul() 1172 bits |= get_bit(g_scalar, i + 84) << 1; in batch_mul() 1173 bits |= get_bit(g_scalar, i + 28); in batch_mul() 1187 bits = get_bit(g_scalar, i + 168) << 3; in batch_mul() 1188 bits |= get_bit(g_scalar, i + 112) << 2; in batch_mul() 1189 bits |= get_bit(g_scalar, i + 56) << 1; in batch_mul() 1190 bits |= get_bit(g_scalar, i); in batch_mul()
|
H A D | ecp_nistp256.c | 1674 const unsigned num_points, const u8 *g_scalar, in batch_mul() argument 1679 unsigned num, gen_mul = (g_scalar != NULL); in batch_mul() 1703 bits = get_bit(g_scalar, i + 224) << 3; in batch_mul() 1704 bits |= get_bit(g_scalar, i + 160) << 2; in batch_mul() 1705 bits |= get_bit(g_scalar, i + 96) << 1; in batch_mul() 1706 bits |= get_bit(g_scalar, i + 32); in batch_mul() 1722 bits = get_bit(g_scalar, i + 192) << 3; in batch_mul() 1723 bits |= get_bit(g_scalar, i + 128) << 2; in batch_mul() 1724 bits |= get_bit(g_scalar, i + 64) << 1; in batch_mul() 1725 bits |= get_bit(g_scalar, i); in batch_mul()
|
H A D | ecp_nistp521.c | 1584 const unsigned num_points, const u8 *g_scalar, in batch_mul() argument 1589 unsigned num, gen_mul = (g_scalar != NULL); in batch_mul() 1611 bits = get_bit(g_scalar, i + 390) << 3; in batch_mul() 1613 bits |= get_bit(g_scalar, i + 260) << 2; in batch_mul() 1614 bits |= get_bit(g_scalar, i + 130) << 1; in batch_mul() 1615 bits |= get_bit(g_scalar, i); in batch_mul()
|
H A D | ec_lib.c | 1114 int EC_POINT_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *g_scalar, in EC_POINT_mul() argument 1129 if (g_scalar == NULL && p_scalar == NULL) in EC_POINT_mul() 1143 ret = group->meth->mul(group, r, g_scalar, num, &point, &p_scalar, ctx); in EC_POINT_mul() 1146 ret = ossl_ec_wNAF_mul(group, r, g_scalar, num, &point, &p_scalar, ctx); in EC_POINT_mul()
|
Completed in 27 milliseconds