diff options
| author | Hannes Reinecke <[email protected]> | 2022-06-27 11:52:02 +0200 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2022-08-02 17:14:49 -0600 |
| commit | f50fff73d620cd6e8f48bc58d4f1c944615a3fea (patch) | |
| tree | e09610be62695593249b54f2081d954cffcf2f27 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 3bf2fde6fcc49ccc899cd2a853888823662ccd4c (diff) | |
nvme: implement In-Band authentication
Implement NVMe-oF In-Band authentication according to NVMe TPAR 8006.
This patch adds two new fabric options 'dhchap_secret' to specify the
pre-shared key (in ASCII respresentation according to NVMe 2.0 section
8.13.5.8 'Secret representation') and 'dhchap_ctrl_secret' to specify
the pre-shared controller key for bi-directional authentication of both
the host and the controller.
Re-authentication can be triggered by writing the PSK into the new
controller sysfs attribute 'dhchap_secret' or 'dhchap_ctrl_secret'.
Signed-off-by: Hannes Reinecke <[email protected]>
Reviewed-by: Sagi Grimberg <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
[axboe: fold in clang build fix]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions