Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp2002742rda; Tue, 24 Oct 2023 09:21:20 -0700 (PDT) X-Google-Smtp-Source: AGHT+IECidR5rzrWWEmjPJ2WK+V64zzRTxb7QUi1w0ptU6Z2KcyxZA/OOZdSLoWRhLpN/RzOkIUt X-Received: by 2002:a05:6a00:9393:b0:6be:c6f7:f9fd with SMTP id ka19-20020a056a00939300b006bec6f7f9fdmr25290788pfb.11.1698164480304; Tue, 24 Oct 2023 09:21:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698164480; cv=none; d=google.com; s=arc-20160816; b=UnZ3kHiKtZ0wBGxFB/5XIxqe+0ejjBdl1i+hS2nW/FuZiTBQM4K4AlcoBIpciGhdUO P7nsP7iXaWvdHS+DjYvI3ViLhB/Fokb9S7e8s6C6pBqc745IX3SvjtTalvQHQtjlEP8F rmSDAweFFx4hcaIDtH9MTCrb6JF4V8a65nhPijTdOSxT96NN9Xom505RxkUbs/PQ6yOV F/p4z3n9V4KwL0Ez5em/zN1e/8yAnsdZFQfdUy+UgmaT8DtmrtnSOJsKZ0R9Jifca/h4 Czl/rMP08jvhLPH9twDw2KaBq8XxsIpyKEmFQWK374YEhXQ44F9r3BENSqMVLWFvO8js +fOg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=zKvuKpR6kDazmh6thDgnN9OKi8VRnTOS23Ea0LWxTCY=; fh=fqqaJGcTW3YJBUZ5ogs0l28P+DdVWFvboOwwsmcz240=; b=zLBhyMF5Q7T1qfJbjQ3t26WUggjqhHgbndUsrt5N+No3c2UEN/VV46TPDZjhw92GXN 40JSgXyffW7ayhYE4x5a7doNBAyAUOe9HKOta/38iF01CVvLeoBub7K+yd7BFBPHxJ5E IzGOmsberChV/BLdWwZvNz7d5NOXJOARzKLk4b85nHxvoMiLsZP0rUx7sdfuCAle/5AJ 4T0d7+/pP1EzuqH4G5Ttie9dgNgr6Zcb32pqCStt1ILQvnTolzNre4yCt9ckyvPFnPr8 wXUwUjnQk27oRFUsDrUipjDxJzZdqPLofyUiX6u+naiGpOhaG5jWzTt8KAw9cIWmgGf/ ab6A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sigma-star.at header.s=google header.b=SZgWCCKz; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=sigma-star.at Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id y28-20020aa79afc000000b006be3ce60e4csi8374619pfp.369.2023.10.24.09.21.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Oct 2023 09:21:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@sigma-star.at header.s=google header.b=SZgWCCKz; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=sigma-star.at Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 5C69980BA6AC; Tue, 24 Oct 2023 09:21:17 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343830AbjJXQVC (ORCPT + 99 others); Tue, 24 Oct 2023 12:21:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37528 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343853AbjJXQU4 (ORCPT ); Tue, 24 Oct 2023 12:20:56 -0400 Received: from mail-ed1-x532.google.com (mail-ed1-x532.google.com [IPv6:2a00:1450:4864:20::532]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D086610D1 for ; Tue, 24 Oct 2023 09:20:51 -0700 (PDT) Received: by mail-ed1-x532.google.com with SMTP id 4fb4d7f45d1cf-53df747cfe5so7340483a12.2 for ; Tue, 24 Oct 2023 09:20:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sigma-star.at; s=google; t=1698164449; x=1698769249; 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=SZgWCCKz7EWyqOQz96MOf8JAgDLazTvThwtgldeY+6stxPCKhqW1bzsDTgmKLrV7E9 pybPCMzE4PcAJNXDgZDywpLeSGx8v/tso5xAveVfKBPmhfApB1xn1s9LxkCwsbnCpPdV F5DUWnUrjv2DyLTsIQyz30XtvIOBqi5Wg/JnzAfINwaHGEJAxrw9rZmKnDEd1ciL7C1b 7de0rt8qOkWNVV3Xbfiq7RTh7ucMgbj4ng5EJtCc8m8HdnS6p2YDta+c+eFhn963o9fU 65QKq0PNmcVp7EgtLNQshE8P6Xs324k7afK/mgIgn6TG2q5EFZgmJFBD0o3wbM8ZPsGP hIQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698164449; x=1698769249; 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=I6z2X4WFSt+tWxZuFQ3Cqa9og4jX6OVykkUlugG9moxvwBBqNzVFMrwlbwzxht6o9Z oDwgNfNvobUV/n+F9YWCzC0koCDhHrcAxq2kFiKeZ1Zz5j4a9yJNpqBqsMa3AddbyUsu U4A8CY1pMTTHHovt7luHexnVj5DB2UyqlD8LQ9kWXi1fqskZW4rQ3R4fuwyEi3nUKIhc 27tuhMTJjqyrSUXWMP2wuQ8ahx8h1/rfo/HyO7XUtyJjr0CP017MvSF0LuTp+XjjHvDh hY2IvBHhpzZwVTaJ5punI6olMGoUIO/RLHlYn4XKbgF4dl3WhL4RWrE9/pMah3UULb09 8+Dg== X-Gm-Message-State: AOJu0YwfZDwoVDYtR2UAtIIr/sRKZFLyKbADdADIwNZIPlciVp3Bk251 9eAJP3yh+gXe408Mci6B2tLZMQ== X-Received: by 2002:a05:6402:50cc:b0:53e:5dad:dce7 with SMTP id h12-20020a05640250cc00b0053e5daddce7mr11006208edb.29.1698164449166; Tue, 24 Oct 2023 09:20:49 -0700 (PDT) Received: from localhost (clnet-p106-198.ikbnet.co.at. [83.175.106.198]) by smtp.gmail.com with UTF8SMTPSA id t20-20020a50ab54000000b00533e915923asm8352930edc.49.2023.10.24.09.20.47 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 24 Oct 2023 09:20:48 -0700 (PDT) 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 v4 4/5] docs: document DCP-backed trusted keys kernel params Date: Tue, 24 Oct 2023 18:20:18 +0200 Message-ID: <20231024162024.51260-5-david@sigma-star.at> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20231024162024.51260-1-david@sigma-star.at> References: <20231024162024.51260-1-david@sigma-star.at> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Tue, 24 Oct 2023 09:21:17 -0700 (PDT) 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