Function report |
Source Code:security\integrity\digsig_asymmetric.c |
Create Date:2022-07-28 19:56:24 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Request an asymmetric key.
Proto:static struct key *request_asymmetric_key(struct key *keyring, uint32_t keyid)
Type:struct key
Parameter:
Type | Parameter | Name |
---|---|---|
struct key * | keyring | |
uint32_t | keyid |
33 | key = get_ima_blacklist_keyring() |
34 | If key Then |
37 | kref = keyring_search - Search the supplied keyring tree for a matching key*@keyring: The root of the keyring tree to be searched |
41 | Return ERR_PTR( - EKEYREJECTED) |
45 | If keyring Then |
49 | kref = keyring_search - Search the supplied keyring tree for a matching key*@keyring: The root of the keyring tree to be searched |
53 | Else key = key_ref_to_ptr(kref) |
55 | Else |
60 | pr_err_ratelimited("Request for unknown key '%s' err %ld\n", name, PTR_ERR(key)) |
68 | Default |
69 | Return key |
73 | pr_debug("%s() = 0 [%x]\n", __func__, key_serial(key)) |
75 | Return key |
Name | Describe |
---|---|
asymmetric_verify |
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 |