libnvme(9) API Manual libnvme(9)

struct libnvme_sed_key - SED key (password or PSID)

struct libnvme_sed_key {
__u8 type;
__u8 len;
__u8 key[LIBNVME_SED_KEY_MAX];
};

Key source, see enum libnvme_sed_key_type
Length of key in bytes, ignored for LIBNVME_SED_KEY_KEYRING
Key data
struct libnvme_sed_key October 2026