Home
last modified time | relevance | path

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

/fs/crypto/
Dkeysetup.c16 struct fscrypt_mode fscrypt_modes[] = { variable
70 BUILD_BUG_ON(ARRAY_SIZE(fscrypt_modes) != FSCRYPT_MODE_MAX + 1); in select_encryption_mode()
73 return &fscrypt_modes[fscrypt_policy_contents_mode(policy)]; in select_encryption_mode()
76 return &fscrypt_modes[fscrypt_policy_fnames_mode(policy)]; in select_encryption_mode()
186 const u8 mode_num = mode - fscrypt_modes; in setup_per_mode_enc_key()
Dfscrypt_private.h639 extern struct fscrypt_mode fscrypt_modes[];
Dpolicy.c78 mode = &fscrypt_modes[contents_mode]; in supported_direct_key_modes()