Home
last modified time | relevance | path

Searched refs:hash_state (Results 1 – 3 of 3) sorted by relevance

/linux/crypto/
H A Djitterentropy.h8 extern int jent_hash_time(void *hash_state, __u64 time, u8 *addtl,
11 int jent_read_random_block(void *hash_state, char *dst, unsigned int dst_len);
15 void *hash_state, struct rand_data *p_ec);
21 void *hash_state);
H A Djitterentropy.c71 void *hash_state; /* SENSITIVE hash state entropy pool */ member
437 return jent_hash_time(ec->hash_state, time, (u8 *)&addtl, sizeof(addtl), in jent_condition_data()
645 if (jent_read_random_block(ec->hash_state, p, tocopy)) in jent_read_entropy()
661 void *hash_state) in jent_entropy_collector_alloc() argument
691 entropy_collector->hash_state = hash_state; in jent_entropy_collector_alloc()
709 int jent_entropy_init(unsigned int osr, unsigned int flags, void *hash_state, in jent_entropy_init() argument
722 ec = jent_entropy_collector_alloc(osr, flags, hash_state); in jent_entropy_init()
H A Djitterentropy-kcapi.c104 int jent_hash_time(void *hash_state, __u64 time, u8 *addtl, in jent_hash_time() argument
108 struct shash_desc *hash_state_desc = (struct shash_desc *)hash_state; in jent_hash_time()
172 int jent_read_random_block(void *hash_state, char *dst, unsigned int dst_len) in jent_read_random_block() argument
174 struct shash_desc *hash_state_desc = (struct shash_desc *)hash_state; in jent_read_random_block()