nvme_import_tls_key2
Import a tls key
Usage
unsigned char * nvme_import_tls_key (const char *encoded_key , int *key_len , unsigned int *hmac );
Arguments
encoded_key
|
TLS key in PSK interchange format |
|---|---|
key_len
|
Length of the resulting key data |
hmac
|
HMAC algorithm |
Overview
Imports key_data in the PSK Interchange format as defined in section 3.6.1.5 of the NVMe TCP Transport specification.
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.