nvme_generate_tls_key_identity - Generate the TLS key identity
Contents
Arguments
hostnqn Host NVMe Qualified Name
subsysnqn Subsystem NVMe Qualified Name
version Key version to use
hmac HMAC algorithm
configured_key
Configured key data to derive the key from
key_len Length of configured_key
Description
Derives a 'retained' TLS key as specified in NVMe TCP and generate the corresponding TLs identity.
Name
nvme_generate_tls_key_identity - Generate the TLS key identity
Return
The string containing the TLS identity. It is the responsibility of the caller to free the returned
string.
August 2025 nvme_generate_tls_key_identity nvme_generate_tls_key_identity(2)
Synopsis
char*nvme_generate_tls_key_identity(constchar*hostnqn,constchar*subsysnqn,intversion,inthmac,unsignedchar*configured_key,intkey_len);
