nvme_lookup_key(2) libnvme API manual nvme_lookup_key(2)

nvme_lookup_key - Lookup key serial number

long nvme_lookup_key (const char *type , const char *identity );

Key type
Key description

Looks up the serial number of the key identity with type type in the current session keyring.

The key serial number of the key or 0 with errno set otherwise.

nvme_lookup_key March 2024