freebsd-src/sys/dev/random
Colin Percival 32fce09268 random: Avoid magic numbers
Move RANDOM_FORTUNA_{NPOOLS,DEFPOOLSIZE} from fortuna.c to fortuna.h
and use RANDOM_FORTUNA_DEFPOOLSIZE in random_harvestq.c rather than
having a magic (albeit explained in a comment) number.  The NPOOLS
value will be used in a later commit.

Reviewed by:	cem
MFC after:	1 week
Sponsored by:	Amazon
Differential Revision:	https://reviews.freebsd.org/D46693
2024-09-22 00:35:47 -07:00
..
fenestrasX sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
armv8rng.c armv8rng: Don't require toolchain to support FEAT_RNG 2023-12-01 23:59:07 +00:00
build.sh sys: Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:54:58 -06:00
darn.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
fortuna.c random: Avoid magic numbers 2024-09-22 00:35:47 -07:00
fortuna.h random: Avoid magic numbers 2024-09-22 00:35:47 -07:00
hash.c random(4): Fix a typo in a source code comment 2024-02-22 16:54:50 +01:00
hash.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
ivy.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
nehemiah.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
other_algorithm.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
other_algorithm.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
random_harvestq.c random: Avoid magic numbers 2024-09-22 00:35:47 -07:00
random_harvestq.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
random_infra.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
randomdev.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
randomdev.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
uint128.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
unit_test.c sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
unit_test.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00