Function report |
Source Code:security\keys\encrypted-keys\ecryptfs_format.c |
Create Date:2022-07-28 18:34:13 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:ryptfs_fill_auth_tok - fill the ecryptfs_auth_tok structure* Fill the ecryptfs_auth_tok structure with required ecryptfs data.* The source code is inspired to the original function generate_payload()* shipped with the software 'ecryptfs-utils' version 83.
Proto:int ecryptfs_fill_auth_tok(struct ecryptfs_auth_tok *auth_tok, const char *key_desc)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct ecryptfs_auth_tok * | auth_tok | |
const char * | key_desc |
54 | 8-bit major and 8-bit minor = major << 8 & 0xFF00 | minor & 0x00FF |
57 | strncpy((char * )signature, key_desc, ECRYPTFS_PASSWORD_SIG_SIZE) |
70 | encrypted_key[0] = 0 |
71 | encrypted_key_size = 0 |
75 | Return 0 |
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 |