Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

nvme_read_key - Read key raw data

Arguments

keyring_id Id of the keyring holding key_id key_id Key id len Length of the returned data

Description

Links the keyring specified by keyring_id into the session keyring and reads the payload of the key specified by key_id. len holds the size of the returned buffer. If keyring is 0 the default keyring '.nvme' is used.

Name

nvme_read_key - Read key raw data

Return

Pointer to the payload on success, or NULL with errno set otherwise. May 2025 nvme_read_key nvme_read_key(2)

Synopsis

unsignedchar*nvme_read_key(longkeyring_id,longkey_id,int*len);

See Also