/frameworks/base/core/jni/android/graphics/ |
Interpolator.cpp | 33 SkScalar* scalars = storage.get(); local 36 scalars[i] = SkFloatToScalar(values[i]); 46 interp->setKeyFrame(index, msec, scalars, blend);
|
/external/openssl/crypto/ec/ |
ectest.c | 132 fprintf(stdout, "%d-bit scalars ", (int)BN_num_bits(s)); 663 const BIGNUM *scalars[4]; local 675 scalars[0] = y; /* (group order + 1)/2, so y*Q + y*Q = Q */ 676 scalars[1] = y; 682 if (!EC_POINTs_mul(group, P, NULL, 2, points, scalars, ctx)) ABORT; 683 if (!EC_POINTs_mul(group, R, z, 2, points, scalars, ctx)) ABORT; 693 scalars[0] = y; 694 scalars[1] = z; /* z = -(order + y) */ 696 if (!EC_POINTs_mul(group, P, NULL, 2, points, scalars, ctx)) ABORT; 705 scalars[0] = x 1146 const BIGNUM *scalars[3]; local [all...] |
ec2_mult.c | 311 * scalar*group->generator + scalars[0]*points[0] + ... + scalars[num-1]*points[num-1] 315 size_t num, const EC_POINT *points[], const BIGNUM *scalars[], BN_CTX *ctx) 335 ret = ec_wNAF_mul(group, r, scalar, num, points, scalars, ctx); 353 if (!ec_GF2m_montgomery_point_multiply(group, p, scalars[i], points[i], ctx)) goto err; 354 if (BN_is_negative(scalars[i]))
|
ec_lcl.h | 157 size_t num, const EC_POINT *points[], const BIGNUM *scalars[], BN_CTX *); 284 size_t num, const EC_POINT *points[], const BIGNUM *scalars[], BN_CTX *); 388 size_t num, const EC_POINT *points[], const BIGNUM *scalars[], BN_CTX *);
|
ec_lib.c | 1119 size_t num, const EC_POINT *points[], const BIGNUM *scalars[], BN_CTX *ctx) 1123 return ec_wNAF_mul(group, r, scalar, num, points, scalars, ctx); 1125 return group->meth->mul(group, r, scalar, num, points, scalars, ctx); 1134 const BIGNUM *scalars[1]; local 1137 scalars[0] = p_scalar; 1139 return EC_POINTs_mul(group, r, g_scalar, (point != NULL && p_scalar != NULL), points, scalars, ctx);
|
ec_mult.c | 339 * \sum scalars[i]*points[i], 345 size_t num, const EC_POINT *points[], const BIGNUM *scalars[], BN_CTX *ctx) 366 int num_scalar = 0; /* flag: will be set to 1 if 'scalar' must be treated like other scalars, 436 num_scalar = 1; /* treat 'scalar' like 'num'-th element of 'scalars' */ 462 bits = i < num ? BN_num_bits(scalars[i]) : BN_num_bits(scalar); 466 wNAF[i] = compute_wNAF((i < num ? scalars[i] : scalar), wsize[i], &wNAF_len[i]);
|