diff options
author | markm <markm@FreeBSD.org> | 2013-10-06 09:55:28 +0000 |
---|---|---|
committer | markm <markm@FreeBSD.org> | 2013-10-06 09:55:28 +0000 |
commit | efb299b5bd4b07ba1bee39b550375dd6771baabe (patch) | |
tree | 62bd76f5e2f9f64639531f96df64626d889df1db /sys/dev/random/randomdev.h | |
parent | 21998ad6881d6d9abdfd231ea6a267465f7d3e93 (diff) | |
download | FreeBSD-src-efb299b5bd4b07ba1bee39b550375dd6771baabe.zip FreeBSD-src-efb299b5bd4b07ba1bee39b550375dd6771baabe.tar.gz |
SNAPSHOT.
Simplify the malloc pools; We only need one for this device.
Simplify the harvest queue.
Marginally improve the entropy pool hashing, making it a bit faster in the process.
Connect up the hardware "live" source harvesting. This is simplistic for now, and will need to be made rate-adaptive.
All of the above passes a compile test but needs to be debugged.
Diffstat (limited to 'sys/dev/random/randomdev.h')
-rw-r--r-- | sys/dev/random/randomdev.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/random/randomdev.h b/sys/dev/random/randomdev.h index a0e002f..3afa943 100644 --- a/sys/dev/random/randomdev.h +++ b/sys/dev/random/randomdev.h @@ -30,6 +30,8 @@ * and non algorithm-specific for the entropy processor */ +MALLOC_DECLARE(M_ENTROPY); + typedef void random_init_func_t(void); typedef void random_deinit_func_t(void); typedef int random_block_func_t(int); |