Function report |
Source Code:security\keys\trusted-keys\trusted_tpm1.c |
Create Date:2022-07-28 18:31:44 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:init_trusted
Proto:static int __init init_trusted(void)
Type:int
Parameter:Nothing
1237 | chip = tpm_default_chip() |
1238 | If Not chip Then Return 0 |
1241 | ret = init_digests() |
1244 | ret = trusted_shash_alloc() |
1247 | 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. |
1248 | If ret < 0 Then Go to err_release |
1250 | Return 0 |
1251 | err_release : |
1252 | trusted_shash_release() |
1253 | err_free : |
1255 | err_put : |
1256 | put_device( & dev) |
1257 | Return ret |
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 |