nvme_import_tls_key_versioned - Import a TLS key
Contents
Arguments
encoded_key TLS key in PSK interchange format
version Indicated the representation of the TLS PSK
hmac HMAC algorithm used to transfor the configured PSK in a retained PSK
key_len Length of the resulting key data
Description
Imports key_data in the PSK Interchange format as defined in section 3.6.1.5 of the NVMe TCP Transport
specification.
Name
nvme_import_tls_key_versioned - Import a TLS key
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.
August 2025 nvme_import_tls_key_versioned nvme_import_tls_key_versioned(2)
Synopsis
unsignedchar*nvme_import_tls_key_versioned(constchar*encoded_key,unsignedchar*version,unsignedchar*hmac,size_t*key_len);
