Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\keys\request_key.c Create Date:2022-07-28 18:23:51
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:quest_key_tag - Request a key and wait for construction*@type: Type of key

Proto:struct key *request_key_tag(struct key_type *type, const char *description, struct key_tag *domain_tag, const char *callout_info)

Type:struct key

Parameter:

TypeParameterName
struct key_type *type
const char *description
struct key_tag *domain_tag
const char *callout_info
696  callout_len = 0
699  If callout_info Then callout_len = strlen - Find the length of a string*@s: The string to be sized
701  key = quest_key_and_link - Request a key and cache it in a keyring.*@type: The type of key we want.*@description: The searchable description of the key.*@domain_tag: The domain in which the key operates.
704  If Not IS_ERR(key) Then
705  ret = wait_for_key_construction - Wait for construction of a key to complete*@key: The key being waited for
706  If ret < 0 Then
708  Return ERR_PTR(ret)
711  Return key
Caller
NameDescribe
request_keyquest_key - Request a key and wait for construction*@type: Type of key.*@description: The searchable description of the key.*@callout_info: The data to pass to the instantiation upcall (or NULL).