Function report |
Source Code:lib\digsig.c |
Create Date:2022-07-28 07:20:01 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:digsig_verify() - digital signature verification with public key*@keyring: keyring to search key in*@sig: digital signature*@siglen: length of the signature*@data: data*@datalen: length of the data* Returns 0 on success, -EINVAL otherwise
Proto:int digsig_verify(struct key *keyring, const char *sig, int siglen, const char *data, int datalen)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct key * | keyring | |
const char * | sig | |
int | siglen | |
const char * | data | |
int | datalen |
204 | struct shash_desc * desc = NULL |
212 | If algo != PUBKEY_ALGO_RSA Then Return -Operation is not supported |
217 | If keyring Then |
220 | kref = keyring_search - Search the supplied keyring tree for a matching key*@keyring: The root of the keyring tree to be searched |
224 | Else key = key_ref_to_ptr(kref) |
226 | Else |
234 | desc = kzalloc - allocate memory. The memory is set to zero.*@size: how many bytes of memory are required.*@flags: the type of memory to allocate (see kmalloc). |
252 | err : |
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 |