decrypt_pass..._session_key(9)
π 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:
ecryptfs_parse_packet_length(9)ecryptfs_write_packet_length(9)ecryptfs_verify_version(9)ecryptfs_verify_auth_tok_from_key(9)ecryptfs_find_auth_tok_for_sig(9)ecryptfs_parse_tag_70_packet(9)decrypt_pki_encrypted_session_key(9)parse_tag_1_packet(9)parse_tag_3_packet(9)parse_tag_11_packet(9)ecryptfs_parse_packet_set(9)write_tag_1_packet(9)write_tag_11_packet(9)write_tag_3_packet(9)ecryptfs_generate_key_packet_set(9)
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
- 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