Function report |
Source Code:lib\crypto\des.c |
Create Date:2022-07-28 06:47:22 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Decryption key expansion* No weak key checking is performed, as this is only used by triple DES
Proto:static void dkey(u32 *pe, const u8 *k)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
u32 * | pe | |
const u8 * | k |
720 | d &= 0x0e |
720 | d <<= 4 |
720 | d = Lookup tables for key expansion [d] |
721 | c &= 0x0e |
721 | c <<= 4 |
721 | c = Lookup tables for key expansion [c] |
722 | b &= 0x0e |
722 | b <<= 4 |
722 | b = Lookup tables for key expansion [b] |
723 | a &= 0x0e |
723 | a <<= 4 |
723 | a = Lookup tables for key expansion [a] |
743 | pt += 512 |
745 | d &= 0xe0 |
745 | d >>= 4 |
745 | d = Lookup tables for key expansion [d + 1] |
746 | c &= 0xe0 |
746 | c >>= 4 |
746 | c = Lookup tables for key expansion [c + 1] |
747 | b &= 0xe0 |
747 | b >>= 4 |
747 | b = Lookup tables for key expansion [b + 1] |
748 | a &= 0xe0 |
748 | a >>= 4 |
748 | a = Lookup tables for key expansion [a + 1] |
772 | c &= 0xffff0000 |
Name | Describe |
---|---|
des3_ede_expand_key |
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 |