linux/drivers/nvme/target
Hannes Reinecke db1312dd95 nvmet: implement basic In-Band Authentication
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>
2022-08-02 17:14:49 -06:00
..
admin-cmd.c nvmet: implement basic In-Band Authentication 2022-08-02 17:14:49 -06:00
auth.c nvmet: implement basic In-Band Authentication 2022-08-02 17:14:49 -06:00
configfs.c nvmet: implement basic In-Band Authentication 2022-08-02 17:14:49 -06:00
core.c nvmet: implement basic In-Band Authentication 2022-08-02 17:14:49 -06:00
discovery.c nvmet: register discovery subsystem as 'current' 2021-10-27 08:06:04 +02:00
fabrics-cmd-auth.c nvmet: implement basic In-Band Authentication 2022-08-02 17:14:49 -06:00
fabrics-cmd.c nvmet: implement basic In-Band Authentication 2022-08-02 17:14:49 -06:00
fc.c nvmet: use a private workqueue instead of the system workqueue 2022-03-29 09:29:04 +02:00
fcloop.c nvmet: use a private workqueue instead of the system workqueue 2022-03-29 09:29:04 +02:00
io-cmd-bdev.c nvme/target: Use the new blk_opf_t type 2022-07-14 12:14:32 -06:00
io-cmd-file.c nvmet: use a private workqueue instead of the system workqueue 2022-03-29 09:29:04 +02:00
Kconfig nvmet: implement basic In-Band Authentication 2022-08-02 17:14:49 -06:00
loop.c nvme-loop: use nvme core helpers to cancel all requests in a tagset 2022-08-02 17:14:47 -06:00
Makefile nvmet: implement basic In-Band Authentication 2022-08-02 17:14:49 -06:00
nvmet.h nvmet: implement basic In-Band Authentication 2022-08-02 17:14:49 -06:00
passthru.c nvmet: add a clear_ids attribute for passthru targets 2022-06-30 08:23:24 +02:00
rdma.c RDMA: Split kernel-only global device caps from uverbs device caps 2022-04-06 15:02:13 -03:00
tcp.c nvmet-tcp: fix regression in data_digest calculation 2022-06-29 16:13:44 +02:00
trace.c nvmet: add set feature tracing support 2021-08-16 14:42:23 +02:00
trace.h nvmet: use min of device_path and disk len 2021-02-10 16:38:05 +01:00
zns.c nvme/target: Use the new blk_opf_t type 2022-07-14 12:14:32 -06:00