Function report |
Source Code:security\keys\encrypted-keys\encrypted.c |
Create Date:2022-07-28 18:32:47 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:valid_ecryptfs_desc - verify the description of a new/loaded encrypted key* The description of a encrypted key with format 'ecryptfs' must contain* exactly 16 hexadecimal characters.
Proto:static int valid_ecryptfs_desc(const char *ecryptfs_desc)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
const char * | ecryptfs_desc |
109 | pr_err("encrypted_key: key description must be %d hexadecimal characters long\n", KEY_ECRYPTFS_DESC_LEN) |
111 | Return -EINVAL |
114 | When i < KEY_ECRYPTFS_DESC_LEN cycle |
115 | If Not isxdigit(ecryptfs_desc[i]) Then |
122 | Return 0 |
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 |