/macosx-10.10/tcl-105/tcl_ext/tcllib/tcllib/modules/crc/ |
H A D | sum.tcl | 41 proc ::crc::SumSysV {s {seed 0}} { 42 set t $seed 55 proc ::crc::SumBsd {s {seed 0}} { 56 set t $seed 74 Tcl_WrongNumArgs(interp, 1, objv, "data ?seed?"); 99 Tcl_WrongNumArgs(interp, 1, objv, "data ?seed?");
|
/macosx-10.10/tcl-105/tcl_ext/tclx/tclx/generic/ |
H A D | tclXmath.c | 279 * random limit | seed ?seedval? 305 int seed; 308 if (!STREQU (seedString, "seed")) 312 if (Tcl_GetIntFromObj (interp, objv[2], &seed) != TCL_OK) 315 seed = (getpid () + time ((time_t *)NULL)); 317 (void) tclx_srandom (seed); 324 return TclX_WrongArgs (interp, objv[0], "limit | seed ?seedval?"); 299 int seed; local
|
/macosx-10.10/tcl-105/tcl_ext/tclx/tclx/tests/ |
H A D | math.test | 23 random seed 100 34 } 1 {wrong # args: random limit | seed ?seedval?} 43 random seed Foo
|
/macosx-10.10/Security-57031.1.35/Security/include/security_pkcs12/ |
H A D | pkcs12Crypto.cpp | 78 CSSM_CRYPTO_DATA seed; local 80 seed.Param = *pwd; 83 seed.Param.Data = NULL; 84 seed.Param.Length = 0; 86 seed.Callback = NULL; 87 seed.CallerCtx = NULL; 97 &seed, // seed
|
/macosx-10.10/Security-57031.1.35/Security/libsecurity_cryptkit/ckutils/atomTime/ |
H A D | atomTime.c | 122 giant seed = newGiant(cp->maxDigits); local 125 gtog(points[i].x, seed); 126 findPointProj(&points[i], seed, cp); 128 freeGiant(seed); 143 unsigned seed; local 197 time((unsigned long *)&seed); 198 rand = feeRandAllocWithSeed(seed); 498 /* fixme how about some better seed data */
|
/macosx-10.10/Security-57031.1.35/Security/libsecurity_pkcs12/lib/ |
H A D | pkcs12Crypto.cpp | 78 CSSM_CRYPTO_DATA seed; local 80 seed.Param = *pwd; 83 seed.Param.Data = NULL; 84 seed.Param.Length = 0; 86 seed.Callback = NULL; 87 seed.CallerCtx = NULL; 97 &seed, // seed
|
/macosx-10.10/Security-57031.1.35/Security/libsecurity_transform/lib/ |
H A D | EncryptTransform.cpp | 347 CFDataRef message = NULL, maskedSeed = NULL, maskedDB = NULL, seedMask = NULL, seed = NULL, dbMask = NULL; 396 // (5) Let seed = maskedSeed ��� seedMask. 399 seed = CFDataCreateWithBytesNoCopy(NULL, raw_seed, hLen, kCFAllocatorNull); 400 if (!seed) { 405 // (6) Let dbMask = MGF (seed, emLen ��� hLen). 410 if (!SecTransformSetAttribute(mgf_dbMask, kSecTransformInputAttributeName, seed, &error)) { 476 CFSafeRelease(seed); 530 CFDataRef seed = NULL, dbMask = NULL, maskedDB = NULL, seedMask = NULL, padHash = NULL, padZeros = NULL; 626 // (6) Generate a random octet string seed of length hLen. 627 seed [all...] |
/macosx-10.10/xnu-2782.1.97/bsd/net/ |
H A D | flowhash.c | 182 net_flowhash_mh3_x86_32(const void *key, u_int32_t len, const u_int32_t seed) argument 188 u_int32_t h1 = seed, k1; 240 net_flowhash_mh3_x64_128(const void *key, u_int32_t len, const u_int32_t seed) argument 246 u_int64_t h1 = seed, k1; 247 u_int64_t h2 = seed, k2; 379 net_flowhash_jhash(const void *key, u_int32_t len, const u_int32_t seed) argument 384 a = b = c = JHASH_INIT + len + seed; 559 net_flowhash_jhash(const void *key, u_int32_t len, const u_int32_t seed) argument 564 a = b = c = JHASH_INIT + len + seed;
|
/macosx-10.10/OpenSSL098-52/src/fips/dsa/ |
H A D | fips_dssvs.c | 90 unsigned char seed[20]; local 96 if (!DSA_generate_parameters_ex(dsa, nmod,seed,0,&counter,&h,NULL)) 104 pv("Seed",seed,20); 125 unsigned char seed[1024]; local 145 int slen = hex2bin(value, seed); 163 if (!DSA_generate_parameters_ex(dsa, nmod,seed,20 ,&counter2,&h2,NULL))
|
/macosx-10.10/OpenSSL098-52/src/test/ |
H A D | fips_dssvs.c | 90 unsigned char seed[20]; local 96 if (!DSA_generate_parameters_ex(dsa, nmod,seed,0,&counter,&h,NULL)) 104 pv("Seed",seed,20); 125 unsigned char seed[1024]; local 145 int slen = hex2bin(value, seed); 163 if (!DSA_generate_parameters_ex(dsa, nmod,seed,20 ,&counter2,&h2,NULL))
|
/macosx-10.10/Security-57031.1.35/Security/include/security_cryptkit/CurveParamDocs/ |
H A D | ellproj.c | 430 find_point_proj(point_proj pt, giant seed, giant a, giant b, giant p) argument 431 /* Starting with seed, finds a random (projective) point {x,y,1} on curve. 435 modg(p, seed); 437 gtog(seed, x); 440 mulg(seed,x); addg(b, x); 441 modg(p, x); /* x := seed^3 + a seed + b. */ 443 iaddg(1, seed); 446 gtog(seed,x);
|
/macosx-10.10/Security-57031.1.35/Security/libsecurity_cryptkit/ckutils/giantDvt/ |
H A D | giantDvt.c | 47 printf(" s=seed\n"); 449 unsigned seed = 0; local 456 seed = 0; 471 seed = atoi(&argp[2]); 484 seed = (unsigned)tim; 486 SRAND(seed); 494 printf("Starting giants test: seed %d\n", seed);
|
/macosx-10.10/Security-57031.1.35/Security/libsecurity_cryptkit/lib/CurveParamDocs/ |
H A D | ellproj.c | 430 find_point_proj(point_proj pt, giant seed, giant a, giant b, giant p) argument 431 /* Starting with seed, finds a random (projective) point {x,y,1} on curve. 435 modg(p, seed); 437 gtog(seed, x); 440 mulg(seed,x); addg(b, x); 441 modg(p, x); /* x := seed^3 + a seed + b. */ 443 iaddg(1, seed); 446 gtog(seed,x);
|
/macosx-10.10/dcerpc-61/dcerpc/uuid/ |
H A D | uuid.c | 1268 ** Note: we "seed" the RNG with the bits from the clock and the PID 1275 unsigned16 *seedp, seed=0; 1291 * Generating our 'seed' value 1297 * the bits in the determination of the seed value while remaining system 1298 * independent. Then for good measure to ensure a unique seed when there 1303 seed ^= *seedp++; 1304 seed ^= *seedp++; 1305 seed ^= *seedp++; 1306 seed ^= *seedp; 1307 rand_irand += seed 1260 unsigned16 *seedp, seed=0; local [all...] |
H A D | get_802_addr.c | 231 unsigned int seed = 1; local 237 buf[i] = rand_r(&seed);
|
/macosx-10.10/OpenSSH-189/osslshim/ossl/ |
H A D | ossl-dsa.h | 85 int (*dsa_paramgen)(DSA *dsa, int bits, unsigned char *seed, int seed_len, 146 unsigned char *seed, int seed_len,
|
/macosx-10.10/Security-57031.1.35/Security/include/security_cdsa_client/ |
H A D | wrapkey.h | 105 const CssmCryptoData seed() const { return *mSeed; } function in class:Security::CssmClient::DeriveKey 106 void seed(const CssmCryptoData &data) { mSeed = &data; } function in class:Security::CssmClient::DeriveKey
|
/macosx-10.10/Security-57031.1.35/Security/libsecurity_cdsa_client/lib/ |
H A D | wrapkey.h | 105 const CssmCryptoData seed() const { return *mSeed; } function in class:Security::CssmClient::DeriveKey 106 void seed(const CssmCryptoData &data) { mSeed = &data; } function in class:Security::CssmClient::DeriveKey
|
/macosx-10.10/Security-57031.1.35/securityd/tests/ |
H A D | testclient.cpp | 65 long ranseed = 1; // random seed for it 94 printf("*** Random stress test: %ld iterations from <%s> with seed=%ld\n", 117 fprintf(stderr, "Usage: SSTester [-r count[:seed]] [-v] [%s|.|+]\n", 226 const CssmCryptoData seed(StringData("rain tonight")); 229 &::Context::Attr(CSSM_ATTRIBUTE_SEED, seed),
|
H A D | testcrypto.cpp | 52 const CssmCryptoData seed(StringData("Seed ye well, my friend, and ye shall reap...")); 55 &::Context::Attr(CSSM_ATTRIBUTE_SEED, seed),
|
/macosx-10.10/cxxfilt-11/cxxfilt/libiberty/ |
H A D | random.c | 40 @deftypefnx Supplement void srandom (unsigned int @var{seed}) 41 @deftypefnx Supplement void* initstate (unsigned int @var{seed}, void *@var{arg_state}, unsigned long @var{n}) 46 number generator to some starting point determined by @var{seed} 87 interface. The initstate() routine is called with a seed, an array of 222 /* Initialize the random number generator based on the given seed. If the 223 type is the trivial no-state-information type, just remember the seed. 224 Otherwise, initializes state[] based on the given "seed" via a linear 259 initstate (unsigned int seed, PTR arg_state, unsigned long n) 306 srandom(seed); 257 initstate(unsigned int seed, PTR arg_state, unsigned long n) argument
|
/macosx-10.10/ksh-23/ksh/src/lib/libast/uwin/ |
H A D | random.c | 69 interface. The initstate() routine is called with a seed, an array of 203 /* Initialize the random number generator based on the given seed. If the 204 type is the trivial no-state-information type, just remember the seed. 205 Otherwise, initializes state[] based on the given "seed" via a linear 238 extern char* initstate(unsigned int seed, char* arg_state, size_t n) 285 srandom(seed); 236 initstate(unsigned int seed, char* arg_state, size_t n) argument
|
/macosx-10.10/pyobjc-45/2.5/pyobjc/pyobjc-framework-LaunchServices/PyObjCTest/ |
H A D | test_lssharedfilelist.py | 68 v, seed = LSSharedFileListCopySnapshot(lst, None) 70 self.failUnlessIsInstance(seed, (int,long))
|
/macosx-10.10/pyobjc-45/2.6/pyobjc/pyobjc-framework-LaunchServices/PyObjCTest/ |
H A D | test_lssharedfilelist.py | 68 v, seed = LSSharedFileListCopySnapshot(lst, None) 70 self.assertIsInstance(seed, (int,long))
|
/macosx-10.10/pyobjc-45/pyobjc/pyobjc-framework-LaunchServices-2.5.1/PyObjCTest/ |
H A D | test_lssharedfilelist.py | 78 v, seed = LSSharedFileListCopySnapshot(lst, None) 80 self.assertIsInstance(seed, (int,long))
|