Searched defs:seed (Results 1 - 8 of 8) sorted by relevance
| /dovecot/src/lib-otp/ |
| H A D | otp.h | 14 char seed[OTP_MAX_SEED_LEN + 1]; member in struct:otp_state
|
| H A D | otp-hash.c | 140 void otp_hash(unsigned int algo, const char *seed, const char *passphrase, argument 146 digest_update(&ctx, seed, strlen(seed));
|
| /dovecot/src/lib/ |
| H A D | test-murmurhash3.c | 9 uint32_t seed; member in struct:murmur3_test_vectors 23 func(vectors[i].input, vectors[i].len, vectors[i].seed, result);
|
| H A D | bloomfilter.c | 17 uint32_t seed; member in struct:bloomfilter 36 uint32_t seed) 40 and seed, and remaining 64 bits. */ 43 (((size_t)seed) << 32); 46 all the successive 32 bit values into one together with seed. */ 51 seed; 55 size_t bloomfilter_murmur3_hash(const void *data, size_t len, uint32_t seed) argument 58 murmurhash3_128(data, len, seed, result); 59 /* murmur includes seed already */ 63 size_t bloomfilter_md5_hash(const void *data, size_t len, uint32_t seed) argument 35 bloomfilter_hash_fold(unsigned char result[STATIC_ARRAY BLOOMFILTER_HASH_BYTES], uint32_t seed) argument [all...] |
| H A D | randgen.c | 16 kiss_init(unsigned int seed) argument 18 i_info("Random numbers are PRNG using kiss, as per DOVECOT_SRAND=%u", seed); 19 kiss_seed = seed; 21 kiss_z = 1 ^ (kiss_w = kiss_jcong = seed); /* w=z=0 is bad, see Rose */ 38 return -1; /* not using a deterministic PRNG, seed is irrelevant */ 145 unsigned int seed = 0; local 153 if (env_seed != NULL && str_to_uint(env_seed, &seed) >= 0) { 154 kiss_init(seed); 169 random_fill(&seed, sizeof(seed)); [all...] |
| H A D | murmurhash3.c | 45 void murmurhash3_32 (const void *key, size_t len, uint32_t seed, argument 51 uint32_t h1 = seed; 120 void murmurhash3_128(const void *key, size_t len, uint32_t seed, argument 126 uint64_t h1 = seed; 127 uint64_t h2 = seed; 215 void murmurhash3_128(const void *key, size_t len, uint32_t seed, argument 221 uint32_t h1 = seed; 222 uint32_t h2 = seed; 223 uint32_t h3 = seed; 224 uint32_t h4 = seed; [all...] |
| /dovecot/src/lib-test/ |
| H A D | test-common.c | 70 unsigned int seed; local 71 if (rand_get_last_seed(&seed) < 0) { 78 if (seed == seen_seed) 80 seen_seed = seed; 81 printf("test: DOVECOT_SRAND random seed was %u\n", seed);
|
| /dovecot/src/lib-dcrypt/ |
| H A D | ostream-encrypt.c | 140 unsigned char seed[IO_STREAM_ENCRYPT_SEED_SIZE]; local 156 hash->loop(hctx, seed, sizeof(seed)); 181 random_fill(seed, sizeof(seed)); 183 hash->loop(hctx, seed, sizeof(seed)); 194 !dcrypt_ctx_sym_update(dctx, seed, sizeof(seed), encrypted_key, &error) || 201 safe_memset(seed, [all...] |
Completed in 71 milliseconds