nvme_generate_tls_key_identity
Generate the TLS key identity
- Provided by: libnvme-dev (Version: 1.16.1-4)
- Source: libnvme
- Report a bug
Generate the TLS key identity
char * nvme_generate_tls_key_identity (const char *hostnqn , const char *subsysnqn , int version , int hmac , unsigned char *configured_key , int key_len );
Derives a 'retained' TLS key as specified in NVMe TCP and generate the corresponding TLs identity.
The string containing the TLS identity. It is the responsibility of the caller to free the returned string. On error NULL is returned with errno set.