diff options
author | Andy Polyakov <appro@openssl.org> | 2011-11-16 23:36:40 +0000 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2011-11-16 23:36:40 +0000 |
commit | 0a8f00af3446507a907266614c63e91e49a69691 (patch) | |
tree | aa166599e27dd45776b887bb0e595cbede9bfb1a /crypto | |
parent | b1d7429186658934e4ca8b7913c3640ef4426e45 (diff) |
bsaes-x86_64.pl: fix buffer overrun in tail processing [from HEAD].
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/aes/asm/bsaes-x86_64.pl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/aes/asm/bsaes-x86_64.pl b/crypto/aes/asm/bsaes-x86_64.pl index edc70fa1be..ff7e3afe82 100644 --- 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 |