| Function report | 
| Source Code: security\keys\keyring.c | Create Date:2022-07-28 18:17:10 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name: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.
Proto:void key_set_index_key(struct keyring_index_key *index_key)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| 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, size of First few chars of description ) | 
| 219 | memcpy( First few chars of description , description, n) | 
| 221 | If Not Domain of operation Then | 
| 224 | Else Domain of operation = default_domain_tag | 
| Name | Describe | 
|---|---|
| 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. | 
| 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 |