Function report |
Source Code:security\keys\encrypted-keys\encrypted.c |
Create Date:2022-07-28 18:33:40 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:encrypted_key_decrypt
Proto:static int encrypted_key_decrypt(struct encrypted_key_payload *epayload, const char *format, const char *hex_encoded_iv)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct encrypted_key_payload * | epayload | |
const char * | format | |
const char * | hex_encoded_iv |
681 | asciilen = ( ivsize + 1 + encrypted_datalen + HASH_SIZE) * 2 |
682 | If strlen - Find the length of a string*@s: The string to be sized != asciilen Then Return -EINVAL |
685 | hex_encoded_data = hex_encoded_iv + 2 * ivsize + 2 |
694 | hmac = datablob: format + length of datablob |
700 | mkey = request_master_key(epayload, & master_key, & master_keylen) |
705 | If ret < 0 Then |
717 | out : |
721 | Return ret |
Name | Describe |
---|---|
encrypted_init | rypted_init - initialize an encrypted key* For a new key, use a random number for both the iv and data* itself. For an old key, decrypt the hex encoded data. |
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 |