libnvme(9)

πŸ“¦ version 3.2, in arch rolling

✨ 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, see enum nbft_security_flags.
  • secret_type β€” Secret Type, see enum nbft_security_secret_type.
  • sec_chan_algs β€” Secure Channel Algorithm list: an array of bytes whose values are the Security Type (SECTYPE) field, see enum nvmf_tcp_sectype. NULL if not present in the NBFT heap.
  • sec_chan_algs_len β€” Length in bytes of sec_chan_algs.
  • auth_protocols β€” Authentication Protocol identifier list. Values are Authentication Protocol Identifiers as defined in the NVM Express Base Specification. NULL if not present in the NBFT heap.
  • auth_protocols_len β€” Length in bytes of auth_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 is cipher_suites_len / 2. NULL if not present in the NBFT heap.
  • cipher_suites_len β€” Length in bytes of cipher_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. NULL if not present in the NBFT heap.
  • kx_groups_len β€” Length in bytes of kx_groups.
  • sec_hash_funcs β€” KX-HMAC-CHAP hash function identifier list, see enum libnvmf_hmac_alg. NULL if not present in the NBFT heap.
  • sec_hash_funcs_len β€” Length in bytes of sec_hash_funcs.
  • secret_keypath β€” URI string for the secret key path. The type of the URI is specified by secret_type. NULL if 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