git: 0b040a48096a - main - Fix the random source descriptions
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 17 Jun 2022 09:43:53 UTC
The branch main has been updated by andrew: URL: https://cgit.FreeBSD.org/src/commit/?id=0b040a48096aa1ead3076810bdb4818cff47c6ac commit 0b040a48096aa1ead3076810bdb4818cff47c6ac Author: Andrew Turner <andrew@FreeBSD.org> AuthorDate: 2022-06-06 12:11:19 +0000 Commit: Andrew Turner <andrew@FreeBSD.org> CommitDate: 2022-06-17 09:36:17 +0000 Fix the random source descriptions - Add the missing RANDOM_PURE_QUALCOMM description - Make RANDOM_PURE_VMGENID consistent with the other pure sources by including "PURE_" in the description. Approved by: csprng (cem) Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D35412 --- sys/dev/random/random_harvestq.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/dev/random/random_harvestq.c b/sys/dev/random/random_harvestq.c index 6d3e9534e15b..1eeb46a22073 100644 --- a/sys/dev/random/random_harvestq.c +++ b/sys/dev/random/random_harvestq.c @@ -363,7 +363,8 @@ static const char *random_source_descr[ENTROPYSOURCE] = { [RANDOM_PURE_CCP] = "PURE_CCP", [RANDOM_PURE_DARN] = "PURE_DARN", [RANDOM_PURE_TPM] = "PURE_TPM", - [RANDOM_PURE_VMGENID] = "VMGENID", + [RANDOM_PURE_VMGENID] = "PURE_VMGENID", + [RANDOM_PURE_QUALCOMM] = "PURE_QUALCOMM", /* "ENTROPYSOURCE" */ };