Scroll to navigation

nvme_generate_tls_key_identity(9) libnvme API manual nvme_generate_tls_key_identity(9)

NAME

nvme_generate_tls_key_identity - Generate the TLS key identity

SYNOPSIS

char * nvme_generate_tls_key_identity (const char *hostnqn , const char *subsysnqn , int version , int hmac , unsigned char *configured_key , int key_len );

ARGUMENTS

Host NVMe Qualified Name
Subsystem NVMe Qualified Name
Key version to use
HMAC algorithm
Configured key data to derive the key from
Length of configured_key

DESCRIPTION

Derives a 'retained' TLS key as specified in NVMe TCP and generate the corresponding TLs identity.

RETURN

The string containing the TLS identity. It is the responsibility of the caller to free the returned string.

nvme_generate_tls_key_identity February 2024