Home
last modified time | relevance | path

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

/linux-6.3-rc2/crypto/
A Djitterentropy.c674 struct rand_data *entropy_collector; in jent_entropy_collector_alloc() local
677 if (!entropy_collector) in jent_entropy_collector_alloc()
685 if (!entropy_collector->mem) { in jent_entropy_collector_alloc()
686 jent_zfree(entropy_collector); in jent_entropy_collector_alloc()
690 entropy_collector->memblocks = JENT_MEMORY_BLOCKS; in jent_entropy_collector_alloc()
697 entropy_collector->osr = osr; in jent_entropy_collector_alloc()
700 jent_gen_entropy(entropy_collector); in jent_entropy_collector_alloc()
702 return entropy_collector; in jent_entropy_collector_alloc()
707 jent_zfree(entropy_collector->mem); in jent_entropy_collector_free()
708 entropy_collector->mem = NULL; in jent_entropy_collector_free()
[all …]
A Djitterentropy-kcapi.c104 struct rand_data *entropy_collector; member
113 rng->entropy_collector = jent_entropy_collector_alloc(1, 0); in jent_kcapi_init()
114 if (!rng->entropy_collector) in jent_kcapi_init()
126 if (rng->entropy_collector) in jent_kcapi_cleanup()
127 jent_entropy_collector_free(rng->entropy_collector); in jent_kcapi_cleanup()
128 rng->entropy_collector = NULL; in jent_kcapi_cleanup()
147 ret = jent_read_entropy(rng->entropy_collector, rdata, dlen); in jent_kcapi_random()
A Djitterentropy.h16 extern void jent_entropy_collector_free(struct rand_data *entropy_collector);

Completed in 5 milliseconds