nvme-keyring: register '.nvme' keyring

Register a '.nvme' keyring to hold keys for TLS and DH-HMAC-CHAP and
add a new config option NVME_KEYRING.
We need a separate keyring for NVMe as the configuration is done
via individual commands (eg for configfs), and the usual per-session
or per-process keyrings can't be used.

Signed-off-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Keith Busch <kbusch@kernel.org>
This commit is contained in:
Hannes Reinecke
2023-08-24 16:39:08 +02:00
committed by Keith Busch
parent ccd3129aca
commit 9d77eb5277
5 changed files with 82 additions and 3 deletions

View File

@@ -2,3 +2,7 @@
config NVME_COMMON
tristate
config NVME_KEYRING
bool
select KEYS