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:53
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:quest_key_with_auxdata - Request a key with auxiliary data for the upcaller*@type: The type of key we want.*@description: The searchable description of the key.*@domain_tag: The domain in which the key operates.

Proto:struct key *request_key_with_auxdata(struct key_type *type, const char *description, struct key_tag *domain_tag, const void *callout_info, size_t callout_len, void *aux)

Type:struct key

Parameter:

TypeParameterName
struct key_type *type
const char *description
struct key_tag *domain_tag
const void *callout_info
size_tcallout_len
void *aux
740  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.
743  If Not IS_ERR(key) Then
744  ret = wait_for_key_construction - Wait for construction of a key to complete*@key: The key being waited for
745  If ret < 0 Then
747  Return ERR_PTR(ret)
750  Return key