Home
last modified time | relevance | path

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

/linux/fs/crypto/
H A Dpolicy.c72 static bool fscrypt_valid_enc_modes_v1(u32 contents_mode, u32 filenames_mode) in fscrypt_valid_enc_modes_v1() argument
74 if (contents_mode == FSCRYPT_MODE_AES_256_XTS && in fscrypt_valid_enc_modes_v1()
78 if (contents_mode == FSCRYPT_MODE_AES_128_CBC && in fscrypt_valid_enc_modes_v1()
82 if (contents_mode == FSCRYPT_MODE_ADIANTUM && in fscrypt_valid_enc_modes_v1()
89 static bool fscrypt_valid_enc_modes_v2(u32 contents_mode, u32 filenames_mode) in fscrypt_valid_enc_modes_v2() argument
91 if (contents_mode == FSCRYPT_MODE_AES_256_XTS && in fscrypt_valid_enc_modes_v2()
95 if (contents_mode == FSCRYPT_MODE_SM4_XTS && in fscrypt_valid_enc_modes_v2()
99 return fscrypt_valid_enc_modes_v1(contents_mode, filenames_mode); in fscrypt_valid_enc_modes_v2()
103 u32 contents_mode, u32 filenames_mode) in supported_direct_key_modes() argument
107 if (contents_mode != filenames_mode) { in supported_direct_key_modes()
[all …]