Home
last modified time | relevance | path

Searched refs:hash_state (Results 1 - 5 of 5) sorted by relevance

/kernel/linux/linux-6.6/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()
480 * Function fills rand_data->hash_state
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()
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 in jent_entropy_init()
581 jent_entropy_collector_alloc(unsigned int osr, unsigned int flags, void *hash_state) jent_entropy_collector_alloc() argument
[all...]
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()
/kernel/linux/linux-5.10/drivers/crypto/ux500/hash/
H A Dhash_alg.h210 * struct hash_state - Hash context state.
230 struct hash_state { struct
344 struct hash_state state;
376 struct hash_state state; /* Used for saving and resuming state */
393 struct hash_state *state);
396 const struct hash_state *state);
H A Dhash_core.c558 memset(&req_ctx->state, 0, sizeof(struct hash_state)); in ux500_hash_init()
1134 const struct hash_state *device_state) in hash_resume_state()
1192 struct hash_state *device_state) in hash_save_state()

Completed in 6 milliseconds