From nobody Fri Jun 17 09:43:53 2022 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 9C1FD85D9C6; Fri, 17 Jun 2022 09:43:53 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LPYyd3qSkz4dZ4; Fri, 17 Jun 2022 09:43:53 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1655459033; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=xnG6sCI8uZdMllnn48U8BiEl9g6/wdFocXmKpwJrbGc=; b=wJM/ORSI4xR3GMnVGyarVna23OITIZf0tFyqCiPVk5zRG37kKxjqXMltJasqmsA8h1m1WZ DXfIv1zKJinvyKNnG2p3HvA9sXBp8xew6KZ4NECKF9Wgn3P7WlLmEBCY7AdyUd3BxmDNJw TCSTjkw4a0sQamqk+DQbaJ2/lOWY5sSkY/MTAtjbrXvyr9MictkjNbHZCGnlPBdJwqTpJQ 93YfZiY65iyGExvd30V9zQL/ZpqUzi8YgsswbIJKOjW113JnVert4YUQ4Pd9vvuVO8dTVg A4VjjPoVirqj75nRZbd5JxB1UlpYiUJcPRISbimm8ehhbhFk90OmnRW/6GRuUg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 633301CF78; Fri, 17 Jun 2022 09:43:53 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 25H9hrXh012861; Fri, 17 Jun 2022 09:43:53 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 25H9hrf2012860; Fri, 17 Jun 2022 09:43:53 GMT (envelope-from git) Date: Fri, 17 Jun 2022 09:43:53 GMT Message-Id: <202206170943.25H9hrf2012860@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Andrew Turner Subject: git: 0b040a48096a - main - Fix the random source descriptions List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: andrew X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 0b040a48096aa1ead3076810bdb4818cff47c6ac Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1655459033; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=xnG6sCI8uZdMllnn48U8BiEl9g6/wdFocXmKpwJrbGc=; b=BANuCPt5qQGslw/PbnSxP/94WwgMZBF4F5QiGxyZFpsIzJ0bZ5TqkxXK+kvekOSw/Y6fiz Hi/oh4dSl9TD8in2frIpNbalYP+NM2DlpEuz11l2n+IbzHkR0Qz9UoKdZXdshOmK5jNdQ3 Y1fI8VPl5pH7kPIQZSCcvxvkcM8gCUnYHSR8TV0AY7TP2psJtiFcNrAfFFEsYLNnkH83PI m9ExuLaZv9qXsFXgMVv8eVPm+uVDfNS5bmE8bYo5VTzye5uzEHBZB7p9JA/JlOSuwgexub KJDRm5dRda/khie/xOkIm0/sjhZono2cx5iA6fdegcYh2dBA0rwC7Iuim1Xf2g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1655459033; a=rsa-sha256; cv=none; b=eYmfMDAIgZ7VYAGotbjMlqlTb4b+237YVROHGZBPIsxBYaTCCQhOPI4eJatcCuzVuMELSf KiCSvwSR3tw1BLUZh5MI4fYv1eGE2sHjUg6tbr/uHi4Ppf0jRmU8lGJYSA6Wg1203kyw4h zNo1wUD36gR7Ytl7kAHCkVxTL/jrPlOANExKxderhPhllIiTdkMm3jZV6uAAYWX0KOmJ7k SeLN/6YMQTSpX1HpWTPc99Pjh6VBe+3uaH/9e3E2YiRi2rH5iSXkVwJF5vBbyMz56vlfle lxrD3cILf3IX5aKHI238zGe+oGZX9TuWibrKrQqpQDyxAqyoQ9fkGrqudmDPPw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by andrew: URL: https://cgit.FreeBSD.org/src/commit/?id=0b040a48096aa1ead3076810bdb4818cff47c6ac commit 0b040a48096aa1ead3076810bdb4818cff47c6ac Author: Andrew Turner AuthorDate: 2022-06-06 12:11:19 +0000 Commit: Andrew Turner 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" */ };