1nvme_insert_tls_key(9) libnvme API manual nvme_insert_tls_key(9)
2
3
4
6 nvme_insert_tls_key - Derive and insert TLS key
7
9 long nvme_insert_tls_key (const char *keyring , const char *key_type ,
10 const char *hostnqn , const char *subsysnqn , int hmac , unsigned char
11 *configured_key , int key_len );
12
14 keyring Keyring to use
15
16 key_type Type of the resulting key
17
18 hostnqn Host NVMe Qualified Name
19
20 subsysnqn Subsystem NVMe Qualified Name
21
22 hmac HMAC algorithm
23
24 configured_key
25 Configured key data to derive the key from
26
27 key_len Length of configured_key
28
30 Derives a 'retained' TLS key as specified in NVMe TCP 1.0a and stores
31 it as type key_type in the keyring specified by keyring.
32
34 The key serial number if the key could be inserted into the keyring or
35 0 with errno otherwise.
36
37
38
39October 2023 nvme_insert_tls_key nvme_insert_tls_key(9)