aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4/ext4_crypto.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ext4/ext4_crypto.h')
-rw-r--r--fs/ext4/ext4_crypto.h3
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 {
55#define EXT4_AES_256_XTS_KEY_SIZE 64 55#define EXT4_AES_256_XTS_KEY_SIZE 64
56#define EXT4_MAX_KEY_SIZE 64 56#define EXT4_MAX_KEY_SIZE 64
57 57
58#define EXT4_KEY_DESC_PREFIX "ext4:"
59#define EXT4_KEY_DESC_PREFIX_SIZE 5
60
58struct ext4_encryption_key { 61struct ext4_encryption_key {
59 uint32_t mode; 62 uint32_t mode;
60 char raw[EXT4_MAX_KEY_SIZE]; 63 char raw[EXT4_MAX_KEY_SIZE];