Function report |
Source Code:security\keys\encrypted-keys\encrypted.c |
Create Date:2022-07-28 18:33:12 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:request_master_key
Proto:static struct key *request_master_key(struct encrypted_key_payload *epayload, const u8 **master_key, size_t *master_keylen)
Type:struct key
Parameter:
Type | Parameter | Name |
---|---|---|
struct encrypted_key_payload * | epayload | |
const u8 ** | master_key | |
size_t * | master_keylen |
427 | If Not strncmp( datablob: master key name , KEY_TRUSTED_PREFIX, KEY_TRUSTED_PREFIX_LEN) Then |
432 | Else if Not strncmp( datablob: master key name , KEY_USER_PREFIX, KEY_USER_PREFIX_LEN) Then |
437 | Else Go to out |
443 | If ret == -Operation is not supported Then pr_info("encrypted_key: key %s not supported", datablob: master key name ) |
446 | Else pr_info("encrypted_key: key %s not found", datablob: master key name ) |
449 | Go to out |
452 | dump_master_key( * master_key, * master_keylen) |
453 | out : |
454 | Return mkey |
Name | Describe |
---|---|
encrypted_key_decrypt | |
encrypted_read | rypted_read - format and copy the encrypted data to userspace* The resulting datablob format is:* |
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 |