Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/crypto/external/bsd/openssl/lib/libcrypto/arch/i386 more file



details:   https://anonhg.NetBSD.org/src/rev/500c1f00181d
branches:  trunk
changeset: 359426:500c1f00181d
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Feb 09 13:37:16 2018 +0000

description:
more file

diffstat:

 crypto/external/bsd/openssl/lib/libcrypto/arch/i386/bf-686.S |   864 ++++
 crypto/external/bsd/openssl/lib/libcrypto/arch/i386/x86.S    |  2114 ++++++++++
 2 files changed, 2978 insertions(+), 0 deletions(-)

diffs (truncated from 2986 to 300 lines):

diff -r 36e68aa925e0 -r 500c1f00181d crypto/external/bsd/openssl/lib/libcrypto/arch/i386/bf-686.S
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/crypto/external/bsd/openssl/lib/libcrypto/arch/i386/bf-686.S      Fri Feb 09 13:37:16 2018 +0000
@@ -0,0 +1,864 @@
+#include <machine/asm.h>
+.text
+.globl BF_encrypt
+.type  BF_encrypt,@function
+.align 16
+BF_encrypt:
+.L_BF_encrypt_begin:
+       pushl   %ebp
+       pushl   %ebx
+       pushl   %esi
+       pushl   %edi
+
+
+       movl    20(%esp),%eax
+       movl    (%eax),%ecx
+       movl    4(%eax),%edx
+
+
+       movl    24(%esp),%edi
+       xorl    %eax,%eax
+       xorl    %ebx,%ebx
+       xorl    (%edi),%ecx
+
+
+       rorl    $16,%ecx
+       movl    4(%edi),%esi
+       movb    %ch,%al
+       movb    %cl,%bl
+       rorl    $16,%ecx
+       xorl    %esi,%edx
+       movl    72(%edi,%eax,4),%esi
+       movl    1096(%edi,%ebx,4),%ebp
+       movb    %ch,%al
+       movb    %cl,%bl
+       addl    %ebp,%esi
+       movl    2120(%edi,%eax,4),%eax
+       xorl    %eax,%esi
+       movl    3144(%edi,%ebx,4),%ebp
+       addl    %ebp,%esi
+       xorl    %eax,%eax
+       xorl    %esi,%edx
+
+
+       rorl    $16,%edx
+       movl    8(%edi),%esi
+       movb    %dh,%al
+       movb    %dl,%bl
+       rorl    $16,%edx
+       xorl    %esi,%ecx
+       movl    72(%edi,%eax,4),%esi
+       movl    1096(%edi,%ebx,4),%ebp
+       movb    %dh,%al
+       movb    %dl,%bl
+       addl    %ebp,%esi
+       movl    2120(%edi,%eax,4),%eax
+       xorl    %eax,%esi
+       movl    3144(%edi,%ebx,4),%ebp
+       addl    %ebp,%esi
+       xorl    %eax,%eax
+       xorl    %esi,%ecx
+
+
+       rorl    $16,%ecx
+       movl    12(%edi),%esi
+       movb    %ch,%al
+       movb    %cl,%bl
+       rorl    $16,%ecx
+       xorl    %esi,%edx
+       movl    72(%edi,%eax,4),%esi
+       movl    1096(%edi,%ebx,4),%ebp
+       movb    %ch,%al
+       movb    %cl,%bl
+       addl    %ebp,%esi
+       movl    2120(%edi,%eax,4),%eax
+       xorl    %eax,%esi
+       movl    3144(%edi,%ebx,4),%ebp
+       addl    %ebp,%esi
+       xorl    %eax,%eax
+       xorl    %esi,%edx
+
+
+       rorl    $16,%edx
+       movl    16(%edi),%esi
+       movb    %dh,%al
+       movb    %dl,%bl
+       rorl    $16,%edx
+       xorl    %esi,%ecx
+       movl    72(%edi,%eax,4),%esi
+       movl    1096(%edi,%ebx,4),%ebp
+       movb    %dh,%al
+       movb    %dl,%bl
+       addl    %ebp,%esi
+       movl    2120(%edi,%eax,4),%eax
+       xorl    %eax,%esi
+       movl    3144(%edi,%ebx,4),%ebp
+       addl    %ebp,%esi
+       xorl    %eax,%eax
+       xorl    %esi,%ecx
+
+
+       rorl    $16,%ecx
+       movl    20(%edi),%esi
+       movb    %ch,%al
+       movb    %cl,%bl
+       rorl    $16,%ecx
+       xorl    %esi,%edx
+       movl    72(%edi,%eax,4),%esi
+       movl    1096(%edi,%ebx,4),%ebp
+       movb    %ch,%al
+       movb    %cl,%bl
+       addl    %ebp,%esi
+       movl    2120(%edi,%eax,4),%eax
+       xorl    %eax,%esi
+       movl    3144(%edi,%ebx,4),%ebp
+       addl    %ebp,%esi
+       xorl    %eax,%eax
+       xorl    %esi,%edx
+
+
+       rorl    $16,%edx
+       movl    24(%edi),%esi
+       movb    %dh,%al
+       movb    %dl,%bl
+       rorl    $16,%edx
+       xorl    %esi,%ecx
+       movl    72(%edi,%eax,4),%esi
+       movl    1096(%edi,%ebx,4),%ebp
+       movb    %dh,%al
+       movb    %dl,%bl
+       addl    %ebp,%esi
+       movl    2120(%edi,%eax,4),%eax
+       xorl    %eax,%esi
+       movl    3144(%edi,%ebx,4),%ebp
+       addl    %ebp,%esi
+       xorl    %eax,%eax
+       xorl    %esi,%ecx
+
+
+       rorl    $16,%ecx
+       movl    28(%edi),%esi
+       movb    %ch,%al
+       movb    %cl,%bl
+       rorl    $16,%ecx
+       xorl    %esi,%edx
+       movl    72(%edi,%eax,4),%esi
+       movl    1096(%edi,%ebx,4),%ebp
+       movb    %ch,%al
+       movb    %cl,%bl
+       addl    %ebp,%esi
+       movl    2120(%edi,%eax,4),%eax
+       xorl    %eax,%esi
+       movl    3144(%edi,%ebx,4),%ebp
+       addl    %ebp,%esi
+       xorl    %eax,%eax
+       xorl    %esi,%edx
+
+
+       rorl    $16,%edx
+       movl    32(%edi),%esi
+       movb    %dh,%al
+       movb    %dl,%bl
+       rorl    $16,%edx
+       xorl    %esi,%ecx
+       movl    72(%edi,%eax,4),%esi
+       movl    1096(%edi,%ebx,4),%ebp
+       movb    %dh,%al
+       movb    %dl,%bl
+       addl    %ebp,%esi
+       movl    2120(%edi,%eax,4),%eax
+       xorl    %eax,%esi
+       movl    3144(%edi,%ebx,4),%ebp
+       addl    %ebp,%esi
+       xorl    %eax,%eax
+       xorl    %esi,%ecx
+
+
+       rorl    $16,%ecx
+       movl    36(%edi),%esi
+       movb    %ch,%al
+       movb    %cl,%bl
+       rorl    $16,%ecx
+       xorl    %esi,%edx
+       movl    72(%edi,%eax,4),%esi
+       movl    1096(%edi,%ebx,4),%ebp
+       movb    %ch,%al
+       movb    %cl,%bl
+       addl    %ebp,%esi
+       movl    2120(%edi,%eax,4),%eax
+       xorl    %eax,%esi
+       movl    3144(%edi,%ebx,4),%ebp
+       addl    %ebp,%esi
+       xorl    %eax,%eax
+       xorl    %esi,%edx
+
+
+       rorl    $16,%edx
+       movl    40(%edi),%esi
+       movb    %dh,%al
+       movb    %dl,%bl
+       rorl    $16,%edx
+       xorl    %esi,%ecx
+       movl    72(%edi,%eax,4),%esi
+       movl    1096(%edi,%ebx,4),%ebp
+       movb    %dh,%al
+       movb    %dl,%bl
+       addl    %ebp,%esi
+       movl    2120(%edi,%eax,4),%eax
+       xorl    %eax,%esi
+       movl    3144(%edi,%ebx,4),%ebp
+       addl    %ebp,%esi
+       xorl    %eax,%eax
+       xorl    %esi,%ecx
+
+
+       rorl    $16,%ecx
+       movl    44(%edi),%esi
+       movb    %ch,%al
+       movb    %cl,%bl
+       rorl    $16,%ecx
+       xorl    %esi,%edx
+       movl    72(%edi,%eax,4),%esi
+       movl    1096(%edi,%ebx,4),%ebp
+       movb    %ch,%al
+       movb    %cl,%bl
+       addl    %ebp,%esi
+       movl    2120(%edi,%eax,4),%eax
+       xorl    %eax,%esi
+       movl    3144(%edi,%ebx,4),%ebp
+       addl    %ebp,%esi
+       xorl    %eax,%eax
+       xorl    %esi,%edx
+
+
+       rorl    $16,%edx
+       movl    48(%edi),%esi
+       movb    %dh,%al
+       movb    %dl,%bl
+       rorl    $16,%edx
+       xorl    %esi,%ecx
+       movl    72(%edi,%eax,4),%esi
+       movl    1096(%edi,%ebx,4),%ebp
+       movb    %dh,%al
+       movb    %dl,%bl
+       addl    %ebp,%esi
+       movl    2120(%edi,%eax,4),%eax
+       xorl    %eax,%esi
+       movl    3144(%edi,%ebx,4),%ebp
+       addl    %ebp,%esi
+       xorl    %eax,%eax
+       xorl    %esi,%ecx
+
+
+       rorl    $16,%ecx
+       movl    52(%edi),%esi
+       movb    %ch,%al
+       movb    %cl,%bl
+       rorl    $16,%ecx
+       xorl    %esi,%edx
+       movl    72(%edi,%eax,4),%esi
+       movl    1096(%edi,%ebx,4),%ebp
+       movb    %ch,%al
+       movb    %cl,%bl
+       addl    %ebp,%esi
+       movl    2120(%edi,%eax,4),%eax
+       xorl    %eax,%esi
+       movl    3144(%edi,%ebx,4),%ebp
+       addl    %ebp,%esi
+       xorl    %eax,%eax
+       xorl    %esi,%edx
+
+
+       rorl    $16,%edx
+       movl    56(%edi),%esi
+       movb    %dh,%al
+       movb    %dl,%bl
+       rorl    $16,%edx
+       xorl    %esi,%ecx
+       movl    72(%edi,%eax,4),%esi
+       movl    1096(%edi,%ebx,4),%ebp
+       movb    %dh,%al
+       movb    %dl,%bl
+       addl    %ebp,%esi
+       movl    2120(%edi,%eax,4),%eax
+       xorl    %eax,%esi
+       movl    3144(%edi,%ebx,4),%ebp
+       addl    %ebp,%esi
+       xorl    %eax,%eax
+       xorl    %esi,%ecx
+
+
+       rorl    $16,%ecx
+       movl    60(%edi),%esi
+       movb    %ch,%al
+       movb    %cl,%bl
+       rorl    $16,%ecx
+       xorl    %esi,%edx



Home | Main Index | Thread Index | Old Index