libnvmf_import_tls_key(9)

πŸ“¦ version 3.2, in arch rolling

πŸ’– libnvmf_import_tls_key(9) πŸ’–

okay so this is the libnvme API manual page for libnvmf_import_tls_key, and bestie, it is literally here to decode a PSK from the PSK interchange format. iykyk πŸ’…

🌸 NAME 🌸

libnvmf_import_tls_key β€” Decode a PSK from the PSK interchange format πŸŽ€

✨ SYNOPSIS ✨

int libnvmf_import_tls_key (struct libnvme_global_ctx *ctx , const char
*encoded_key , int *key_len , enum libnvmf_hmac_alg *hmac , unsigned
char **key );

πŸŽ€ ARGUMENTS πŸŽ€

  • ctx β€” a struct libnvme_global_ctx object 🫢
  • encoded_key β€” the PSK in PSK interchange format πŸ’–
  • key_len β€” length of the decoded PSK to return ✨
  • hmac β€” the hash function recorded in encoded_key to return 🌸
  • key β€” the decoded PSK to return πŸ¦‹

πŸ¦‹ DESCRIPTION πŸ¦‹

The way that this function does its thing: it decodes encoded_key from the PSK Interchange format, as defined in section 3.6.1.5 of the NVMe TCP Transport Specification 1.3. No cap. πŸ‘‘

Heads up: it is the responsibility of the caller to free the returned buffer. bestie, do not forget β€” that buffer is your problem now πŸ™ˆπŸ’…

⭐ RETURN ⭐

0 on success, negative error code otherwise. Periodt. ✨


Bye bestie 🫢 β€” this page is source/version libnvmf_import_tls_key, dated October 2026, aka the libnvmf_import_tls_key(9) manual vibe. πŸ’–πŸŒˆπŸŽ€

πŸ“¦ where this page comes from