Home
last modified time | relevance | path

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

/linux/crypto/
A Djitterentropy.c661 struct rand_data *entropy_collector; in jent_entropy_collector_alloc() local
664 if (!entropy_collector) in jent_entropy_collector_alloc()
672 if (!entropy_collector->mem) { in jent_entropy_collector_alloc()
673 jent_zfree(entropy_collector); in jent_entropy_collector_alloc()
676 entropy_collector->memblocksize = in jent_entropy_collector_alloc()
678 entropy_collector->memblocks = in jent_entropy_collector_alloc()
686 entropy_collector->osr = osr; in jent_entropy_collector_alloc()
687 entropy_collector->flags = flags; in jent_entropy_collector_alloc()
697 return entropy_collector; in jent_entropy_collector_alloc()
703 entropy_collector->mem = NULL; in jent_entropy_collector_free()
[all …]
A Djitterentropy-kcapi.c195 struct rand_data *entropy_collector; member
216 if (rng->entropy_collector) in jent_kcapi_cleanup()
217 jent_entropy_collector_free(rng->entropy_collector); in jent_kcapi_cleanup()
218 rng->entropy_collector = NULL; in jent_kcapi_cleanup()
258 rng->entropy_collector = in jent_kcapi_init()
261 if (!rng->entropy_collector) { in jent_kcapi_init()
283 ret = jent_read_entropy(rng->entropy_collector, rdata, dlen); in jent_kcapi_random()
A Djitterentropy.h22 extern void jent_entropy_collector_free(struct rand_data *entropy_collector);

Completed in 608 milliseconds