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_ahash
Proto:static int ima_calc_file_ahash(struct file *file, struct ima_digest_data *hash)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct file * | file | |
struct ima_digest_data * | hash |
320 | tfm = ima_alloc_atfm(algo) |
324 | rc = ima_calc_file_hash_atfm(file, hash, tfm) |
326 | ima_free_atfm(tfm) |
328 | 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 |