|
|
@@ -0,0 +1,99 @@
|
|
|
+Index: gas/aesopt.x86.m4
|
|
|
+===================================================================
|
|
|
+RCS file: /CVSROOT/opkg/cvsbase/beecrypt/gas/aesopt.x86.m4,v
|
|
|
+retrieving revision 1.1.1.1
|
|
|
+diff -u -u -r1.1.1.1 aesopt.x86.m4
|
|
|
+--- gas/aesopt.x86.m4 9 Jun 2003 08:35:39 -0000 1.1.1.1
|
|
|
++++ gas/aesopt.x86.m4 4 Sep 2003 07:26:08 -0000
|
|
|
+@@ -133,6 +133,9 @@
|
|
|
+ pxor 6144(%esi,%edx,8),s0
|
|
|
+ ')
|
|
|
+
|
|
|
++')
|
|
|
++ifdef(`USE_MMX',`
|
|
|
++
|
|
|
+ define(`elr',`
|
|
|
+ movd 0(%ebp),s0
|
|
|
+ movd t0,%eax
|
|
|
+@@ -252,6 +255,9 @@
|
|
|
+ ')
|
|
|
+
|
|
|
+
|
|
|
++')
|
|
|
++ifdef(`USE_MMX',`
|
|
|
++
|
|
|
+ C_FUNCTION_BEGIN(aesEncrypt)
|
|
|
+ pushl %edi
|
|
|
+ pushl %esi
|
|
|
+@@ -363,6 +369,9 @@
|
|
|
+ pxor 6144(%esi,%edx,8),t2
|
|
|
+ ')
|
|
|
+
|
|
|
++')
|
|
|
++ifdef(`USE_MMX',`
|
|
|
++
|
|
|
+ define(`dsft',`
|
|
|
+ movd $1+ 0(%ebp),s0
|
|
|
+ movd t0,%eax
|
|
|
+@@ -488,6 +497,9 @@
|
|
|
+ pxor t2,s1
|
|
|
+ pxor t3,s2
|
|
|
+ ')
|
|
|
++
|
|
|
++')
|
|
|
++ifdef(`USE_MMX',`
|
|
|
+
|
|
|
+ define(`dblock',`
|
|
|
+ sxrk
|
|
|
+Index: gas/mpopt.x86.m4
|
|
|
+===================================================================
|
|
|
+RCS file: /CVSROOT/opkg/cvsbase/beecrypt/gas/mpopt.x86.m4,v
|
|
|
+retrieving revision 1.1.1.1
|
|
|
+diff -u -u -r1.1.1.1 mpopt.x86.m4
|
|
|
+--- gas/mpopt.x86.m4 4 Jun 2003 17:39:58 -0000 1.1.1.1
|
|
|
++++ gas/mpopt.x86.m4 4 Sep 2003 07:26:08 -0000
|
|
|
+@@ -29,7 +29,7 @@
|
|
|
+ movl 12(%esp),%edi
|
|
|
+
|
|
|
+ xorl %eax,%eax
|
|
|
+- repz stosl
|
|
|
++ repz; stosl
|
|
|
+
|
|
|
+ popl %edi
|
|
|
+ ret
|
|
|
+@@ -43,7 +43,7 @@
|
|
|
+ movl 12(%esp),%edi
|
|
|
+ movl 16(%esp),%eax
|
|
|
+
|
|
|
+- repz stosl
|
|
|
++ repz; stosl
|
|
|
+
|
|
|
+ popl %edi
|
|
|
+ ret
|
|
|
+Index: gas/sha1opt.x86.m4
|
|
|
+===================================================================
|
|
|
+RCS file: /CVSROOT/opkg/cvsbase/beecrypt/gas/sha1opt.x86.m4,v
|
|
|
+retrieving revision 1.1.1.1
|
|
|
+diff -u -u -r1.1.1.1 sha1opt.x86.m4
|
|
|
+--- gas/sha1opt.x86.m4 8 May 2003 17:52:54 -0000 1.1.1.1
|
|
|
++++ gas/sha1opt.x86.m4 4 Sep 2003 07:26:08 -0000
|
|
|
+@@ -21,13 +21,13 @@
|
|
|
+ include(config.m4)
|
|
|
+ include(ASM_SRCDIR/x86.m4)
|
|
|
+
|
|
|
+- .equ K00, 0x5a827999
|
|
|
+- .equ K20, 0x6ed9eba1
|
|
|
+- .equ K40, 0x8f1bbcdc
|
|
|
+- .equ K60, 0xca62c1d6
|
|
|
++ .set K00, 0x5a827999
|
|
|
++ .set K20, 0x6ed9eba1
|
|
|
++ .set K40, 0x8f1bbcdc
|
|
|
++ .set K60, 0xca62c1d6
|
|
|
+
|
|
|
+- .equ PARAM_H, 0
|
|
|
+- .equ PARAM_DATA, 20
|
|
|
++ .set PARAM_H, 0
|
|
|
++ .set PARAM_DATA, 20
|
|
|
+
|
|
|
+ define(`subround1',`
|
|
|
+ movl $2,%ecx
|