函数逻辑报告 |
Source Code:lib\crypto\des.c |
Create Date:2022-07-27 07:44:51 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:Encryption key expansion* RFC2451: Weak key checks SHOULD be performed.* FIPS 74:* Keys having duals are keys which produce all zeros, all ones, or* alternating zero-one patterns in the C and D registers after Permuted* Choice 1 has operated on the key.
函数原型:static unsigned long des_ekey(u32 *pe, const u8 *k)
返回类型:unsigned long
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| u32 * | pe | |
| const u8 * | k |
| 629 | d与等于0x0e |
| 629 | d左移等于4位 |
| 629 | d等于Lookup tables for key expansion [d] |
| 630 | c与等于0x0e |
| 630 | c左移等于4位 |
| 630 | c等于Lookup tables for key expansion [c] |
| 631 | b与等于0x0e |
| 631 | b左移等于4位 |
| 631 | b等于Lookup tables for key expansion [b] |
| 632 | a与等于0x0e |
| 632 | a左移等于4位 |
| 632 | a等于Lookup tables for key expansion [a] |
| 655 | pt加等于512 |
| 657 | d与等于0xe0 |
| 657 | d右移等于4位 |
| 657 | d等于Lookup tables for key expansion [d + 1] |
| 658 | c与等于0xe0 |
| 658 | c右移等于4位 |
| 658 | c等于Lookup tables for key expansion [c + 1] |
| 659 | b与等于0xe0 |
| 659 | b右移等于4位 |
| 659 | b等于Lookup tables for key expansion [b + 1] |
| 660 | a与等于0xe0 |
| 660 | a右移等于4位 |
| 660 | a等于Lookup tables for key expansion [a + 1] |
| 687 | c与等于0xffff0000 |
| 696 | 返回:w |
| 名称 | 描述 |
|---|---|
| des_expand_key | |
| des3_ede_expand_key |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |