diff options
author | Michael Halcrow <mhalcrow@google.com> | 2015-04-12 07:55:06 +0300 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2015-04-12 07:55:06 +0300 |
commit | 88bd6ccdcdd638faa11e9746affc21d5f2fe2acf (patch) | |
tree | 1c86a994b5273756f6c90627af2131d8bc616481 /fs/ext4/ext4_crypto.h | |
parent | b30ab0e03407d2aa2d9316cba199c757e4bfc8ad (diff) | |
download | linux-88bd6ccdcdd638faa11e9746affc21d5f2fe2acf.tar.xz |
ext4 crypto: add encryption key management facilities
Signed-off-by: Michael Halcrow <mhalcrow@google.com>
Signed-off-by: Ildar Muslukhov <muslukhovi@gmail.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/ext4_crypto.h')
-rw-r--r-- | fs/ext4/ext4_crypto.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/ext4/ext4_crypto.h b/fs/ext4/ext4_crypto.h index 9d5d2e56cc46..6a7c0c06b2be 100644 --- a/fs/ext4/ext4_crypto.h +++ b/fs/ext4/ext4_crypto.h @@ -55,6 +55,9 @@ struct ext4_encryption_context { #define EXT4_AES_256_XTS_KEY_SIZE 64 #define EXT4_MAX_KEY_SIZE 64 +#define EXT4_KEY_DESC_PREFIX "ext4:" +#define EXT4_KEY_DESC_PREFIX_SIZE 5 + struct ext4_encryption_key { uint32_t mode; char raw[EXT4_MAX_KEY_SIZE]; |