Rename des_SPtrans to DES_SPtrans to differentiate from libdes and avoid certain...
[openssl.git] / crypto / des / asm / des686.pl
index f6dbab3..d3ad5d5 100644 (file)
@@ -58,7 +58,7 @@ sub DES_encrypt
        {
        local($name,$do_ip)=@_;
 
        {
        local($name,$do_ip)=@_;
 
-       &function_begin($name,"EXTRN   _des_SPtrans:DWORD");
+       &function_begin($name,"EXTRN   _DES_SPtrans:DWORD");
 
        &comment("");
        &comment("Load the 2 words");
 
        &comment("");
        &comment("Load the 2 words");
@@ -94,11 +94,11 @@ sub DES_encrypt
                {
                &comment("");
                &comment("Round $i");
                {
                &comment("");
                &comment("Round $i");
-               &D_ENCRYPT($L,$R,$i*2,"ebp","des_SPtrans","ecx","edx","eax","ebx");
+               &D_ENCRYPT($L,$R,$i*2,"ebp","DES_SPtrans","ecx","edx","eax","ebx");
 
                &comment("");
                &comment("Round ".sprintf("%d",$i+1));
 
                &comment("");
                &comment("Round ".sprintf("%d",$i+1));
-               &D_ENCRYPT($R,$L,($i+1)*2,"ebp","des_SPtrans","ecx","edx","eax","ebx");
+               &D_ENCRYPT($R,$L,($i+1)*2,"ebp","DES_SPtrans","ecx","edx","eax","ebx");
                }
        &jmp(&label("end"));
 
                }
        &jmp(&label("end"));
 
@@ -108,10 +108,10 @@ sub DES_encrypt
                {
                &comment("");
                &comment("Round $i");
                {
                &comment("");
                &comment("Round $i");
-               &D_ENCRYPT($L,$R,$i*2,"ebp","des_SPtrans","ecx","edx","eax","ebx");
+               &D_ENCRYPT($L,$R,$i*2,"ebp","DES_SPtrans","ecx","edx","eax","ebx");
                &comment("");
                &comment("Round ".sprintf("%d",$i-1));
                &comment("");
                &comment("Round ".sprintf("%d",$i-1));
-               &D_ENCRYPT($R,$L,($i-1)*2,"ebp","des_SPtrans","ecx","edx","eax","ebx");
+               &D_ENCRYPT($R,$L,($i-1)*2,"ebp","DES_SPtrans","ecx","edx","eax","ebx");
                }
 
        &set_label("end");
                }
 
        &set_label("end");