bsaes-x86_64.pl: fix buffer overrun in tail processing [from HEAD].

This commit is contained in:
Andy Polyakov 2011-11-16 23:36:40 +00:00
parent b1d7429186
commit 0a8f00af34

View File

@ -1894,6 +1894,7 @@ $code.=<<___;
jmp .Lctr_enc_done
.align 16
.Lctr_enc_loop_done:
add \$8, $len
movdqu 0x00($inp), @XMM[8] # load input
pxor @XMM[8], @XMM[0]
movdqu @XMM[0], 0x00($out) # write output