Crate fscrypt

Crate fscrypt 

Source

Modules§

direntry
hkdf
proxy_filename

Structs§

Context
An encryption context is written as an xattr to the directory root of each FBE hierarchy. For f2fs, this is stored with index 9 and name “c”.
DirectoryKeys

Constants§

ENCRYPTION_MODE_AES_256_CTS
ENCRYPTION_MODE_AES_256_XTS
POLICY_FLAGS_INO_LBLK_32
POLICY_FLAGS_PAD_16

Functions§

main_key_to_identifier
Returns the identifier for a given main key.
to_directory_keys
Returns fscrypt directory keys (for the ino-lblk32 algorithm). These are all the keys required to encrypt file names using fscrypt.
to_xts_key