projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d5d1c53
)
PR: 2095
author
Dr. Stephen Henson
<steve@openssl.org>
Fri, 13 Nov 2009 14:23:44 +0000
(14:23 +0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Fri, 13 Nov 2009 14:23:44 +0000
(14:23 +0000)
Submitted by: Arkadiusz Miskiewicz <arekm@maven.pl>
Approved by: steve@openssl.org
Fix for out range of signed 32bit displacement error on newer binutils
in file sha1-x86_64.pl
crypto/sha/asm/sha1-x86_64.pl
patch
|
blob
|
history
diff --git
a/crypto/sha/asm/sha1-x86_64.pl
b/crypto/sha/asm/sha1-x86_64.pl
index 4edc5ea9ad5562a450073eeea2ec1964f37b01b5..c6385a4981c6edd40178a6e06fd88431cb2b6543 100755
(executable)
--- a/
crypto/sha/asm/sha1-x86_64.pl
+++ b/
crypto/sha/asm/sha1-x86_64.pl
@@
-150,7
+150,7
@@
___
sub BODY_20_39 {
my ($i,$a,$b,$c,$d,$e,$f)=@_;
my $j=$i+1;
-my $K=($i<40)?0x6ed9eba1:
0xca62c1d6
;
+my $K=($i<40)?0x6ed9eba1:
-0x359d3e2a
;
$code.=<<___ if ($i<79);
lea $K($xi,$e),$f
mov `4*($j%16)`(%rsp),$xi
@@
-187,7
+187,7
@@
sub BODY_40_59 {
my ($i,$a,$b,$c,$d,$e,$f)=@_;
my $j=$i+1;
$code.=<<___;
- lea
0x8f1bbcdc
($xi,$e),$f
+ lea
-0x70e44324
($xi,$e),$f
mov `4*($j%16)`(%rsp),$xi
mov $b,$t0
mov $b,$t1