|
@@ -50,6 +50,15 @@ struct fscrypt_context {
|
|
|
|
|
|
#define FS_ENCRYPTION_CONTEXT_FORMAT_V1 1
|
|
|
|
|
|
+/**
|
|
|
+ * For encrypted symlinks, the ciphertext length is stored at the beginning
|
|
|
+ * of the string in little-endian format.
|
|
|
+ */
|
|
|
+struct fscrypt_symlink_data {
|
|
|
+ __le16 len;
|
|
|
+ char encrypted_path[1];
|
|
|
+} __packed;
|
|
|
+
|
|
|
/*
|
|
|
* A pointer to this structure is stored in the file system's in-core
|
|
|
* representation of an inode.
|