Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp6592947rdb; Fri, 15 Dec 2023 03:08:49 -0800 (PST) X-Google-Smtp-Source: AGHT+IHruhIRg3tHRoiHBIOm7Nz36EguexXK2xkH5W4SwioF8RdFpmb92CIvpYOysCVQXK91qjkm X-Received: by 2002:a05:6512:1384:b0:50e:350:e40e with SMTP id fc4-20020a056512138400b0050e0350e40emr4912916lfb.39.1702638529424; Fri, 15 Dec 2023 03:08:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702638529; cv=none; d=google.com; s=arc-20160816; b=lFEAbQAWx3ctZel3NVa2k8k6buT2uB1aa6TFsEHC1W5FcVKTRpfXHS26WvtTtB3LSV 8rwxfHKTJ+Ysh6YP396bUw5etU+kk6vOeRmcrYir5tXbwje6dLHWOebZWJP0Gidzy6Ln F5yLgvmdp+Qp+O2+vcJd1OF28cBMk9xcAiZNcb6NnswWvQmHjg3OacgiKvNNAwo3Lue2 WCgCgHAxPp4ufwfBao3PzKtlTp79xMAdusaBkgpK5FP4Gh5DLLx1ARmApsQ4EjgUi3l+ FDePUid19kOj/YCZjWFrtNxnavM3IYN17L/pAwH9EhGhLUc/03GgScIs1/5QMLTcjTxo 3JPQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=zKvuKpR6kDazmh6thDgnN9OKi8VRnTOS23Ea0LWxTCY=; fh=fqqaJGcTW3YJBUZ5ogs0l28P+DdVWFvboOwwsmcz240=; b=h174e6qaFIqDZlnKP6Kc8Vm9a+y32iLstalxkwdtnScPpRShlgYsGbRVuLZGRtm2Eq NlIxJl+HrySgEXVzKoAkJ+M0w0yQgm8E5oWfP+OiwziQ9vzzC/0bTiJ/A4jKX1s68QAp RK9oaOrNzF67EqdAb5fZ+8ALC0Hfa+qVmrCXlqQYDUag8ZcAdJzDDpVMttZRQG8DqMJ/ mug1gHDyiV6GvboxjP8Nt6cYx5QglDeAJyW8GCZR9CJrC1c+NtfFD8h9EVES6dWXaOoq OIEBTPfqiVOGvh+XPF+4yyDjFf1b/4U5+/QuOwRqnSt19Fs1c54b9BHF5+698szCfgCQ /4fg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sigma-star.at header.s=google header.b=H6hP073X; spf=pass (google.com: domain of linux-kernel+bounces-799-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-799-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=sigma-star.at Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id i21-20020a170906265500b00a1d9c814196si6974585ejc.563.2023.12.15.03.08.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Dec 2023 03:08:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-799-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@sigma-star.at header.s=google header.b=H6hP073X; spf=pass (google.com: domain of linux-kernel+bounces-799-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-799-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=sigma-star.at Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id F10731F24443 for ; Fri, 15 Dec 2023 11:08:48 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8F7F72DB6D; Fri, 15 Dec 2023 11:07:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=sigma-star.at header.i=@sigma-star.at header.b="H6hP073X" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-wm1-f54.google.com (mail-wm1-f54.google.com [209.85.128.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 11C932C863 for ; Fri, 15 Dec 2023 11:07:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sigma-star.at Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sigma-star.at Received: by mail-wm1-f54.google.com with SMTP id 5b1f17b1804b1-40c2db2ee28so6539175e9.2 for ; Fri, 15 Dec 2023 03:07:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sigma-star.at; s=google; t=1702638437; x=1703243237; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=zKvuKpR6kDazmh6thDgnN9OKi8VRnTOS23Ea0LWxTCY=; b=H6hP073XdI8sNYFqrRvki+deJElHiGxj+CjtcHdau2MbjA90dsmQFVJebe8CoI2D0t S3HKMJjvlCDR6P/UJvMj/XYVglDo/AN0E3iFvxaMTd8d3p+/ztSK/CR9e67kPHJLB1PW J/XgShDuTf9P/H4AWVJXmnvlhe56YQLt17Azl8j6PaC+xecA99P2nvObAFqKvvyoGYEp PE+CpnEv166LbhC1/bR3nE/DuwdKZjyKYUbpey2Iyv5hytvM7VR4KrVRQvqheKUVNfK1 Yofh3ss1JfVzsYjHyEU5HYo53njLQfi3B2YiMW385X66esUg92SCjNOPc5ZJVdDuhvZY aWFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702638437; x=1703243237; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=zKvuKpR6kDazmh6thDgnN9OKi8VRnTOS23Ea0LWxTCY=; b=XJt6VY8aAgQFalzJUCKXkjyPeB4QbEQVnI6TkQPx30Yb7Qr6OnTc2alJnkBt7q6LIX n7wGYAZ+rH3hOllJCpou6ITby82D4cX4naYyZTv/UDVxsRtTj0d3pf2IAsO4Cap03cMf DDstTF8i4ZUPKuokrAiGZHVERqnHg3Jx/MNSwuoXzoy8kQBrisG3osIc/xG0NmZVUK2R ZcZ44Cf3hlSe9H4swfi7kqbdvAKutHHBi3ik+2vshfkWnjMPGQPrH+pRlXHb8ZyjU/Xd TdC2wB9msDvbLPo9gyWZ3MA8gIepdAwDuJl771/S6Oxo3KpFJnBCSp2QE+OoLVD6Vy4l U+CA== X-Gm-Message-State: AOJu0YwQhHVdRUacUjMemQkSha88pq0Rl7CY+94jNwnY5Kp9S9q63Ki+ qcPTFGtgCKaswS0mgB5AWOB/og== X-Received: by 2002:a05:600c:6743:b0:40c:3e98:56aa with SMTP id ea3-20020a05600c674300b0040c3e9856aamr6248633wmb.129.1702638437141; Fri, 15 Dec 2023 03:07:17 -0800 (PST) Received: from localhost (clnet-p106-198.ikbnet.co.at. [83.175.106.198]) by smtp.gmail.com with UTF8SMTPSA id t9-20020a05600c198900b0040c490db950sm18462328wmq.47.2023.12.15.03.07.16 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 15 Dec 2023 03:07:16 -0800 (PST) From: David Gstir To: Mimi Zohar , James Bottomley , Jarkko Sakkinen , Herbert Xu , "David S. Miller" Cc: David Gstir , Shawn Guo , Jonathan Corbet , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Ahmad Fatoum , sigma star Kernel Team , David Howells , Li Yang , Paul Moore , James Morris , "Serge E. Hallyn" , "Paul E. McKenney" , Randy Dunlap , Catalin Marinas , "Rafael J. Wysocki" , Tejun Heo , "Steven Rostedt (Google)" , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-integrity@vger.kernel.org, keyrings@vger.kernel.org, linux-crypto@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linuxppc-dev@lists.ozlabs.org, linux-security-module@vger.kernel.org, Richard Weinberger , David Oberhollenzer Subject: [PATCH v5 5/6] docs: document DCP-backed trusted keys kernel params Date: Fri, 15 Dec 2023 12:06:32 +0100 Message-ID: <20231215110639.45522-6-david@sigma-star.at> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20231215110639.45522-1-david@sigma-star.at> References: <20231215110639.45522-1-david@sigma-star.at> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Document the kernel parameters trusted.dcp_use_otp_key and trusted.dcp_skip_zk_test for DCP-backed trusted keys. Co-developed-by: Richard Weinberger Signed-off-by: Richard Weinberger Co-developed-by: David Oberhollenzer Signed-off-by: David Oberhollenzer Signed-off-by: David Gstir --- Documentation/admin-guide/kernel-parameters.txt | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt index 0a1731a0f0ef..c11eda8b38e0 100644 --- a/Documentation/admin-guide/kernel-parameters.txt +++ b/Documentation/admin-guide/kernel-parameters.txt @@ -6566,6 +6566,7 @@ - "tpm" - "tee" - "caam" + - "dcp" If not specified then it defaults to iterating through the trust source list starting with TPM and assigns the first trust source as a backend which is initialized @@ -6581,6 +6582,18 @@ If not specified, "default" is used. In this case, the RNG's choice is left to each individual trust source. + trusted.dcp_use_otp_key + This is intended to be used in combination with + trusted.source=dcp and will select the DCP OTP key + instead of the DCP UNIQUE key blob encryption. + + trusted.dcp_skip_zk_test + This is intended to be used in combination with + trusted.source=dcp and will disable the check if all + the blob key is zero'ed. This is helpful for situations where + having this key zero'ed is acceptable. E.g. in testing + scenarios. + tsc= Disable clocksource stability checks for TSC. Format: [x86] reliable: mark tsc clocksource as reliable, this -- 2.35.3