函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\integrity\ima\ima_crypto.c Create Date:2022-07-27 22:00:55
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:ima_calc_file_shash

函数原型:static int ima_calc_file_shash(struct file *file, struct ima_digest_data *hash)

返回类型:int

参数:

类型参数名称
struct file *file
struct ima_digest_data *hash
385  tfm等于ima_alloc_tfm(algo)
386  如果是错误则返回:错误
389  rc等于ima_calc_file_hash_tfm(file, hash, tfm)
391  ima_free_tfm(tfm)
393  返回:rc
调用者
名称描述
ima_calc_file_hashma_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