From patchwork Fri Feb 17 13:05:39 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Quirin Gylstorff X-Patchwork-Id: 13144668 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id C1698C636D4 for ; Fri, 17 Feb 2023 13:05:53 +0000 (UTC) Received: from mta-64-228.siemens.flowmailer.net (mta-64-228.siemens.flowmailer.net [185.136.64.228]) by mx.groups.io with SMTP id smtpd.web11.5826.1676639146779532522 for ; Fri, 17 Feb 2023 05:05:47 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=Quirin.Gylstorff@siemens.com header.s=fm1 header.b=ULgEvMLc; spf=pass (domain: rts-flowmailer.siemens.com, ip: 185.136.64.228, mailfrom: fm-51332-20230217130544d848d80d09e109085f-ln5zzl@rts-flowmailer.siemens.com) Received: by mta-64-228.siemens.flowmailer.net with ESMTPSA id 20230217130544d848d80d09e109085f for ; Fri, 17 Feb 2023 14:05:44 +0100 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; s=fm1; d=siemens.com; i=Quirin.Gylstorff@siemens.com; h=Date:From:Subject:To:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:References:In-Reply-To; bh=caArp2d42yTG8RU3TzDSmpiTjk6zy0UoNsrCJQTzPyg=; b=ULgEvMLcu0kvDoAlzCX1ssPgGUL3Br5UZGWfyEn3Eo1nYb/QSgXqtjxoiMXYiumXTeZ0JI SaYEOn6R/DvXRqz5m3W4pVFPlYArGObj/rhCWUCxzxBwoC+pnpFnjfzmxWeMLzN3H1DARh23 gMdzVMBaVqEeioKw+U3py72RddL8M=; From: Quirin Gylstorff To: cip-dev@lists.cip-project.org, christian.storm@siemens.com, jan.kiszka@siemens.com Subject: [cip-dev][isar-cip-core][RFC v2 6/7] KConfig: add tpm option Date: Fri, 17 Feb 2023 14:05:39 +0100 Message-Id: <20230217130540.509910-7-Quirin.Gylstorff@siemens.com> In-Reply-To: <20230217130540.509910-1-Quirin.Gylstorff@siemens.com> References: <20230217130540.509910-1-Quirin.Gylstorff@siemens.com> MIME-Version: 1.0 X-Flowmailer-Platform: Siemens Feedback-ID: 519:519-51332:519-21489:flowmailer List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 17 Feb 2023 13:05:53 -0000 X-Groupsio-URL: https://lists.cip-project.org/g/cip-dev/message/10720 From: Quirin Gylstorff Signed-off-by: Quirin Gylstorff --- Kconfig | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Kconfig b/Kconfig index cd24ce2..d976e5b 100644 --- a/Kconfig +++ b/Kconfig @@ -189,4 +189,12 @@ config KAS_INCLUDE_SWUPDATE_SECBOOT default "kas/opt/ebg-swu.yml" if IMAGE_SWUPDATE && !IMAGE_SECURE_BOOT default "kas/opt/ebg-secure-boot-snakeoil.yml" if IMAGE_SECURE_BOOT +config IMAGE_TPM2_ENCRYPTION + bool "Encrypt partitions on first boot with TPM2" + depends on TARGET_QEMU_AMD64 + +config KAS_IMAGE_TPM2_ENCRYPTION + string + default "kas/opt/tpm.yml" if IMAGE_TPM2_ENCRYPTION + endif