All of lore.kernel.org
 help / color / mirror / Atom feed
From: Quirin Gylstorff <Quirin.Gylstorff@siemens.com>
To: jan.kiszka@siemens.com, cip-dev@lists.cip-project.org
Subject: [cip-dev][isar-cip-core][PATCH 3/4] linux: Add missing kernel option for LUKS2 encrpyted partitions
Date: Fri, 21 Apr 2023 16:23:32 +0200	[thread overview]
Message-ID: <20230421142333.3906250-4-Quirin.Gylstorff@siemens.com> (raw)
In-Reply-To: <20230421142333.3906250-1-Quirin.Gylstorff@siemens.com>

From: Quirin Gylstorff <quirin.gylstorff@siemens.com>

cryptsetup uses the user api of `CONFIG_CRYPTO_USER_API_SKCIPHER`
to generate the keys.

Signed-off-by: Quirin Gylstorff <quirin.gylstorff@siemens.com>
---
 recipes-kernel/linux/files/buster-crypt.cfg | 2 ++
 recipes-kernel/linux/linux-cip-common.inc   | 1 +
 2 files changed, 3 insertions(+)
 create mode 100644 recipes-kernel/linux/files/buster-crypt.cfg

diff --git a/recipes-kernel/linux/files/buster-crypt.cfg b/recipes-kernel/linux/files/buster-crypt.cfg
new file mode 100644
index 0000000..e3ca518
--- /dev/null
+++ b/recipes-kernel/linux/files/buster-crypt.cfg
@@ -0,0 +1,2 @@
+CONFIG_CRYPTO_USER_API_SKCIPHER=y
+
diff --git a/recipes-kernel/linux/linux-cip-common.inc b/recipes-kernel/linux/linux-cip-common.inc
index 2d878a1..bcd6ee5 100644
--- a/recipes-kernel/linux/linux-cip-common.inc
+++ b/recipes-kernel/linux/linux-cip-common.inc
@@ -24,5 +24,6 @@ SRC_URI:append = " ${@ "git://gitlab.com/cip-project/cip-kernel/cip-kernel-confi
     }"
 
 SRCREV_cip-kernel-config ?= "0188d9a54615767c00b77116146409edfa35497c"
+SRC_URI:buster:append = "file://buster-crypt.cfg"
 
 S = "${WORKDIR}/linux-cip-${PV}"
-- 
2.39.2



  parent reply	other threads:[~2023-04-21 14:23 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-21 14:23 [cip-dev][isar-cip-core][PATCH 0/4] Fixes for secure boot and Quirin Gylstorff
2023-04-21 14:23 ` [cip-dev][isar-cip-core][PATCH 1/4] secure-boot-secrets: Use distro specific snakeoil certs and keys Quirin Gylstorff
2023-04-21 14:23 ` [cip-dev][isar-cip-core][PATCH 2/4] initramfs-crypt-hook: Add support for buster Quirin Gylstorff
2023-04-21 14:23 ` Quirin Gylstorff [this message]
2023-04-21 14:23 ` [cip-dev][isar-cip-core][PATCH 4/4] initramfs-crypt-hook: Add libcryptsetup-token-systemd-tpm2.so Quirin Gylstorff

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230421142333.3906250-4-Quirin.Gylstorff@siemens.com \
    --to=quirin.gylstorff@siemens.com \
    --cc=cip-dev@lists.cip-project.org \
    --cc=jan.kiszka@siemens.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.