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_shash
Proto:static int ima_calc_file_shash(struct file *file, struct ima_digest_data *hash)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct file * | file | |
| struct ima_digest_data * | hash |
| 385 | tfm = ima_alloc_tfm(algo) |
| 389 | rc = ima_calc_file_hash_tfm(file, hash, tfm) |
| 391 | ima_free_tfm(tfm) |
| 393 | Return rc |
| Name | Describe |
|---|---|
| ima_calc_file_hash | ma_calc_file_hash - calculate file hash* Asynchronous hash (ahash) allows using HW acceleration for calculating* a hash. ahash performance varies for different data sizes on different* crypto accelerators |
| 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 |