Function report |
Source Code:security\integrity\digsig_asymmetric.c |
Create Date:2022-07-28 19:56:25 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:asymmetric_verify
Proto:int asymmetric_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 |
91 | If siglen != be16_to_cpu(signature size ) Then Return -EBADMSG |
94 | If Digest algorithm [enum hash_algo] >= HASH_ALGO__LAST Then Return -ENOPKG |
109 | Else |
115 | Signature = signature payload |
117 | ret = verify_signature(key, & pks) |
120 | Return ret |
Name | Describe |
---|---|
integrity_digsig_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 |