Function report | 
Source Code:security\integrity\ima\ima_crypto.c | 
Create Date:2022-07-28 19:58:31 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:ima_calc_file_hash_tfm
Proto:static int ima_calc_file_hash_tfm(struct file *file, struct ima_digest_data *hash, struct crypto_shash *tfm)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct file * | file | |
| struct ima_digest_data * | hash | |
| struct crypto_shash * | tfm | 
| 335 | offset = 0 | 
| 338 | SHASH_DESC_ON_STACK(shash, tfm) | 
| 353 | rbuf = kzalloc - allocate memory. The memory is set to zero.*@size: how many bytes of memory are required.*@flags: the type of memory to allocate (see kmalloc). | 
| 361 | If rbuf_len < 0 Then | 
| 365 | If rbuf_len == 0 Then Break | 
| 370 | If rc Then Break | 
| 374 | out : | 
| 377 | Return rc | 
| Name | Describe | 
|---|---|
| ima_calc_file_shash | 
| 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  |