Home
last modified time | relevance | path

Searched refs:contents_encryption_mode (Results 1 – 6 of 6) sorted by relevance

/linux-4.4.14/fs/f2fs/
Dcrypto_policy.c46 (ctx.contents_encryption_mode == in f2fs_is_encryption_context_consistent_with_policy()
47 policy->contents_encryption_mode) && in f2fs_is_encryption_context_consistent_with_policy()
61 if (!f2fs_valid_contents_enc_mode(policy->contents_encryption_mode)) { in f2fs_create_encryption_context_from_policy()
64 policy->contents_encryption_mode); in f2fs_create_encryption_context_from_policy()
78 ctx.contents_encryption_mode = policy->contents_encryption_mode; in f2fs_create_encryption_context_from_policy()
130 policy->contents_encryption_mode = ctx.contents_encryption_mode; in f2fs_get_policy()
199 ctx.contents_encryption_mode = ci->ci_data_mode; in f2fs_inherit_context()
Df2fs_crypto.h23 char contents_encryption_mode; member
52 char contents_encryption_mode; member
Dcrypto_key.c159 crypt_info->ci_data_mode = ctx.contents_encryption_mode; in _f2fs_get_encryption_info()
/linux-4.4.14/fs/ext4/
Dcrypto_policy.c43 (ctx.contents_encryption_mode == in ext4_is_encryption_context_consistent_with_policy()
44 policy->contents_encryption_mode) && in ext4_is_encryption_context_consistent_with_policy()
63 if (!ext4_valid_contents_enc_mode(policy->contents_encryption_mode)) { in ext4_create_encryption_context_from_policy()
66 policy->contents_encryption_mode); in ext4_create_encryption_context_from_policy()
77 ctx.contents_encryption_mode = policy->contents_encryption_mode; in ext4_create_encryption_context_from_policy()
137 policy->contents_encryption_mode = ctx.contents_encryption_mode; in ext4_get_policy()
205 ctx.contents_encryption_mode = EXT4_ENCRYPTION_MODE_AES_256_XTS; in ext4_inherit_context()
213 ctx.contents_encryption_mode = ci->ci_data_mode; in ext4_inherit_context()
Dext4_crypto.h21 char contents_encryption_mode; member
50 char contents_encryption_mode; member
Dcrypto_key.c153 ctx.contents_encryption_mode = EXT4_ENCRYPTION_MODE_AES_256_XTS; in _ext4_get_encryption_info()
166 crypt_info->ci_data_mode = ctx.contents_encryption_mode; in _ext4_get_encryption_info()