Function report |
Source Code:fs\crypto\crypto.c |
Create Date:2022-07-28 20:23:30 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:fscrypt_generate_iv
Proto:void fscrypt_generate_iv(union fscrypt_iv *iv, u64 lblk_num, const struct fscrypt_info *ci)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
union fscrypt_iv * | iv | |
u64 | lblk_num | |
const struct fscrypt_info * | ci |
80 | If flags & FSCRYPT_POLICY_FLAG_IV_INO_LBLK_64 Then |
81 | WARN_ON_ONCE((u32)lblk_num != lblk_num) |
82 | lblk_num |= Stat data, not accessed from path walking << 32 |
83 | Else if flags & FSCRYPT_POLICY_FLAG_DIRECT_KEY Then |
Name | Describe |
---|---|
fscrypt_crypt_block | Encrypt or decrypt a single filesystem block of file contents |
fname_encrypt | ame_encrypt() - encrypt a filename* The output buffer must be at least as large as the input buffer.* Any extra space is filled with NUL padding before encryption.* Return: 0 on success, -errno on failure |
fname_decrypt | ame_decrypt() - decrypt a filename* The caller must have allocated sufficient memory for the @oname string.* Return: 0 on success, -errno on failure |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |