Searched refs:hash_state (Results 1 – 3 of 3) sorted by relevance
/linux-6.12.1/crypto/ |
D | jitterentropy.h | 8 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);
|
D | jitterentropy.c | 71 void *hash_state; /* SENSITIVE hash state entropy pool */ member 438 return jent_hash_time(ec->hash_state, time, (u8 *)&addtl, sizeof(addtl), in jent_condition_data() 643 if (jent_read_random_block(ec->hash_state, p, tocopy)) in jent_read_entropy() 659 void *hash_state) in jent_entropy_collector_alloc() argument 689 entropy_collector->hash_state = hash_state; in jent_entropy_collector_alloc() 707 int jent_entropy_init(unsigned int osr, unsigned int flags, void *hash_state, in jent_entropy_init() argument 720 ec = jent_entropy_collector_alloc(osr, flags, hash_state); in jent_entropy_init()
|
D | jitterentropy-kcapi.c | 104 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()
|