summaryrefslogtreecommitdiff
path: root/include/linux/fscrypto.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/fscrypto.h')
-rw-r--r--include/linux/fscrypto.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/fscrypto.h b/include/linux/fscrypto.h
index 895cdac4fcdd..cd91f75de49b 100644
--- a/include/linux/fscrypto.h
+++ b/include/linux/fscrypto.h
@@ -15,6 +15,7 @@
#include <linux/mm.h>
#include <linux/bio.h>
#include <linux/dcache.h>
+#include <crypto/skcipher.h>
#include <uapi/linux/fs.h>
#define FS_KEY_DERIVATION_NONCE_SIZE 16
@@ -77,7 +78,7 @@ struct fscrypt_info {
u8 ci_data_mode;
u8 ci_filename_mode;
u8 ci_flags;
- struct crypto_ablkcipher *ci_ctfm;
+ struct crypto_skcipher *ci_ctfm;
struct key *ci_keyring_key;
u8 ci_master_key[FS_KEY_DESCRIPTOR_SIZE];
};