logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

nvme_insert_tls_key - Derive and insert TLS key

Arguments

keyring Keyring to use key_type Type of the resulting key hostnqn Host NVMe Qualified Name subsysnqn Subsystem NVMe Qualified Name 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 1.0a and stores it as type key_type in the keyring specified by keyring.

Name

nvme_insert_tls_key - Derive and insert TLS key

Return

The key serial number if the key could be inserted into the keyring or 0 with errno otherwise. August 2025 nvme_insert_tls_key nvme_insert_tls_key(2)

Synopsis

longnvme_insert_tls_key(constchar*keyring,constchar*key_type,constchar*hostnqn,constchar*subsysnqn,inthmac,unsignedchar*configured_key,intkey_len);

See Also