decrypt_pass..._session_key(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ NAME πŸŽ€

okay so bestie, welcome to the decrypt_pass..._session_key(9) page from the Kernel API Manual β€” not me being obsessed with a kernel function, but here we are πŸ’…. This is the manual for decrypt_passphrase_encrypted_session_key: decrypt the session key with the given auth_tok. That's the NAME tea, no cap β˜•βœ¨


✨ SYNOPSIS ✨

the way this signature ate:

int decrypt_passphrase_encrypted_session_key (struct ecryptfs_auth_tok
     *auth_tok , struct ecryptfs_crypt_stat *crypt_stat );

🫢 ARGUMENTS 🫢

okay so the two arguments are giving main character energy:

  • auth_tok β€” the passphrase authentication token to use to encrypt the FEK πŸ’– (yes bestie, that's the wording: to use to encrypt the FEK β€” we are not fixing it, we are respecting the lore).
  • crypt_stat β€” the cryptographic context 🧚

πŸ’… DESCRIPTION πŸ’…

so what's the vibe check? It returns zero on success; non-zero error otherwise. That's it. Zero = slay βœ…, non-zero = not it ❌. No extra lore, no secret side quests β€” just the return-value tea, periodt 🍡

πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./fs/ecryptfs/keystore.c is the source-side main character, iykyk. And these are the link-up besties, fr fr:


okay bye bestie 🫢 this iconic little page came from source/version ./fs/ecryptfs, dated October 2026, and it's the decrypt_pass..._session_key(9) manual. mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from