Function report |
Source Code:security\keys\encrypted-keys\encrypted.c |
Create Date:2022-07-28 18:32:58 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:datablob_format - format as an ascii string, before copying to userspace
Proto:static char *datablob_format(struct encrypted_key_payload *epayload, size_t asciiblob_len)
Type:char
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct encrypted_key_payload * | epayload | |
| size_t | asciiblob_len |
| 274 | iv = datablob: iv |
| 278 | ascii_buf = Allocation memory |
| 282 | ascii_buf[asciiblob_len] = '\0' |
| 285 | len = sprintf(ascii_buf, "%s %s %s ", datablob: format , datablob: master key name , datablob: decrypted key length ) |
| 290 | When i < (asciiblob_len - len) / 2 cycle bufp = hex_byte_pack(bufp, iv[i]) |
| 292 | out : |
| 293 | Return ascii_buf |
| Name | Describe |
|---|---|
| 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 |