Backport aes-x86_64.pl update from HEAD.

This commit is contained in:
Andy Polyakov 2008-12-27 13:34:30 +00:00
parent c153422388
commit a51c8c64e0

View file

@ -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