函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:ima_init_crypto

函数原型:int __init ima_init_crypto(void)

返回类型:int

参数:

66  ima_shash_tfm等于crypto_alloc_shash(hash_algo_name[ima_hash_algo], 0, 0)
67  如果是错误
68  rc等于错误
69  打印错误信息("Can not allocate %s (reason: %ld)\n", hash_algo_name[ima_hash_algo], rc)
71  返回:rc
73  打印信息("Allocated hash algorithm: %s\n", hash_algo_name[ima_hash_algo])
75  返回:0