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_export_tls_key_versioned - Export a TLS pre-shared key

Arguments

version Indicated the representation of the TLS PSK hmac HMAC algorithm used to transfor the configured PSK in a retained PSK key_data Raw data of the key key_len Length of key_data

Description

Returns key_data in the PSK Interchange format as defined in section 3.6.1.5 of the NVMe TCP Transport specification.

Name

nvme_export_tls_key_versioned - Export a TLS pre-shared key

Return

The string containing the TLS identity or NULL with errno set on error. It is the responsibility of the caller to free the returned string. August 2025 nvme_export_tls_key_versioned nvme_export_tls_key_versioned(2)

Synopsis

char*nvme_export_tls_key_versioned(unsignedcharversion,unsignedcharhmac,constunsignedchar*key_data,size_tkey_len);

See Also