libnvme(9)
β¨ NAME β¨
struct libnbft_security - Security Profile Descriptor. This is the libnvme(9) API Manual page, bestie β and itβs literally all about that Security Profile Descriptor struct. Periodt. π
π¦ SYNOPSIS π¦
The struct is giving C declarations, no cap:
struct libnbft_security {
int index;
__u16 flags;
__u8 secret_type;
__u8 *sec_chan_algs;
__u16 sec_chan_algs_len;
__u8 *auth_protocols;
__u16 auth_protocols_len;
__u8 *cipher_suites;
__u16 cipher_suites_len;
__u8 *kx_groups;
__u16 kx_groups_len;
__u8 *sec_hash_funcs;
__u16 sec_hash_funcs_len;
char *secret_keypath;
};
π Members π
indexβ The number of this Security Profile Descriptor in the Security Profile Descriptor List. iykyk.flagsβ Security Profile Descriptor Flags bitmask, seeenum nbft_security_flags.secret_typeβ Secret Type, seeenum nbft_security_secret_type.sec_chan_algsβ Secure Channel Algorithm list: an array of bytes whose values are the Security Type (SECTYPE) field, seeenum nvmf_tcp_sectype.NULLif not present in the NBFT heap.sec_chan_algs_lenβ Length in bytes ofsec_chan_algs.auth_protocolsβ Authentication Protocol identifier list. Values are Authentication Protocol Identifiers as defined in the NVM Express Base Specification.NULLif not present in the NBFT heap.auth_protocols_lenβ Length in bytes ofauth_protocols.cipher_suitesβ Cipher Suite identifier list: raw byte data containing cipher suite identifiers as defined in the IANA TLS Parameters Registry. Each entry is a 16-bit value; the number of entries iscipher_suites_len / 2.NULLif not present in the NBFT heap.cipher_suites_lenβ Length in bytes ofcipher_suites.kx_groupsβ KX-HMAC-CHAP key exchange group identifier list. Values are Key Exchange Group Identifiers as defined in the NVM Express Base Specification.NULLif not present in the NBFT heap.kx_groups_lenβ Length in bytes ofkx_groups.sec_hash_funcsβ KX-HMAC-CHAP hash function identifier list, seeenum libnvmf_hmac_alg.NULLif not present in the NBFT heap.sec_hash_funcs_lenβ Length in bytes ofsec_hash_funcs.secret_keypathβ URI string for the secret key path. The type of the URI is specified bysecret_type.NULLif not present.
πΈ Description πΈ
π Okay so important boundary tea: all pointer fields refer to storage owned by the parent struct libnbft_info. They must not be freed separately. Not me warning you twice β thatβs just the rule, bestie. π«Ά
π Cute sign-off: October 2026 Β·struct libnbft_securityΒ·libnvme(9). Byeee, go slay those security profile descriptors π β¨π
π¦ where this page comes from
- arch rolling: nvme-cli 3.2-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms