函数逻辑报告 |
Source Code:security\keys\keyring.c |
Create Date:2022-07-27 19:51:57 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Finalise an index key to include a part of the description actually in the* index key, to set the domain tag and to calculate the hash.
函数原型:void key_set_index_key(struct keyring_index_key *index_key)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct keyring_index_key * | index_key |
216 | static struct key_tag default_domain_tag = {usage = REFCOUNT_INIT(1), } |
217 | n等于min_t - return minimum of two values, using the specified type*@type: data type to use*@x: first value*@y: second value(size_t, desc_len, First few chars of description 的长度) |
219 | memcpy( First few chars of description , description, n) |
221 | 如果非 Domain of operation 则 |
224 | 否则 Domain of operation 等于default_domain_tag |
名称 | 描述 |
---|---|
key_create_or_update | key_create_or_update - Update or create and instantiate a key.*@keyring_ref: A pointer to the destination keyring with possession flag.*@type: The type of key.*@description: The searchable description for the key. |
search_nested_keyrings | Search a tree of keyrings that point to other keyrings up to the maximum* depth. |
key_get_persistent | Get the persistent keyring for a specific UID and link it to the nominated* keyring. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |