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:
d674bb4
)
bsaes-x86_64.pl: fix buffer overrun in tail processing.
author
Andy Polyakov
<appro@openssl.org>
Wed, 16 Nov 2011 23:34:01 +0000
(23:34 +0000)
committer
Andy Polyakov
<appro@openssl.org>
Wed, 16 Nov 2011 23:34:01 +0000
(23:34 +0000)
crypto/aes/asm/bsaes-x86_64.pl
patch
|
blob
|
history
diff --git
a/crypto/aes/asm/bsaes-x86_64.pl
b/crypto/aes/asm/bsaes-x86_64.pl
index edc70fa1bec7d28969e7e72318ee1dc050332d03..ff7e3afe82dca43cc25e5c5c7bf55496e71f7963 100644
(file)
--- a/
crypto/aes/asm/bsaes-x86_64.pl
+++ b/
crypto/aes/asm/bsaes-x86_64.pl
@@
-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