函数逻辑报告 |
Source Code:security\keys\encrypted-keys\encrypted.c |
Create Date:2022-07-27 20:07:56 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称: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.
函数原型:static int encrypted_update(struct key *key, struct key_preparsed_payload *prep)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct key * | key | |
struct key_preparsed_payload * | prep |
859 | char * new_master_desc = NULL |
860 | const char * format = NULL |
861 | datalen等于Raw datalen |
862 | ret等于0 |
864 | 如果key_is_negative(key)则返回:负ENOKEY |
875 |
ret等于datablob_parse - parse the keyctl data* datablob format:* new [ |
885 | 如果是错误则 |
893 | memcpy( datablob: iv , datablob: iv , ivsize) |
899 | out : |
901 | 返回:ret |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |