提交 7123aa81 编写于 作者: A Andy Polyakov

sha/asm/sha1-x86_64.pl: fix crash in SHAEXT code on Windows.

RT#4530
Reviewed-by: NTim Hudson <tjh@openssl.org>
上级 b4b42ce6
...@@ -380,9 +380,9 @@ $code.=<<___; ...@@ -380,9 +380,9 @@ $code.=<<___;
.align 16 .align 16
.Loop_shaext: .Loop_shaext:
dec $num dec $num
lea 0x40($inp),%rax # next input block lea 0x40($inp),%r8 # next input block
paddd @MSG[0],$E paddd @MSG[0],$E
cmovne %rax,$inp cmovne %r8,$inp
movdqa $ABCD,$ABCD_SAVE # offload $ABCD movdqa $ABCD,$ABCD_SAVE # offload $ABCD
___ ___
for($i=0;$i<20-4;$i+=2) { for($i=0;$i<20-4;$i+=2) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册