函数逻辑报告 |
Source Code:security\keys\encrypted-keys\encrypted.c |
Create Date:2022-07-27 20:06:50 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:valid_master_desc - verify the 'key-type:desc' of a new/updated master-key* key-type:= "trusted:" | "user:"* desc:= master-key description* Verify that 'key-type' is valid and that 'desc' exists. On key update,
函数原型:static int valid_master_desc(const char *new_desc, const char *orig_desc)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
const char * | new_desc | |
const char * | orig_desc |
143 | 否则如果非字符串指定长度比较则prefix_len等于KEY_USER_PREFIX_LEN |
145 | 否则返回:负EINVAL |
148 | 如果非new_desc[prefix_len]则返回:负EINVAL |
154 | 返回:0 |
名称 | 描述 |
---|---|
datablob_parse | datablob_parse - parse the keyctl data* datablob format:* new [ |
encrypted_update | rypted_update - update the master key description* Change the master key description for an existing encrypted key.* The next read will return an encrypted datablob using the new* master key description.* On success, return 0. Otherwise return errno. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |