Received: by 2002:ab2:788f:0:b0:1ee:8f2e:70ae with SMTP id b15csp647712lqi; Thu, 7 Mar 2024 07:40:50 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXMSO/BpTAtXMJiwiCnqMdEn4KExaCdC7MMqIUQ6tpXv2CnMaOqYnBiODuEpF00Uvk8OZnSq/ZlKFaoBWl2eNv8su2piCWKJz3prJJQTg== X-Google-Smtp-Source: AGHT+IHLBRX5CPb12R1wsZoRUl1RuaPRfvXZqwgidv3QjL/uWLXodWctMJa1drdmQi77pJJFhbKw X-Received: by 2002:a05:620a:2114:b0:788:4600:192c with SMTP id l20-20020a05620a211400b007884600192cmr2452219qkl.20.1709826049799; Thu, 07 Mar 2024 07:40:49 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709826049; cv=pass; d=google.com; s=arc-20160816; b=swtpf8LGuJYzhkeRCdtZoMiT/y5Fsj/NEnIUbZ+VHXWUhVTXIat5F7CBStGOHxz90z UqpQbUKAC9XG1cIl92zu3K1YtTe1tLRS6M5QXICARZZDBYHegqlBIobRACN4Fax5ngCJ Cr+csOjvZ4jp5BISxv+M9rAmi2uqpdziIG8Raxg0b5boMFTWPm+tO4LY0c+QYYrP1y3E xSjeexIX5g5TYXa9ynRimWlLJCeZFkiVVKMusBYcOzHsphd0P5rCvbAmxzBOA1N3B6Nj 4IvGUZpAgDQCIg7rC8Rw2F5TgCSKXuZ81PVaaU6ktW6dTnS9jhR+DSXjwmn+7yCrQ+6l o5ng== ARC-Message-Signature: i=2; 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=q95Pv5eUd7/PCCDIkGY46bAHfemcttBtSKECUmP8rbg=; fh=nvG0rYRPurf++LekeKnabmFY73L/Nle6cPDg6sv5XZE=; b=GKJZgHGZ3ypaGRjhHV6yWsoa1w5rxW+GFbn1YGrhKTcnHJgxGNOftw/SLYjsq09W8Y lHMHfexHTjQorDp98VasEDx4gnstp+5qCOlz11cUBq2KEjxpdjHVs+Vm+XAFQ95RO7Co HH2YTIjQh+ITOG8GDa/8qAJNyHep9uM29iG8Nb64j2bppu67ivQNsG9n7l7xA8c4DHwx y/i2JZsoC8b/HrZcbQdraSzuk7+OM5K+RaryPsf/pWTuKoNSK0CrVzw2flghouAzk7S5 uNTCwD9Fj1sDvQME91mukWgdXIeryeJ4fyvfgi+uWuIStCls5Kl/pCaehPuezvWZlx+E J7IA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@sigma-star.at header.s=google header.b=VAEefIaw; arc=pass (i=1 spf=pass spfdomain=sigma-star.at dkim=pass dkdomain=sigma-star.at dmarc=pass fromdomain=sigma-star.at); spf=pass (google.com: domain of linux-crypto+bounces-2564-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-crypto+bounces-2564-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 ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id vw21-20020a05620a565500b007881dbf491asi11513139qkn.167.2024.03.07.07.40.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Mar 2024 07:40:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-crypto+bounces-2564-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@sigma-star.at header.s=google header.b=VAEefIaw; arc=pass (i=1 spf=pass spfdomain=sigma-star.at dkim=pass dkdomain=sigma-star.at dmarc=pass fromdomain=sigma-star.at); spf=pass (google.com: domain of linux-crypto+bounces-2564-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-crypto+bounces-2564-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 6BDA81C21800 for ; Thu, 7 Mar 2024 15:40:44 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 75E17130E46; Thu, 7 Mar 2024 15:39:15 +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="VAEefIaw" X-Original-To: linux-crypto@vger.kernel.org Received: from mail-ed1-f43.google.com (mail-ed1-f43.google.com [209.85.208.43]) (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 2B070130AF6 for ; Thu, 7 Mar 2024 15:39:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.43 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709825955; cv=none; b=FwH5j1ALG1gx4WlM6x85dGFTBoGrpFLetoCRh/ZZtRtxTxwLCQ8e0ikVhapJrs2SrUc7T1FKUccsumqE9oZT9SDlD1OxcyaQ0MPey2sqP/wtoIEzR93cThpcckLxMaWNfIlCH1Nzxp1FQKJUy/G/38a02R22fFgfw6c0J+l6eeE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709825955; c=relaxed/simple; bh=IoJ5PhDwmkZFYUe1jIRt3XY+XYejXNxDc1GhQecxiN0=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=Vj/jjz39BwzBENY36BC0HRUpyb4hNF8XbuKOJMxHbwP2JfMzR0+24oShPxhS8IBFbBwgR468uDDgaYVjuH1hqDz6ejw0cjlPzMLT8bzmZjs3hqq+6BWcz5S/1XF95liIRfOCecjVaFp0pWln0oU4lEiPRQcxpNhwKmCubGWNwgw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sigma-star.at; spf=pass smtp.mailfrom=sigma-star.at; dkim=pass (2048-bit key) header.d=sigma-star.at header.i=@sigma-star.at header.b=VAEefIaw; arc=none smtp.client-ip=209.85.208.43 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-ed1-f43.google.com with SMTP id 4fb4d7f45d1cf-5640fef9fa6so1199456a12.0 for ; Thu, 07 Mar 2024 07:39:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sigma-star.at; s=google; t=1709825951; x=1710430751; 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=q95Pv5eUd7/PCCDIkGY46bAHfemcttBtSKECUmP8rbg=; b=VAEefIawjg3T0EMzO060miLSluQ2j4JanLZgMzl00mJvqwgSMPPKXwZ9BJepZgjYkQ QnE4IS13xqUFvGK/2SHXykv0Q2biLLRBi42Remc8PMD3TpTDfEqELcub0UTe3QMJ8bfz YexEZi0lkba5r3Cs+Pqm9bKpVZJoXHAxhuZRGHQTpHvayfDeftj1wvQKNU2Sceroy1NT 1KQEERpIUAQnwIsVZTSegM4nk9MruwD1nsyByloMl/GBV0to/nq/js1vzS9g0pU7QbJ6 4YVNTeaWfcXV9e8J7rHqVVrjXliJKq/rIXFJU2EOOfXSsGHEj1AV81nfKfFknFeDaqkG 9r+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709825951; x=1710430751; 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=q95Pv5eUd7/PCCDIkGY46bAHfemcttBtSKECUmP8rbg=; b=wwAuzVkDW+ghS+/CpCYzmf1ZslnXbVa8PpRa3H5oFrg+dCyCsWWgQlLLRwNr06QwCd Co6sjZgr81d4XAOl/jL7Pz26U+KPOLqqKN/LTldqAtxpHRtUcwszPMtJ60yIi0sNdUPM ReajCwxV/MosQdYB0lOrulYZbsHhQN9KDrVqWr7ExkmN6cTi/PUZcqIOr4Wsfk49Z6gJ 1l6ETioAGobkgTWRSkPdWeBdCG3YCoZWbVtduKg2JJqmwpmCHVh3gSg99KJ0zMsukz2I Ec2nUGIXk+o3r3VK46SbfwnbaVdcmj7MunqYidhvvSa7QOaMS72b30cL+R0L6dTadIfa sMow== X-Forwarded-Encrypted: i=1; AJvYcCUhtk6s2erQmseDPijk9ZYB7ltDldokz+LJ1SOlEqaLqBLdwTEvjJa1epUo+djzhEEmUkxyvHalZWTtUBxBL7dl5tKN/KUmFdAUEKYv X-Gm-Message-State: AOJu0YyxJnxNsGiqmMMvwlr8eycR4ph7e/+eCrfzFby6jpYBlGXsMQZc tzA/PJ4JKRQ6WujD1LKJO098tvE2munAJua8BhEm3UU/1qoAHb74bi5dr1u4YSQ= X-Received: by 2002:a50:d514:0:b0:564:5c90:f521 with SMTP id u20-20020a50d514000000b005645c90f521mr115786edi.14.1709825951647; Thu, 07 Mar 2024 07:39:11 -0800 (PST) Received: from localhost ([82.150.214.1]) by smtp.gmail.com with UTF8SMTPSA id a26-20020a50c31a000000b00567f9d21b7csm1617918edb.94.2024.03.07.07.39.09 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 07 Mar 2024 07:39:11 -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 v6 5/6] docs: document DCP-backed trusted keys kernel params Date: Thu, 7 Mar 2024 16:38:32 +0100 Message-ID: <20240307153842.80033-6-david@sigma-star.at> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240307153842.80033-1-david@sigma-star.at> References: <20240307153842.80033-1-david@sigma-star.at> Precedence: bulk X-Mailing-List: linux-crypto@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 24c02c704049..b6944e57768a 100644 --- a/Documentation/admin-guide/kernel-parameters.txt +++ b/Documentation/admin-guide/kernel-parameters.txt @@ -6698,6 +6698,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 @@ -6713,6 +6714,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