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

/macosx-10.10/OpenSSL098-52/src/crypto/ec/
H A Dectest.c132 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[
1146 const BIGNUM *scalars[3]; local
[all...]
H A Dec2_mult.c315 * scalar*group->generator + scalars[0]*points[0] + ... + scalars[num-1]*points[num-1]
319 size_t num, const EC_POINT *points[], const BIGNUM *scalars[], BN_CTX *ctx)
340 ret = ec_wNAF_mul(group, r, scalar, num, points, scalars, ctx);
359 if (!ec_GF2m_montgomery_point_multiply(group, p, scalars[i], points[i], ctx)) goto err;
360 if (BN_is_negative(scalars[i]))
318 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.h157 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 *);
H A Dec_lib.c1119 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);
1118 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.c341 * \sum scalars[i]*points[i],
347 size_t num, const EC_POINT *points[], const BIGNUM *scalars[], BN_CTX *ctx)
368 int num_scalar = 0; /* flag: will be set to 1 if 'scalar' must be treated like other scalars,
438 num_scalar = 1; /* treat 'scalar' like 'num'-th element of 'scalars' */
464 bits = i < num ? BN_num_bits(scalars[i]) : BN_num_bits(scalar);
468 wNAF[i] = compute_wNAF((i < num ? scalars[i] : scalar), wsize[i], &wNAF_len[i]);
346 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
/macosx-10.10/OpenSSL098-52/src/test/
H A Dectest.c132 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[
1146 const BIGNUM *scalars[3]; local
[all...]
/macosx-10.10/CPANInternal-159.1/Readonly-1.03/
H A DReadonly.pm10 Readonly - Facility for creating read-only scalars, arrays, hashes.
53 # Read-only scalars
483 C<use constant> works for scalars and arrays, not hashes.
513 Another popular way to create read-only scalars is to modify the symbol
528 with lexical ("my") variables. It will create scalars, arrays, or
553 to make read-only scalars much faster. With Readonly::XS, Readonly
554 scalars are as fast as the other types of variables. Readonly arrays
556 of your Readonly variables will be scalars.
/macosx-10.10/CPANInternal-159.1/Bencode-1.4/lib/
H A DBencode.pm175 Takes a single argument which may be a scalar or a reference to a scalar, array or hash. Arrays and hashes may in turn contain values of these same types. Simple scalars that look like canonically represented integers will be serialised as such. To bypass the heuristic and force serialisation as a string, use a reference to a scalar.
245 =item * scalars
251 =item * references to scalars
/macosx-10.10/CPANInternal-159.1/Template-Toolkit-2.25/lib/Template/Stash/
H A DContext.pm39 # arrays and promotes scalars to one-element arrays.
44 # - allows list ops to be applied to scalars by promoting the scalars
723 arrays and promotes scalars to one-element arrays.
728 * allows list ops to be applied to scalars by promoting the scalars
/macosx-10.10/CPANInternal-159.1/Readonly-XS-1.05/
H A DXS.pm73 SvREADONLY flag only works for scalars. Arrays and hashes always use
/macosx-10.10/CPANInternal-159.1/Graph-0.94/lib/Graph/
H A DAdjacencyMatrix.pm198 Return the adjacency matrix itself (a list of bitvector scalars).
/macosx-10.10/CPANInternal-159.1/Graph-0.96/lib/Graph/
H A DAdjacencyMatrix.pm198 Return the adjacency matrix itself (a list of bitvector scalars).
/macosx-10.10/CPANInternal-159.1/Log-Log4perl-1.40/lib/Log/Log4perl/Config/
H A DBaseConfigurator.pm34 # $text is an array of scalars (lines)
219 Specifies a reference to an array of scalars, representing configuration
/macosx-10.10/CPANInternal-159.1/Log-Log4perl-1.40/lib/Log/Log4perl/
H A DLevel.pm254 C<Log::Log4perl>. The following scalars are defined:
/macosx-10.10/CPANInternal-159.1/Types-Serialiser-1.0/
H A DSerialiser.pm28 scalars. This is necessary because these have different representations in
/macosx-10.10/CPANInternal-159.1/JSON-PP-2.27203/lib/JSON/
H A DPP.pm2251 to a hash or array) to its JSON representation. Simple scalars will be
2264 JSON numbers and strings become simple Perl scalars. JSON arrays become
2655 =item simple scalars
2657 Simple Perl scalars (any scalar that is not a reference) are the most
2658 difficult objects to encode: JSON::XS and JSON::PP will encode undefined scalars as
2659 JSON C<null> values, scalars that have last been used in a string context
/macosx-10.10/CPANInternal-159.1/SOAP-Lite-1.11/
H A DChanges149 SOAP::Transport::HTTP->new() was leaking two scalars per call
/macosx-10.10/CPANInternal-159.1/JSON-XS-3.01/
H A DXS.pm1074 =item simple scalars
1076 Simple Perl scalars (any scalar that is not a reference) are the most
1077 difficult objects to encode: JSON::XS will encode undefined scalars as
1078 JSON C<null> values, scalars that have last been used in a string context
/macosx-10.10/CPANInternal-159.1/Class-Std-0.011/lib/Class/
H A DStd.pm716 That approach is referred to by various names--flyweight scalars,
/macosx-10.10/CPANInternal-159.1/Log-Log4perl-1.40/lib/Log/
H A DLog4perl.pm2263 to push data pieces (scalars usually) onto its stack via
/macosx-10.10/Heimdal-398.1.2/lib/hcrypto/libtommath/
H A Dtommath.tex332 Within the algorithm descriptions all variables are assumed to be scalars of either single or double precision
334 distinction is important as scalars are often used as array indicies and various other counters.
/macosx-10.10/Heimdal-398.1.2/lib/sqlite/
H A Dsqlite3.c130768 } scalars[] = { local
[all...]

Completed in 461 milliseconds