Searched refs:seed (Results 1 - 8 of 8) sorted by relevance
/sssd/src/util/ |
H A D | murmurhash3.h | 18 uint32_t murmurhash3(const char *key, int len, uint32_t seed);
|
H A D | murmurhash3.c | 52 uint32_t murmurhash3(const char *key, int len, uint32_t seed) argument 65 h1 = seed;
|
H A D | mmap_cache.h | 94 uint32_t seed; /* random seed used to avoid collision attacks */ member in struct:sss_mc_header
|
/sssd/src/python/ |
H A D | pysss_murmur.c | 27 "murmurhash3(key, key_len, seed) -> 32bit integer hash\n\ 30 using the given seed." 37 long long seed; local 41 &key, &key_len, &seed)) { 46 if (seed > UINT32_MAX || key_len > INT_MAX || key_len < 0 || 52 hash = murmurhash3(key, key_len, seed);
|
/sssd/src/sss_client/ |
H A D | nss_mc_common.c | 89 ctx->seed = h.seed; 95 if (ctx->seed != h.seed || 254 return murmurhash3(key, len, ctx->seed) % MC_HT_ELEMS(ctx->ht_size);
|
H A D | nss_mc.h | 47 uint32_t seed; /* seed from the tables header */ member in struct:sss_cli_mc_ctx
|
/sssd/src/tests/ |
H A D | util-tests.c | 565 unsigned int seed; local 571 seed = init_seed; 573 len = 1 + rand_r(&seed) % 14; 575 test[i] = 1 + rand_r(&seed) % 254; 579 fprintf(stdout, "test_murmurhash3_random seed: %u\n", init_seed);
|
/sssd/src/responder/nss/ |
H A D | nsssrv_mmap_cache.c | 60 uint32_t seed; /* pseudo-random seed to avoid collision attacks */ member in struct:sss_mc_ctx 200 return murmurhash3(key, len, mcc->seed) % MC_HT_ELEMS(mcc->ht_size); 1175 h->seed = mc_ctx->seed; 1311 /* generate a pseudo-random seed. 1314 mc_ctx->seed = rand_r(&rseed);
|
Completed in 2398 milliseconds