函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:init_encrypted

函数原型:static int __init init_encrypted(void)

返回类型:int

参数:

994  hash_tfm等于crypto_alloc_shash(hash_alg, 0, 0)
995  如果是错误
996  打印错误信息("encrypted_key: can't allocate %s transform: %ld\n", hash_alg, 错误)
998  返回:错误
1001  ret等于aes_get_sizes()
1002  如果ret小于0则转到:out
1004  ret等于gister_key_type - Register a type of key.*@ktype: The new key type.* Register a new key type.* Returns 0 on success or -EEXIST if a type of this name already exists.
1005  如果ret小于0则转到:out
1007  返回:0
1008  out :
1009  归零并释放信息消化处理
1010  返回:ret