Searched refs:seed (Results 26 - 50 of 304) sorted by relevance

1234567891011>>

/macosx-10.10/ntp-92/lib/isc/include/isc/
H A Drandom.h39 isc_random_seed(isc_uint32_t seed);
41 * Set the initial seed of the random state.
/macosx-10.10/srm-7/srm/src/
H A Drandom.c35 void init_random(const unsigned int seed) { argument
37 arc4random_addrandom((unsigned char *)&seed, sizeof(seed));
44 srand(seed);
H A Dsrm.h24 void init_random(const unsigned int seed);
/macosx-10.10/OpenSSL098-52/src/crypto/rsa/
H A Drsa_oaep.c32 const unsigned char *seed, long seedlen);
39 unsigned char *db, *seed; local
56 seed = to + 1;
64 if (RAND_bytes(seed, SHA_DIGEST_LENGTH) <= 0)
67 memcpy(seed,
79 MGF1(dbmask, emlen - SHA_DIGEST_LENGTH, seed, SHA_DIGEST_LENGTH);
85 seed[i] ^= seedmask[i];
98 unsigned char *db = NULL, seed[SHA_DIGEST_LENGTH], phash[SHA_DIGEST_LENGTH]; local
136 MGF1(seed, SHA_DIGEST_LENGTH, maskeddb, dblen);
138 seed[
180 PKCS1_MGF1(unsigned char *mask, long len, const unsigned char *seed, long seedlen, const EVP_MD *dgst) argument
216 MGF1(unsigned char *mask, long len, const unsigned char *seed, long seedlen) argument
[all...]
/macosx-10.10/Heimdal-398.1.2/lib/otp/
H A Dotp_md.c85 const char *seed,
97 len = strlen(pwd) + strlen(seed);
101 strlcpy (p, seed, len + 1);
167 otp_md4_init (OtpKey key, const char *pwd, const char *seed) argument
170 return otp_md_init (key, pwd, seed, EVP_md4(), 0, res, sizeof(res));
190 otp_md5_init (OtpKey key, const char *pwd, const char *seed) argument
193 return otp_md_init (key, pwd, seed, EVP_md5(), 0, res, sizeof(res));
212 otp_sha_init (OtpKey key, const char *pwd, const char *seed) argument
215 return otp_md_init (key, pwd, seed, EVP_sha1(), 1, res, sizeof(res));
83 otp_md_init(OtpKey key, const char *pwd, const char *seed, const EVP_MD *md, int le, unsigned char *res, size_t ressz) argument
H A Dotp_challenge.c65 ctx->alg->name, ctx->n-1, ctx->seed);
/macosx-10.10/tcl-105/tcl_ext/tcllib/tcllib/modules/crc/
H A Dcrc16.tcl185 proc ::crc::CRC16 {s {seed 0}} {
192 return [Crc $s 16 [namespace current]::table(crc16) $seed 0 1]
198 proc ::crc::CRC-CCITT {s {seed 0} {xor 0}} {
205 return [Crc $s 16 [namespace current]::table(ccitt) $seed $xor 0]
212 proc ::crc::CRC-32 {s {seed 0xFFFFFFFF}} {
219 return [Crc $s 32 [namespace current]::table(crc32) $seed 0xFFFFFFFF 1]
226 format %u seed 0 \
236 -s* { set opts(seed) [Pop args 1] }
253 set r $opts(seed)
267 \"crc16 ?-format string? ?-seed valu
[all...]
/macosx-10.10/Security-57031.1.35/SecurityTests/cspxutils/randTest/
H A DrandTest.c42 CSSM_CRYPTO_DATA_PTR seed, // optional
54 seed,
88 * CryptoData callback for optional random seed.
95 static unsigned char seed[SEED_SIZE]; local
98 OutData->Data = seed;
100 seed[j] = i;
116 unsigned char seed[SEED_SIZE]; local
137 /* set up for explicit seed */
139 cseed.Param.Data = seed;
141 seed[
38 doGenRand( CSSM_CSP_HANDLE cspHand, CSSM_CC_HANDLE ccHand, CSSM_CRYPTO_DATA_PTR seed, unsigned len, CSSM_BOOL weMalloc) argument
[all...]
/macosx-10.10/removefile-35/
H A Dremovefile_random.c60 __removefile_init_random(const unsigned int seed, removefile_state_t state) { argument
62 arc4random_addrandom((unsigned char *)&seed, sizeof(seed));
69 srand(seed);
/macosx-10.10/Libc-1044.1.2/stdlib/FreeBSD/
H A Drand.c56 * The random sequences do not vary much with the seed,
104 srand(seed)
105 u_int seed;
107 next = seed;
114 * Many programs choose the seed value in a totally predictable manner.
115 * This often causes problems. We seed the generator using the much more
/macosx-10.10/OpenSSL098-52/src/crypto/dsa/
H A Ddsagen.c72 unsigned char seed[20]={ variable
105 memcpy(seed_buf,seed,20);
106 dsa=DSA_generate_parameters(1024,seed,20,&counter,&h,cb,bio_err);
/macosx-10.10/WebCore-7600.1.25/platform/graphics/filters/
H A DFETurbulence.h52 float seed() const;
81 : seed(paintingSeed)
86 long seed; member in struct:WebCore::FETurbulence::PaintingData
H A DFETurbulence.cpp42 m = randMaximum = 2**31 - 1 = 2147483647, r = seed.
45 as the 10,000th generated number if the original seed is 1.
53 FETurbulence::FETurbulence(Filter* filter, TurbulenceType type, float baseFrequencyX, float baseFrequencyY, int numOctaves, float seed, bool stitchTiles) argument
59 , m_seed(seed)
64 PassRefPtr<FETurbulence> FETurbulence::create(Filter* filter, TurbulenceType type, float baseFrequencyX, float baseFrequencyY, int numOctaves, float seed, bool stitchTiles) argument
66 return adoptRef(new FETurbulence(filter, type, baseFrequencyX, baseFrequencyY, numOctaves, seed, stitchTiles));
108 float FETurbulence::seed() const function in class:WebCore::FETurbulence
113 bool FETurbulence::setSeed(float seed) argument
115 if (m_seed == seed)
117 m_seed = seed;
[all...]
/macosx-10.10/bind9-45.101/bind9/lib/isc/
H A Drandom.c64 isc_random_seed(isc_uint32_t seed) argument
69 srand(seed);
71 arc4random_addrandom((u_char *) &seed, sizeof(isc_uint32_t));
/macosx-10.10/ntp-92/lib/isc/
H A Drandom.c64 isc_random_seed(isc_uint32_t seed) argument
69 srand(seed);
71 arc4random_addrandom((u_char *) &seed, sizeof(isc_uint32_t));
/macosx-10.10/llvmCore-3425.0.34/include/llvm/ADT/
H A DHashing.h128 /// \brief Override the execution seed with a fixed value.
130 /// This hashing library uses a per-execution seed designed to change on each
137 /// which will forcibly set the seed to a fixed value. This must be done at the
196 inline uint64_t hash_1to3_bytes(const char *s, size_t len, uint64_t seed) { argument
202 return shift_mix(y * k2 ^ z * k3 ^ seed) * k2;
205 inline uint64_t hash_4to8_bytes(const char *s, size_t len, uint64_t seed) { argument
207 return hash_16_bytes(len + (a << 3), seed ^ fetch32(s + len - 4));
210 inline uint64_t hash_9to16_bytes(const char *s, size_t len, uint64_t seed) { argument
213 return hash_16_bytes(seed ^ a, rotate(b + len, len)) ^ b;
216 inline uint64_t hash_17to32_bytes(const char *s, size_t len, uint64_t seed) { argument
225 hash_33to64_bytes(const char *s, size_t len, uint64_t seed) argument
248 hash_short(const char *s, size_t length, uint64_t seed) argument
268 uint64_t seed; member in struct:llvm::hashing::detail::hash_state
273 create(const char *s, uint64_t seed) argument
336 static size_t seed = fixed_seed_override ? fixed_seed_override local
412 const size_t seed = get_execution_seed(); local
456 const size_t seed = get_execution_seed(); local
506 const size_t seed; member in struct:llvm::hashing::detail::hash_combine_recursive_helper
725 const uint64_t seed = get_execution_seed(); local
[all...]
/macosx-10.10/ruby-106/ruby/
H A Drandom.c23 Before using, initialize the state by using init_genrand(mt, seed)
112 /* initializes state[N] with a seed */
121 /* In the previous versions, MSBs of the seed affect */
222 VALUE seed; member in struct:__anon12466
238 r->seed = rand_init(mt, random_seed());
336 rb_gc_mark(((rb_random_t *)ptr)->seed);
385 rnd->seed = INT2FIX(0);
392 volatile VALUE seed; local
398 seed = rb_to_int(vseed);
399 switch (TYPE(seed)) {
488 fill_random_seed(unsigned int seed[DEFAULT_SEED_CNT]) argument
689 VALUE state, left = INT2FIX(1), seed = INT2FIX(0); local
798 VALUE seed, old; local
1377 VALUE seed; local
1391 VALUE seed = init_randomseed(mt, initial); local
1435 VALUE seed = default_rand.seed; local
[all...]
/macosx-10.10/Heimdal-398.1.2/appl/otp/
H A Dotpprint.c61 arg_printusage(args, num_args, NULL, "num seed");
76 char *seed; local
81 seed = argv[1];
84 alg->init (key, pw, seed);
H A Dotp.c66 arg_printusage(args, num_args, NULL, "[num seed]");
87 strlcpy (newctx.seed, argv[1], sizeof(newctx.seed));
88 strlwr(newctx.seed);
93 newctx.seed);
153 strlcpy (ctx.seed, argv[1], sizeof(ctx.seed));
154 strlwr(ctx.seed);
162 ctx.alg->init (ctx.key, pw, ctx.seed);
234 ctx.user, ctx.alg->name, ctx.n, ctx.seed);
[all...]
/macosx-10.10/sudo-73/src/
H A Dmkstemps.c110 SEED_T seed; local
117 seed = (tv.tv_sec % 10000) * 523 + tv.tv_usec * 13 +
119 SRAND(seed);
/macosx-10.10/CPANInternal-159.1/Graph-0.94/util/
H A Dgrand.pl7 my %OPT = (seed => 42, test => 'apsp', fill => 0.50, V => 20, directed => 1);
23 $0: Usage: $0 [--seed=n]
39 'seed=n' => \$OPT{seed},
50 srand($OPT{seed});
/macosx-10.10/CPANInternal-159.1/Graph-0.96/util/
H A Dgrand.pl7 my %OPT = (seed => 42, test => 'apsp', fill => 0.50, V => 20, directed => 1);
23 $0: Usage: $0 [--seed=n]
39 'seed=n' => \$OPT{seed},
50 srand($OPT{seed});
/macosx-10.10/ICU-531.30/icuSources/test/intltest/
H A Dssearch.h43 const char *name, const char *strength, uint32_t seed);
/macosx-10.10/OpenSSH-189/osslshim/ossl/
H A Dossl-rand-arc4.c81 .seed = arc4_seed,
H A Dossl-rand-cc.c123 .seed = cc_seed,

Completed in 346 milliseconds

1234567891011>>