sha1-armv4-large.pl: comply with ABI [from HEAD].
authorAndy Polyakov <appro@openssl.org>
Fri, 17 Aug 2012 20:01:47 +0000 (20:01 +0000)
committerAndy Polyakov <appro@openssl.org>
Fri, 17 Aug 2012 20:01:47 +0000 (20:01 +0000)
crypto/sha/asm/sha1-armv4-large.pl

index 6e65fe3e018bb21ad2bb861fae6abe847026be9f..498d2443f4f8314c3bb54677a938c1ee970fa09e 100644 (file)
@@ -161,6 +161,7 @@ for($i=0;$i<5;$i++) {
 $code.=<<___;
        teq     $Xi,sp
        bne     .L_00_15                @ [((11+4)*5+2)*3]
+       sub     sp,sp,#25*4
 ___
        &BODY_00_15(@V);        unshift(@V,pop(@V));
        &BODY_16_19(@V);        unshift(@V,pop(@V));
@@ -170,7 +171,6 @@ ___
 $code.=<<___;
 
        ldr     $K,.LK_20_39            @ [+15+16*4]
-       sub     sp,sp,#25*4
        cmn     sp,#0                   @ [+3], clear carry to denote 20_39
 .L_20_39_or_60_79:
 ___