1
0
Fork 0
libnvme/doc/man/nvme_import_tls_key.2
Daniel Baumann bd2208f611
Merging upstream version 1.11.1.
Signed-off-by: Daniel Baumann <daniel@debian.org>
2025-02-16 10:51:37 +01:00

21 lines
718 B
Groff

.TH "nvme_import_tls_key" 9 "nvme_import_tls_key" "November 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.