diff options
author | Hannes Reinecke <hare@suse.de> | 2022-06-27 11:52:05 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-08-02 17:14:49 -0600 |
commit | db1312dd95488b5e6ff362ff66fcf953a46b1821 (patch) | |
tree | 654de0461850d595adb0f3788374aad4c8b1a7a4 /drivers/cdrom | |
parent | 6490c9ed06de4a97a1ba89f53cd6c045d5277bc4 (diff) | |
download | linux-db1312dd95488b5e6ff362ff66fcf953a46b1821.tar.bz2 |
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>
Diffstat (limited to 'drivers/cdrom')
0 files changed, 0 insertions, 0 deletions