Home
last modified time | relevance | path

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

/openbmc/linux/crypto/
H A Djitterentropy.h6 extern int jent_hash_time(void *hash_state, __u64 time, u8 *addtl,
9 int jent_read_random_block(void *hash_state, char *dst, unsigned int dst_len);
12 extern int jent_entropy_init(void *hash_state);
18 void *hash_state);
H A Djitterentropy.c71 void *hash_state; /* SENSITIVE hash state entropy pool */ member
369 return jent_hash_time(ec->hash_state, time, (u8 *)&addtl, sizeof(addtl), in jent_condition_data()
557 if (jent_entropy_init(ec->hash_state)) in jent_read_entropy()
567 if (jent_read_random_block(ec->hash_state, p, tocopy)) in jent_read_entropy()
583 void *hash_state) in jent_entropy_collector_alloc() argument
610 entropy_collector->hash_state = hash_state; in jent_entropy_collector_alloc()
625 int jent_entropy_init(void *hash_state) in jent_entropy_init() argument
638 ec.hash_state = hash_state; in jent_entropy_init()
H A Djitterentropy-kcapi.c94 int jent_hash_time(void *hash_state, __u64 time, u8 *addtl, in jent_hash_time() argument
98 struct shash_desc *hash_state_desc = (struct shash_desc *)hash_state; in jent_hash_time()
162 int jent_read_random_block(void *hash_state, char *dst, unsigned int dst_len) in jent_read_random_block() argument
164 struct shash_desc *hash_state_desc = (struct shash_desc *)hash_state; in jent_read_random_block()