Searched refs:p_scalar (Results 1 – 6 of 6) sorted by relevance
/external/boringssl/src/crypto/fipsmodule/ec/ |
D | ec.c | 837 const EC_POINT *p, const BIGNUM *p_scalar, BN_CTX *ctx) { in EC_POINT_mul() argument 841 if ((g_scalar == NULL && p_scalar == NULL) || in EC_POINT_mul() 842 (p == NULL) != (p_scalar == NULL)) { in EC_POINT_mul() 866 if (p_scalar != NULL) { in EC_POINT_mul() 867 if (!arbitrary_bignum_to_scalar(group, &p_scalar_storage, p_scalar, ctx)) { in EC_POINT_mul() 884 const EC_SCALAR *p_scalar, BN_CTX *ctx) { in ec_point_mul_scalar_public() argument 885 if ((g_scalar == NULL && p_scalar == NULL) || in ec_point_mul_scalar_public() 886 (p == NULL) != (p_scalar == NULL)) { in ec_point_mul_scalar_public() 897 return group->meth->mul_public(group, r, g_scalar, p, p_scalar, ctx); in ec_point_mul_scalar_public() 902 const EC_SCALAR *p_scalar, BN_CTX *ctx) { in ec_point_mul_scalar() argument [all …]
|
D | internal.h | 117 const EC_POINT *p, const EC_SCALAR *p_scalar, BN_CTX *ctx); 123 const EC_SCALAR *p_scalar, BN_CTX *ctx); 202 const EC_SCALAR *p_scalar, BN_CTX *ctx); 209 const EC_SCALAR *p_scalar, BN_CTX *ctx); 212 const EC_POINT *p, const EC_SCALAR *p_scalar, BN_CTX *ctx);
|
D | p256-x86_64.c | 214 const EC_SCALAR *p_scalar) { in ecp_nistz256_windowed_mul() argument 216 assert(p_scalar != NULL); in ecp_nistz256_windowed_mul() 226 OPENSSL_memcpy(p_str, p_scalar->bytes, 32); in ecp_nistz256_windowed_mul() 310 const EC_SCALAR *p_scalar, BN_CTX *ctx) { in ecp_nistz256_points_mul() argument 311 assert((p_ != NULL) == (p_scalar != NULL)); in ecp_nistz256_points_mul() 363 if (p_scalar != NULL) { in ecp_nistz256_points_mul() 369 if (!ecp_nistz256_windowed_mul(group, out, p_, p_scalar)) { in ecp_nistz256_points_mul()
|
D | p224-64.c | 912 const uint8_t *p_scalar, const uint8_t *g_scalar, in p224_batch_mul() argument 925 size_t i = p_scalar != NULL ? 220 : 27; in p224_batch_mul() 962 if (p_scalar != NULL && i % 5 == 0) { in p224_batch_mul() 963 bits = p224_get_bit(p_scalar, i + 4) << 5; in p224_batch_mul() 964 bits |= p224_get_bit(p_scalar, i + 3) << 4; in p224_batch_mul() 965 bits |= p224_get_bit(p_scalar, i + 2) << 3; in p224_batch_mul() 966 bits |= p224_get_bit(p_scalar, i + 1) << 2; in p224_batch_mul() 967 bits |= p224_get_bit(p_scalar, i) << 1; in p224_batch_mul() 968 bits |= p224_get_bit(p_scalar, i - 1); in p224_batch_mul() 1047 const EC_SCALAR *p_scalar, BN_CTX *ctx) { in ec_GFp_nistp224_points_mul() argument [all …]
|
D | wnaf.c | 241 const EC_POINT *p, const EC_SCALAR *p_scalar, BN_CTX *ctx) { in ec_wNAF_mul() argument 286 if (p_scalar != NULL) { in ec_wNAF_mul() 289 if (!compute_wNAF(group, p_wNAF, p_scalar, bits, wsize) || in ec_wNAF_mul() 324 if (p_scalar != NULL) { in ec_wNAF_mul()
|
/external/boringssl/src/third_party/fiat/ |
D | p256.c | 1538 const uint8_t *p_scalar, const uint8_t *g_scalar, in batch_mul() argument 1550 size_t i = p_scalar != NULL ? 255 : 31; in batch_mul() 1589 if (p_scalar != NULL && i % 5 == 0) { in batch_mul() 1590 bits = get_bit(p_scalar, i + 4) << 5; in batch_mul() 1591 bits |= get_bit(p_scalar, i + 3) << 4; in batch_mul() 1592 bits |= get_bit(p_scalar, i + 2) << 3; in batch_mul() 1593 bits |= get_bit(p_scalar, i + 1) << 2; in batch_mul() 1594 bits |= get_bit(p_scalar, i) << 1; in batch_mul() 1595 bits |= get_bit(p_scalar, i - 1); in batch_mul() 1676 const EC_SCALAR *p_scalar, in ec_GFp_nistp256_points_mul() argument [all …]
|