Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\crypto\fscrypt_private.h Create Date:2022-07-28 20:23:29
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:fscrypt_valid_enc_modes

Proto:static inline bool fscrypt_valid_enc_modes(unsigned int contents_mode, unsigned int filenames_mode)

Type:bool

Parameter:

TypeParameterName
unsigned intcontents_mode
unsigned intfilenames_mode
212  If contents_mode == FSCRYPT_MODE_AES_128_CBC && filenames_mode == FSCRYPT_MODE_AES_128_CTS Then Return true
216  If contents_mode == Encryption algorithms && filenames_mode == FSCRYPT_MODE_AES_256_CTS Then Return true
220  If contents_mode == FSCRYPT_MODE_ADIANTUM && filenames_mode == FSCRYPT_MODE_ADIANTUM Then Return true
224  Return false
Caller
NameDescribe
fscrypt_supported_policy