diff options
author | Andy Polyakov <appro@openssl.org> | 2011-08-12 12:28:52 +0000 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2011-08-12 12:28:52 +0000 |
commit | 20735f4c813c394f64a205572ba5edf5efe3b56a (patch) | |
tree | 077f83b69897ed5765a65b88865a287761ec2738 /crypto | |
parent | ab1ec69843605597600f581bdd2b8f155df32851 (diff) |
alphacpuid.pl: fix alignment bug.
alpha-mont.pl: fix typo.
PR: 2577
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/alphacpuid.pl | 8 | ||||
-rw-r--r-- | crypto/bn/asm/alpha-mont.pl | 2 |
2 files changed, 4 insertions, 6 deletions
diff --git a/crypto/alphacpuid.pl b/crypto/alphacpuid.pl index 11f2e30ce0..5b0e21bc90 100644 --- a/crypto/alphacpuid.pl +++ b/crypto/alphacpuid.pl @@ -99,19 +99,19 @@ OPENSSL_cleanse: beq $0,.Laligned .Little: + subq $0,8,$0 ldq_u $1,0($16) mov $16,$2 .Lalign: mskbl $1,$16,$1 lda $16,1($16) subq $17,1,$17 - subq $0,1,$0 + addq $0,1,$0 beq $17,.Lout bne $0,.Lalign .Lout: stq_u $1,0($2) beq $17,.Ldone bic $17,7,$at - mov $17,$0 beq $at,.Little .Laligned: @@ -120,9 +120,7 @@ OPENSSL_cleanse: lda $16,8($16) bic $17,7,$at bne $at,.Laligned - beq $17,.Ldone - mov $17,$0 - br .Little + bne $17,.Little .Ldone: ret ($26) .end OPENSSL_cleanse ___ diff --git a/crypto/bn/asm/alpha-mont.pl b/crypto/bn/asm/alpha-mont.pl index c63458e94f..03596e2014 100644 --- a/crypto/bn/asm/alpha-mont.pl +++ b/crypto/bn/asm/alpha-mont.pl @@ -41,7 +41,7 @@ $j="s4"; $m1="s5"; $code=<<___; -#indef __linux__ +#ifdef __linux__ #include <asm/regdef.h> #else #include <asm.h> |