libnvme(9)

πŸ“¦ version 3.2, in arch rolling

πŸ’… libnvme(9) β€” the API Manual, bestie edition πŸŽ€

okay so we're deep in the libnvme API Manual rn and this page is about one specific little enum, and honestly? it's giving "niche but iconic." it's all about the Secure Channel Concatenation values, aka SC_C β€” yes, the name is literally SC_C twice, we love a redundant queen πŸ’–


✨ NAME ✨

enum nvmf_auth_sc_c β€” the Secure Channel Concatenation values, a.k.a. SC_C πŸ¦‹

like, the whole vibe of this enum is "how do we concatenate a secure channel," and there are exactly three constants. three. a perfect little trio. no cap.


✨ SYNOPSIS ✨

here's the shape of it, copy-paste ready, don't touch the commas bestie:

enum nvmf_auth_sc_c {
    NVMF_AUTH_SCC_NOSC ,
    NVMF_AUTH_SCC_NEWTLSPSK ,
    NVMF_AUTH_SCC_REPLACETLSK

};

wait, no β€” let me not do you dirty like that 😭 the third one is NVMF_AUTH_SCC_REPLACETLSPSK. my bad, here's the real one, character for character:

enum nvmf_auth_sc_c {
    NVMF_AUTH_SCC_NOSC ,
    NVMF_AUTH_SCC_NEWTLSPSK ,
    NVMF_AUTH_SCC_REPLACETLSPSK

};

slay. okay moving on.


✨ Constants ✨

three constants, three moods. let's get into it 🫢

  • NVMF_AUTH_SCC_NOSC β€” no secure channel concatenation, like, at all. it's allowed on any Admin or I/O Queue, and it does not generate a PSK. zero PSK energy. it's the "i'm just here, minding my business" option 🌸
  • NVMF_AUTH_SCC_NEWTLSPSK β€” this one's the main character: it generates a PSK and an associated PSK identity on an Admin Queue over a TCP channel without TLS, all for the purpose of setting up TLS secure channels for subsequent Admin and I/O queues. so it's the little glow-up that makes the later secure channels possible ✨
⚠️ heads up, bestie: 0x01 is obsolete β€” refer to the NVM Express Base Specification 2.0. don't be out here using the deprecated one, i'm begging πŸ™ˆ
  • NVMF_AUTH_SCC_REPLACETLSPSK β€” the trade-in option πŸ” it generates a PSK and associated PSK identity on an Admin Queue over a TLS secure channel, and it replaces the PSK that was used to set up that very secure channel. out with the old, in with the new, periodt πŸ’…

that's the whole page, genuinely. three constants, one enum, and a whole lot of secure channel lore. iykyk πŸ”₯


✿ cute little sign-off ✿ this page is enum nvmf_auth_sc_c from libnvme(9), dated October 2026 β€” go forth and concatenate your secure channels responsibly, bestie πŸ’œπŸ¦‹πŸŽ€

πŸ“¦ where this page comes from