diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-05 11:06:50 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-05 11:06:50 +0000 |
commit | c662bc3e81d6cc7c9265ea9c58b8d1dbf66245ea (patch) | |
tree | 6a0ebdb4cb3c7b76c824f021d9f3624d16037457 /doc/man/nvme_import_tls_key.2 | |
parent | Adding upstream version 1.8. (diff) | |
download | libnvme-upstream.tar.xz libnvme-upstream.zip |
Adding upstream version 1.9.upstream/1.9upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'doc/man/nvme_import_tls_key.2')
-rw-r--r-- | doc/man/nvme_import_tls_key.2 | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/doc/man/nvme_import_tls_key.2 b/doc/man/nvme_import_tls_key.2 new file mode 100644 index 0000000..4b3a4cc --- /dev/null +++ b/doc/man/nvme_import_tls_key.2 @@ -0,0 +1,21 @@ +.TH "nvme_import_tls_key" 9 "nvme_import_tls_key" "May 2024" "libnvme API manual" LINUX +.SH NAME +nvme_import_tls_key \- Import a TLS key +.SH SYNOPSIS +.B "unsigned char *" nvme_import_tls_key +.BI "(const char *encoded_key " "," +.BI "int *key_len " "," +.BI "unsigned int *hmac " ");" +.SH ARGUMENTS +.IP "encoded_key" 12 +TLS key in PSK interchange format +.IP "key_len" 12 +Length of the resulting key data +.IP "hmac" 12 +HMAC algorithm +.SH "DESCRIPTION" +Imports \fIkey_data\fP in the PSK Interchange format as defined in section +3.6.1.5 of the NVMe TCP Transport specification. +.SH "RETURN" +The raw data of the PSK or NULL with errno set on error. It is +the responsibility of the caller to free the returned string. |