opnsense-src/sys/dev/random
Colin Percival 0e9cdcc514 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

(cherry picked from commit 32fce09268ddd97efb4412529ba57293554c5985)
2024-09-29 08:24:52 -07:00
..
fenestrasX sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
build.sh sys: Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:54:58 -06:00
darn.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
fortuna.c random: Avoid magic numbers 2024-09-29 08:24:52 -07:00
fortuna.h random: Avoid magic numbers 2024-09-29 08:24:52 -07:00
hash.c random(4): Fix a typo in a source code comment 2024-02-25 08:43:02 +01:00
hash.h
ivy.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
nehemiah.c nehemiah RNG: Switch to using FPU_KERN_NOCTX 2023-12-29 13:49:41 -08:00
other_algorithm.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
other_algorithm.h
random_harvestq.c random: Avoid magic numbers 2024-09-29 08:24:52 -07:00
random_harvestq.h
random_infra.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
randomdev.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
randomdev.h
uint128.h
unit_test.c
unit_test.h