Diffstat (limited to 'noncore/comm/keypebble/d3des.c') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/comm/keypebble/d3des.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/noncore/comm/keypebble/d3des.c b/noncore/comm/keypebble/d3des.c index b0f065e..7f50da4 100644 --- a/noncore/comm/keypebble/d3des.c +++ b/noncore/comm/keypebble/d3des.c | |||
@@ -30,19 +30,12 @@ | |||
30 | static void scrunch(unsigned char *, unsigned long *); | 30 | static void scrunch(unsigned char *, unsigned long *); |
31 | static void unscrun(unsigned long *, unsigned char *); | 31 | static void unscrun(unsigned long *, unsigned char *); |
32 | static void desfunc(unsigned long *, unsigned long *); | 32 | static void desfunc(unsigned long *, unsigned long *); |
33 | static void cookey(unsigned long *); | 33 | static void cookey(unsigned long *); |
34 | 34 | ||
35 | static unsigned long KnL[32] = { 0L }; | 35 | static unsigned long KnL[32] = { 0L }; |
36 | static unsigned long KnR[32] = { 0L }; | ||
37 | static unsigned long Kn3[32] = { 0L }; | ||
38 | static unsigned char Df_Key[24] = { | ||
39 | 0x01,0x23,0x45,0x67,0x89,0xab,0xcd,0xef, | ||
40 | 0xfe,0xdc,0xba,0x98,0x76,0x54,0x32,0x10, | ||
41 | 0x89,0xab,0xcd,0xef,0x01,0x23,0x45,0x67 }; | ||
42 | |||
43 | static unsigned short bytebit[8]= { | 36 | static unsigned short bytebit[8]= { |
44 | 01, 02, 04, 010, 020, 040, 0100, 0200 }; | 37 | 01, 02, 04, 010, 020, 040, 0100, 0200 }; |
45 | 38 | ||
46 | static unsigned long bigbyte[24] = { | 39 | static unsigned long bigbyte[24] = { |
47 | 0x800000L, 0x400000L, 0x200000L,0x100000L, | 40 | 0x800000L, 0x400000L, 0x200000L,0x100000L, |
48 | 0x80000L, 0x40000L, 0x20000L,0x10000L, | 41 | 0x80000L, 0x40000L, 0x20000L,0x10000L, |