Debian Codegraph @

doc/man/nvme_export_tls_key_versioned.2

raw
1 .TH "nvme_export_tls_key_versioned" 9 "nvme_export_tls_key_versioned" "November 2025" "libnvme API manual" LINUX
2 .SH NAME
3 nvme_export_tls_key_versioned \- Export a TLS pre-shared key
4 .SH SYNOPSIS
5 .B "char *" nvme_export_tls_key_versioned
6 .BI "(unsigned char version " ","
7 .BI "unsigned char hmac " ","
8 .BI "const unsigned char *key_data " ","
9 .BI "size_t key_len " ");"
10 .SH ARGUMENTS
11 .IP "version" 12
12 Indicated the representation of the TLS PSK
13 .IP "hmac" 12
14 HMAC algorithm used to transfor the configured PSK
15 in a retained PSK
16 .IP "key_data" 12
17 Raw data of the key
18 .IP "key_len" 12
19 Length of \fIkey_data\fP
20 .SH "DESCRIPTION"
21 Returns \fIkey_data\fP in the PSK Interchange format as defined in section
22 3.6.1.5 of the NVMe TCP Transport specification.
23 .SH "RETURN"
24 The string containing the TLS identity or NULL with errno set
25 on error. It is the responsibility of the caller to free the returned
26 string.