Searched refs:scalars (Results 1 - 10 of 10) sorted by relevance

/freebsd-9.3-release/crypto/openssl/crypto/ec/
H A Dectest.c136 fprintf(stdout, "%d-bit scalars ", (int)BN_num_bits(s));
879 const BIGNUM *scalars[4]; local
895 scalars[0] = y; /* (group order + 1)/2, so y*Q + y*Q = Q */
896 scalars[1] = y;
902 if (!EC_POINTs_mul(group, P, NULL, 2, points, scalars, ctx))
904 if (!EC_POINTs_mul(group, R, z, 2, points, scalars, ctx))
919 scalars[0] = y;
920 scalars[1] = z; /* z = -(order + y) */
922 if (!EC_POINTs_mul(group, P, NULL, 2, points, scalars, ctx))
935 scalars[
1399 const BIGNUM *scalars[3]; local
[all...]
H A Dec2_mult.c373 * scalar*group->generator + scalars[0]*points[0] + ... + scalars[num-1]*points[num-1]
378 const EC_POINT *points[], const BIGNUM *scalars[],
401 ret = ec_wNAF_mul(group, r, scalar, num, points, scalars, ctx);
426 (group, p, scalars[i], points[i], ctx))
428 if (BN_is_negative(scalars[i]))
376 ec_GF2m_simple_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar, size_t num, const EC_POINT *points[], const BIGNUM *scalars[], BN_CTX *ctx) argument
H A Dec_lcl.h171 size_t num, const EC_POINT *points[], const BIGNUM *scalars[],
302 size_t num, const EC_POINT *points[], const BIGNUM *scalars[],
441 const EC_POINT *points[], const BIGNUM *scalars[],
H A Dec_lib.c1070 const BIGNUM *scalars[], BN_CTX *ctx)
1074 return ec_wNAF_mul(group, r, scalar, num, points, scalars, ctx);
1076 return group->meth->mul(group, r, scalar, num, points, scalars, ctx);
1085 const BIGNUM *scalars[1]; local
1088 scalars[0] = p_scalar;
1092 && p_scalar != NULL), points, scalars, ctx);
1068 EC_POINTs_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar, size_t num, const EC_POINT *points[], const BIGNUM *scalars[], BN_CTX *ctx) argument
H A Dec_mult.c325 * \sum scalars[i]*points[i],
331 size_t num, const EC_POINT *points[], const BIGNUM *scalars[],
355 * treated like other scalars, i.e.
423 * 'scalars' */
450 bits = i < num ? BN_num_bits(scalars[i]) : BN_num_bits(scalar);
455 compute_wNAF((i < num ? scalars[i] : scalar), wsize[i],
330 ec_wNAF_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar, size_t num, const EC_POINT *points[], const BIGNUM *scalars[], BN_CTX *ctx) argument
/freebsd-9.3-release/tools/test/dtrace/
H A DMakefile63 ${TESTSRCDIR}/tst/common/scalars/tst.misc.d \
64 ${TESTSRCDIR}/tst/common/scalars/tst.selfarray2.d \
199 ${TESTSRCDIR}/tst/common/scalars/err.D_OP_INCOMPAT.dupgtype.d \
200 ${TESTSRCDIR}/tst/common/scalars/err.D_OP_INCOMPAT.dupltype.d \
201 ${TESTSRCDIR}/tst/common/scalars/err.D_OP_INCOMPAT.dupttype.d \
/freebsd-9.3-release/sys/dev/drm/
H A Dradeon_state.c2637 int sz = header.scalars.count;
2638 int start = header.scalars.offset;
2639 int stride = header.scalars.stride;
2659 int sz = header.scalars.count;
2660 int start = ((unsigned int)header.scalars.offset) + 0x100;
2661 int stride = header.scalars.stride;
H A Dradeon_drm.h195 } scalars; member in union:__anon7572
/freebsd-9.3-release/sys/dev/drm2/radeon/
H A Dradeon_state.c2675 int sz = header.scalars.count;
2676 int start = header.scalars.offset;
2677 int stride = header.scalars.stride;
2695 int sz = header.scalars.count;
2696 int start = ((unsigned int)header.scalars.offset) + 0x100;
2697 int stride = header.scalars.stride;
H A Dradeon_drm.h197 } scalars; member in union:__anon7721

Completed in 120 milliseconds