nvme_update_key(2)

nvme_update_key2

Update key raw data

Usage

long nvme_update_key (long keyring_id , const char *key_type , const char *identity , unsigned char *key_data , int key_len );

Arguments

keyring_id

Id of the keyring holding key_id

key_type

Type of the key to insert

identity

Key identity string

key_data

Raw data of the key

key_len

Length of key_data

Overview

Links the keyring specified by keyring_id into the session keyring and updates the key reference by identity with key_data. The old key with identity identity will be revoked to make it inaccessible.

Return

Key id of the new key or 0 with errno set otherwise.

From libnvme-dev 1.13-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.