mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-15 23:14:31 +08:00
db1312dd95
Implement NVMe-oF In-Band authentication according to NVMe TPAR 8006. This patch adds three additional configfs entries 'dhchap_key', 'dhchap_ctrl_key', and 'dhchap_hash' to the 'host' configfs directory. The 'dhchap_key' and 'dhchap_ctrl_key' entries need to be in the ASCII format as specified in NVMe Base Specification v2.0 section 8.13.5.8 'Secret representation'. 'dhchap_hash' defaults to 'hmac(sha256)', and can be written to to switch to a different HMAC algorithm. Signed-off-by: Hannes Reinecke <hare@suse.de> Reviewed-by: Sagi Grimberg <sagi@grimberg.me> Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
23 lines
736 B
Makefile
23 lines
736 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
ccflags-y += -I$(src)
|
|
|
|
obj-$(CONFIG_NVME_TARGET) += nvmet.o
|
|
obj-$(CONFIG_NVME_TARGET_LOOP) += nvme-loop.o
|
|
obj-$(CONFIG_NVME_TARGET_RDMA) += nvmet-rdma.o
|
|
obj-$(CONFIG_NVME_TARGET_FC) += nvmet-fc.o
|
|
obj-$(CONFIG_NVME_TARGET_FCLOOP) += nvme-fcloop.o
|
|
obj-$(CONFIG_NVME_TARGET_TCP) += nvmet-tcp.o
|
|
|
|
nvmet-y += core.o configfs.o admin-cmd.o fabrics-cmd.o \
|
|
discovery.o io-cmd-file.o io-cmd-bdev.o
|
|
nvmet-$(CONFIG_NVME_TARGET_PASSTHRU) += passthru.o
|
|
nvmet-$(CONFIG_BLK_DEV_ZONED) += zns.o
|
|
nvmet-$(CONFIG_NVME_TARGET_AUTH) += fabrics-cmd-auth.o auth.o
|
|
nvme-loop-y += loop.o
|
|
nvmet-rdma-y += rdma.o
|
|
nvmet-fc-y += fc.o
|
|
nvme-fcloop-y += fcloop.o
|
|
nvmet-tcp-y += tcp.o
|
|
nvmet-$(CONFIG_TRACING) += trace.o
|