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:
b4b42ce
)
sha/asm/sha1-x86_64.pl: fix crash in SHAEXT code on Windows.
author
Andy Polyakov
<appro@openssl.org>
Sun, 31 Jul 2016 19:19:57 +0000
(21:19 +0200)
committer
Andy Polyakov
<appro@openssl.org>
Thu, 11 Aug 2016 11:39:57 +0000
(13:39 +0200)
RT#4530
Reviewed-by: Tim Hudson <tjh@openssl.org>
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 e8f61ab820213a3db40239bcdceee24ec724c085..97baae37cd954c7ecddb70669ce981f1a0985beb 100755
(executable)
--- a/
crypto/sha/asm/sha1-x86_64.pl
+++ b/
crypto/sha/asm/sha1-x86_64.pl
@@
-380,9
+380,9
@@
$code.=<<___;
.align 16
.Loop_shaext:
dec $num
- lea 0x40($inp),%r
ax
# next input block
+ lea 0x40($inp),%r
8
# next input block
paddd @MSG[0],$E
- cmovne %r
ax
,$inp
+ cmovne %r
8
,$inp
movdqa $ABCD,$ABCD_SAVE # offload $ABCD
___
for($i=0;$i<20-4;$i+=2) {