projects
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c153422
)
Backport aes-x86_64.pl update from HEAD.
author
Andy Polyakov
<appro@openssl.org>
Sat, 27 Dec 2008 13:34:30 +0000
(13:34 +0000)
committer
Andy Polyakov
<appro@openssl.org>
Sat, 27 Dec 2008 13:34:30 +0000
(13:34 +0000)
crypto/aes/asm/aes-x86_64.pl
patch
|
blob
|
history
diff --git
a/crypto/aes/asm/aes-x86_64.pl
b/crypto/aes/asm/aes-x86_64.pl
index 6711b63f7f57aefc5e210dd60465c7324d40b5fd..f616f1751f7e773131a8b8bacc0fd2586d241882 100755
(executable)
--- a/
crypto/aes/asm/aes-x86_64.pl
+++ b/
crypto/aes/asm/aes-x86_64.pl
@@
-1198,6
+1198,8
@@
AES_cbc_encrypt:
ret
.align 4
.Lcbc_enc_tail:
+ mov %rax,%r11
+ mov %rcx,%r12
mov %r10,%rcx
mov $inp,%rsi
mov $out,%rdi
@@
-1208,6
+1210,8
@@
AES_cbc_encrypt:
.long 0xF689AAF3 # rep stosb
mov $out,$inp # this is not a mistake!
movq \$16,$_len # len=16
+ mov %r11,%rax
+ mov %r12,%rcx
jmp .Lcbc_enc_loop # one more spin...
#----------------------------- DECRYPT -----------------------------#
.align 16