ecryptfs_parse_packet_set(9)
π
ecryptfs_parse_packet_set(9) π
okay so bestie, welcome to the Kernel API Manual page for ecryptfs_parse_packet_set(9). this is the whole page, and we are keeping every single detail: the args, the return vibes, the see-also girlies, all of it. no cap. β¨
πΈ NAME πΈ
ecryptfs_parse_packet_setβ the description slot after the dash is literally empty on this page. itβs justecryptfs_parse_packet_set -and then nothing, bestie. π
β¨ SYNOPSIS β¨
int ecryptfs_parse_packet_set (struct ecryptfs_crypt_stat *crypt_stat ,
unsigned char *src , size_t src_size , struct dentry *ecryptfs_dentry );
π ARGUMENTS π
crypt_statβ the cryptographic context. thatβs the whole description, and honestly itβs giving main character energy for this function. πsrcβ the virtual address of the region of memory containing the packets. keep it exact: Virtual address of region of memory containing the packets. π¦src_sizeβ the size of the packet set buffer. yes bestie, itβs the size. πecryptfs_dentryβ the eCryptfs dentry associated with the packet set. thatβs the dentry link-up. πΈ
π¦ DESCRIPTION π¦
the mission, if we choose to accept it: get crypt_stat to have the file's session key if the requisite key is available to decrypt the session key. thatβs the core vibe. π₯
Returns: Zero if a valid authentication token was retrieved and processed. a negative value happens for file not encrypted or for error conditions. so zero is the slay outcome, negative is the βnot encrypted / errorβ outcome, periodt. π
π SEE ALSO π
the kernel file to check is ./fs/ecryptfs/keystore.c, and these are the linked manual pages, bestie β go read them next, iykyk:
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)decrypt_passphrase_encrypted_session_key(9)write_tag_1_packet(9)write_tag_11_packet(9)write_tag_3_packet(9)ecryptfs_generate_key_packet_set(9)
okay thatβs the whole manual page, bestie. this cutie is from ./fs/ecryptfs, dated October 2026, out of the Kernel API Manual β mwah, bye! πβ¨
π¦ 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