Searched refs:scalars (Results 1 – 7 of 7) sorted by relevance
/external/openssl/crypto/ec/ |
D | ectest.c | 653 const BIGNUM *scalars[4]; in prime_field_tests() local 665 scalars[0] = y; /* (group order + 1)/2, so y*Q + y*Q = Q */ in prime_field_tests() 666 scalars[1] = y; in prime_field_tests() 672 if (!EC_POINTs_mul(group, P, NULL, 2, points, scalars, ctx)) ABORT; in prime_field_tests() 673 if (!EC_POINTs_mul(group, R, z, 2, points, scalars, ctx)) ABORT; in prime_field_tests() 683 scalars[0] = y; in prime_field_tests() 684 scalars[1] = z; /* z = -(order + y) */ in prime_field_tests() 686 if (!EC_POINTs_mul(group, P, NULL, 2, points, scalars, ctx)) ABORT; in prime_field_tests() 695 scalars[0] = x; in prime_field_tests() 696 scalars[1] = y; in prime_field_tests() [all …]
|
D | ec2_mult.c | 316 size_t num, const EC_POINT *points[], const BIGNUM *scalars[], BN_CTX *ctx) in ec_GF2m_simple_mul() argument 336 ret = ec_wNAF_mul(group, r, scalar, num, points, scalars, ctx); in ec_GF2m_simple_mul() 354 if (!ec_GF2m_montgomery_point_multiply(group, p, scalars[i], points[i], ctx)) goto err; in ec_GF2m_simple_mul() 355 if (BN_is_negative(scalars[i])) in ec_GF2m_simple_mul()
|
D | ec_lib.c | 1119 size_t num, const EC_POINT *points[], const BIGNUM *scalars[], BN_CTX *ctx) in EC_POINTs_mul() argument 1123 return ec_wNAF_mul(group, r, scalar, num, points, scalars, ctx); in EC_POINTs_mul() 1125 return group->meth->mul(group, r, scalar, num, points, scalars, ctx); in EC_POINTs_mul() 1134 const BIGNUM *scalars[1]; in EC_POINT_mul() local 1137 scalars[0] = p_scalar; in EC_POINT_mul() 1139 …return EC_POINTs_mul(group, r, g_scalar, (point != NULL && p_scalar != NULL), points, scalars, ctx… in EC_POINT_mul()
|
D | ec_lcl.h | 157 size_t num, const EC_POINT *points[], const BIGNUM *scalars[], BN_CTX *); 287 size_t num, const EC_POINT *points[], const BIGNUM *scalars[], BN_CTX *); 391 size_t num, const EC_POINT *points[], const BIGNUM *scalars[], BN_CTX *);
|
D | ec_mult.c | 345 size_t num, const EC_POINT *points[], const BIGNUM *scalars[], BN_CTX *ctx) in ec_wNAF_mul() argument 462 bits = i < num ? BN_num_bits(scalars[i]) : BN_num_bits(scalar); in ec_wNAF_mul() 466 wNAF[i] = compute_wNAF((i < num ? scalars[i] : scalar), wsize[i], &wNAF_len[i]); in ec_wNAF_mul()
|
/external/sqlite/dist/ |
D | sqlite3.c | 110859 } scalars[] = { 110881 for(i=0; rc==SQLITE_OK && i<(sizeof(scalars)/sizeof(struct IcuScalar)); i++){ 110882 struct IcuScalar *p = &scalars[i];
|
D | sqlite3.c.orig | 110819 } scalars[] = { 110841 for(i=0; rc==SQLITE_OK && i<(sizeof(scalars)/sizeof(struct IcuScalar)); i++){ 110842 struct IcuScalar *p = &scalars[i];
|