|
|
@@ -22,10 +22,6 @@
|
|
|
#define FS_AES_256_CBC_KEY_SIZE 32
|
|
|
#define FS_AES_256_CTS_KEY_SIZE 32
|
|
|
#define FS_AES_256_XTS_KEY_SIZE 64
|
|
|
-#define FS_MAX_KEY_SIZE 64
|
|
|
-
|
|
|
-#define FS_KEY_DESC_PREFIX "fscrypt:"
|
|
|
-#define FS_KEY_DESC_PREFIX_SIZE 8
|
|
|
|
|
|
#define FS_KEY_DERIVATION_NONCE_SIZE 16
|
|
|
|
|
|
@@ -51,13 +47,6 @@ struct fscrypt_context {
|
|
|
|
|
|
#define FS_ENCRYPTION_CONTEXT_FORMAT_V1 1
|
|
|
|
|
|
-/* This is passed in from userspace into the kernel keyring */
|
|
|
-struct fscrypt_key {
|
|
|
- u32 mode;
|
|
|
- u8 raw[FS_MAX_KEY_SIZE];
|
|
|
- u32 size;
|
|
|
-} __packed;
|
|
|
-
|
|
|
/*
|
|
|
* A pointer to this structure is stored in the file system's in-core
|
|
|
* representation of an inode.
|