libnvme(9)
π 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
- 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