函数逻辑报告 |
Source Code:security\keys\keyring.c |
Create Date:2022-07-27 19:51:54 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Hash a key type and description.
函数原型:static void hash_key_type_and_desc(struct keyring_index_key *index_key)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct keyring_index_key * | index_key |
167 | description等于description |
174 | acc等于Multiply 64-bits by 32-bits to 96-bits and fold back to 64-bit. Ideally we'd* fold the carry back too, but that requires inline asm. |
175 | acc等于Multiply 64-bits by 32-bits to 96-bits and fold back to 64-bit. Ideally we'd* fold the carry back too, but that requires inline asm. |
176 | piece等于 Domain of operation |
177 | acc等于Multiply 64-bits by 32-bits to 96-bits and fold back to 64-bit. Ideally we'd* fold the carry back too, but that requires inline asm. |
178 | acc等于Multiply 64-bits by 32-bits to 96-bits and fold back to 64-bit. Ideally we'd* fold the carry back too, but that requires inline asm. |
180 | 循环 |
186 | piece等于0 |
187 | memcpy( & piece, description, n) |
188 | description加等于n |
196 | 如果Key data retrieved in chunks of this size 恒等于32则hash异或等于acc右移32位 |
203 | 如果type不等于key_type_keyring且hash按位与fan_mask的值恒等于0则hash或等于hash右移Key data retrieved in chunks of this size 减level_shift位按位或1 |
205 | 否则如果type恒等于key_type_keyring且hash按位与fan_mask的值不等于0则hash等于hash加hash左移level_shift位的值按位与fan_mask的反 |
207 | Hash value 等于hash |
名称 | 描述 |
---|---|
key_set_index_key | Finalise an index key to include a part of the description actually in the* index key, to set the domain tag and to calculate the hash. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |