diff options
Diffstat (limited to 'src/lib/libcrypto/des/asm/des686.pl')
-rw-r--r-- | src/lib/libcrypto/des/asm/des686.pl | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/lib/libcrypto/des/asm/des686.pl b/src/lib/libcrypto/des/asm/des686.pl index 84c3e85438..d3ad5d5edd 100644 --- a/src/lib/libcrypto/des/asm/des686.pl +++ b/src/lib/libcrypto/des/asm/des686.pl | |||
@@ -46,19 +46,19 @@ EOF | |||
46 | $L="edi"; | 46 | $L="edi"; |
47 | $R="esi"; | 47 | $R="esi"; |
48 | 48 | ||
49 | &des_encrypt("des_encrypt1",1); | 49 | &DES_encrypt("DES_encrypt1",1); |
50 | &des_encrypt("des_encrypt2",0); | 50 | &DES_encrypt("DES_encrypt2",0); |
51 | 51 | ||
52 | &des_encrypt3("des_encrypt3",1); | 52 | &DES_encrypt3("DES_encrypt3",1); |
53 | &des_encrypt3("des_decrypt3",0); | 53 | &DES_encrypt3("DES_decrypt3",0); |
54 | 54 | ||
55 | &file_end(); | 55 | &file_end(); |
56 | 56 | ||
57 | sub des_encrypt | 57 | sub DES_encrypt |
58 | { | 58 | { |
59 | local($name,$do_ip)=@_; | 59 | local($name,$do_ip)=@_; |
60 | 60 | ||
61 | &function_begin($name,"EXTRN _des_SPtrans:DWORD"); | 61 | &function_begin($name,"EXTRN _DES_SPtrans:DWORD"); |
62 | 62 | ||
63 | &comment(""); | 63 | &comment(""); |
64 | &comment("Load the 2 words"); | 64 | &comment("Load the 2 words"); |
@@ -94,11 +94,11 @@ sub des_encrypt | |||
94 | { | 94 | { |
95 | &comment(""); | 95 | &comment(""); |
96 | &comment("Round $i"); | 96 | &comment("Round $i"); |
97 | &D_ENCRYPT($L,$R,$i*2,"ebp","des_SPtrans","ecx","edx","eax","ebx"); | 97 | &D_ENCRYPT($L,$R,$i*2,"ebp","DES_SPtrans","ecx","edx","eax","ebx"); |
98 | 98 | ||
99 | &comment(""); | 99 | &comment(""); |
100 | &comment("Round ".sprintf("%d",$i+1)); | 100 | &comment("Round ".sprintf("%d",$i+1)); |
101 | &D_ENCRYPT($R,$L,($i+1)*2,"ebp","des_SPtrans","ecx","edx","eax","ebx"); | 101 | &D_ENCRYPT($R,$L,($i+1)*2,"ebp","DES_SPtrans","ecx","edx","eax","ebx"); |
102 | } | 102 | } |
103 | &jmp(&label("end")); | 103 | &jmp(&label("end")); |
104 | 104 | ||
@@ -108,10 +108,10 @@ sub des_encrypt | |||
108 | { | 108 | { |
109 | &comment(""); | 109 | &comment(""); |
110 | &comment("Round $i"); | 110 | &comment("Round $i"); |
111 | &D_ENCRYPT($L,$R,$i*2,"ebp","des_SPtrans","ecx","edx","eax","ebx"); | 111 | &D_ENCRYPT($L,$R,$i*2,"ebp","DES_SPtrans","ecx","edx","eax","ebx"); |
112 | &comment(""); | 112 | &comment(""); |
113 | &comment("Round ".sprintf("%d",$i-1)); | 113 | &comment("Round ".sprintf("%d",$i-1)); |
114 | &D_ENCRYPT($R,$L,($i-1)*2,"ebp","des_SPtrans","ecx","edx","eax","ebx"); | 114 | &D_ENCRYPT($R,$L,($i-1)*2,"ebp","DES_SPtrans","ecx","edx","eax","ebx"); |
115 | } | 115 | } |
116 | 116 | ||
117 | &set_label("end"); | 117 | &set_label("end"); |