nvme_tls_psk_refresh(9)
π¦ 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 ofdata. 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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms