Function report | 
Source Code:fs\crypto\fname.c | 
Create Date:2022-07-28 20:23:37 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name: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
Proto:int fname_encrypt(struct inode *inode, const struct qstr *iname, u8 *out, unsigned int olen)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct inode * | inode | |
| const struct qstr * | iname | |
| u8 * | out | |
| unsigned int | olen | 
| 40 | struct skcipher_request * req = NULL | 
| 42 | ci = i_crypt_info | 
| 58 | fscrypt_generate_iv( & iv, 0, ci) | 
| 61 | req = skcipher_request_alloc() - allocate request data structure*@tfm: cipher handle to be registered with the request*@gfp: memory allocation flag that is handed to kmalloc by the API call | 
| 73 | If res < 0 Then | 
| 74 | fscrypt_err(inode, "Filename encryption failed: %d", res) | 
| 75 | Return res | 
| 78 | Return 0 | 
| Name | Describe | 
|---|---|
| fscrypt_setup_filename | scrypt_setup_filename() - prepare to search a possibly encrypted directory*@dir: the directory that will be searched*@iname: the user-provided filename being searched for*@lookup: 1 if we're allowed to proceed without the key because it's* ->lookup() or | 
| __fscrypt_encrypt_symlink | 
| 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  |