Home
last modified time | relevance | path

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

/linux-6.12.1/fs/crypto/
Dpolicy.c70 static bool fscrypt_valid_enc_modes_v1(u32 contents_mode, u32 filenames_mode) in fscrypt_valid_enc_modes_v1() argument
73 filenames_mode == FSCRYPT_MODE_AES_256_CTS) in fscrypt_valid_enc_modes_v1()
77 filenames_mode == FSCRYPT_MODE_AES_128_CTS) in fscrypt_valid_enc_modes_v1()
81 filenames_mode == FSCRYPT_MODE_ADIANTUM) in fscrypt_valid_enc_modes_v1()
87 static bool fscrypt_valid_enc_modes_v2(u32 contents_mode, u32 filenames_mode) in fscrypt_valid_enc_modes_v2() argument
90 filenames_mode == FSCRYPT_MODE_AES_256_HCTR2) in fscrypt_valid_enc_modes_v2()
94 filenames_mode == FSCRYPT_MODE_SM4_CTS) in fscrypt_valid_enc_modes_v2()
97 return fscrypt_valid_enc_modes_v1(contents_mode, filenames_mode); in fscrypt_valid_enc_modes_v2()
101 u32 contents_mode, u32 filenames_mode) in supported_direct_key_modes() argument
105 if (contents_mode != filenames_mode) { in supported_direct_key_modes()