sha1-armv4-large.pl: comply with ABI.
authorAndy Polyakov <appro@openssl.org>
Fri, 17 Aug 2012 19:57:04 +0000 (19:57 +0000)
committerAndy Polyakov <appro@openssl.org>
Fri, 17 Aug 2012 19:57:04 +0000 (19:57 +0000)
crypto/sha/asm/sha1-armv4-large.pl

index fe8207f77f8ccf0e54ea07482a02961e21cdcb9f..33da3e0e3c0d50031a705b182b22b74c6b6cbdf1 100644 (file)
@@ -177,6 +177,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));
@@ -186,7 +187,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:
 ___