nvme_tls_psk_refresh(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ Refresh TLS PSK β€” the nvme_tls_psk_refresh glow-up πŸ¦‹

Okay bestie, welcome to nvme_tls_psk_refresh(9) from the Kernel API Manual. This page is literally about refreshing a TLS PSK, and it's lowkey iconic. πŸ’…

✨ NAME ✨

nvme_tls_psk_refresh β€” Refresh TLS PSK. That's the whole name, no cap. πŸŽ€

🌸 SYNOPSIS 🌸

struct key * nvme_tls_psk_refresh (struct key *keyring , const char
       *hostnqn , const char *subnqn , u8 hmac_id , u8 *data , size_t data_len
       , const char *digest );

πŸ’– ARGUMENTS πŸ’–

  • keyring β€” the keyring that's holding the TLS PSK. Like, that's where the key lives, bestie. πŸ”‘
  • hostnqn β€” the Host NQN to use. πŸ–₯️
  • subnqn β€” the Subsystem NQN to use. 🧚
  • hmac_id β€” the hash function identifier. Give it the ID, it does the hash vibe check. 🌈
  • data β€” the TLS PSK key material. The actual key stuff. πŸ“
  • data_len β€” the length of data. Gotta know how much key material we're working with. πŸ“
  • digest β€” the TLS PSK digest. Yes, it's digesting. πŸ’«

πŸ”₯ DESCRIPTION πŸ”₯

So here's the tea: this function refreshes a generated version 1 TLS PSK with the identity generated from hmac_id, hostnqn, subnqn, and digest, inside the keyring given by keyring. It's giving β€œupdate the key, but make it secure.” πŸ‘‘

It returns the updated key on success, or an error pointer otherwise. So it can hand you back an error pointer, fr fr. 😭

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./drivers/nvme/common/keyring.c β€” go look, iykyk. πŸ“‚


Signing off from ./drivers/nvme/common on October 2026, with page nvme_tls_psk_refresh(9) β€” xoxo, your kernel bestie πŸ’–πŸ«Ά

πŸ“¦ where this page comes from