Searched refs:seed (Results 1 - 2 of 2) sorted by relevance

/darwin-on-arm/xnu/bsd/net/
H A Dflowhash.c184 net_flowhash_mh3_x86_32(const void *key, u_int32_t len, const u_int32_t seed) argument
190 u_int32_t h1 = seed, k1;
242 net_flowhash_mh3_x64_128(const void *key, u_int32_t len, const u_int32_t seed) argument
248 u_int64_t h1 = seed, k1;
249 u_int64_t h2 = seed, k2;
381 net_flowhash_jhash(const void *key, u_int32_t len, const u_int32_t seed) argument
386 a = b = c = JHASH_INIT + len + seed;
561 net_flowhash_jhash(const void *key, u_int32_t len, const u_int32_t seed) argument
566 a = b = c = JHASH_INIT + len + seed;
/darwin-on-arm/xnu/bsd/netinet6/
H A Din6_ifattach.c144 /* we need at least several letters as seed for ifid */
175 u_int8_t seed[16], nullbuf[8], digest[SHA1_RESULTLEN]; local
179 /* If there's no history, start with a random seed. */
187 bcopy(&val32, seed + sizeof(val32) * i, sizeof(val32));
190 bcopy(seed0, seed, 8);
195 bcopy(seed1, &seed[8], 8);
202 printf("%02x", seed[i]);
209 SHA1Update(&ctxt, seed, sizeof(seed));

Completed in 72 milliseconds