diff --git a/config/Makefile.config.in b/config/Makefile.config.in index 422a9b17..28e2c97a 100644 --- a/config/Makefile.config.in +++ b/config/Makefile.config.in @@ -33,9 +33,6 @@ LABLGL_CMXA=@LABLGL_CMXA@ MORE_TARGETS=@MORE_TARGETS@ MORE_SUBDIRS=@MORE_SUBDIRS@ -MD4ARCH=@MD4ARCH@ -MD4COMP=@MD4COMP@ - OPENNAP=@OPEN_NAPSTER@ DIRECT_CONNECT=@DIRECT_CONNECT@ GNUTELLA=@GNUTELLA@ @@ -51,7 +48,6 @@ FILETP=@FILETP@ GUI=@GUI@ -ARCH=@ARCH@ SYSTEM=@SYSTEM@ REQUIRED_OCAML=@REQUIRED_OCAML@ REQUIRED_LABLGTK=@REQUIRED_LABLGTK@ diff --git a/config/Makefile.in b/config/Makefile.in index 14e698e5..f6ed07a9 100644 --- a/config/Makefile.in +++ b/config/Makefile.in @@ -1433,19 +1433,12 @@ ocamldoc_html: $(CORE_DOC) $(libclient_DOC) mkdir -p ocamldoc $(OCAMLDOC) -sort -dump ocamldoc/ocamldocdump -html -d ocamldoc $(INCLUDES) $(libclient_DOC) $(CORE_DOC) -$(LIB)/md4_cc.o: $(LIB)/md4.c - $(OCAMLC) -ccopt "$(CFLAGS) -o $(LIB)/md4_cc.o" -ccopt "" -c $(LIB)/md4.c +$(LIB)/md4_comp.o: $(LIB)/md4_comp.c + $(OCAMLC) -ccopt "$(CFLAGS) -o $(LIB)/md4_comp.o" -ccopt "" -c $(LIB)/md4_comp.c $(CDK)/heap_c.o: $(CDK)/heap_c.c $(OCAMLC) -ccopt "$(CFLAGS) $(MORECFLAGS) -o $(CDK)/heap_c.o" -ccopt "" -c $(CDK)/heap_c.c -$(LIB)/md4_as.o: $(LIB)/md4_$(MD4ARCH).s - as -o $(LIB)/md4_as.o $(LIB)/md4_$(MD4ARCH).s - -$(LIB)/md4_comp.o: $(LIB)/md4_$(MD4COMP).o - cp -f $(LIB)/md4_$(MD4COMP).o $(LIB)/md4_comp.o - - zogml: (for i in $(GUI_CODE)/gui*_base.zog ; do \ $(CAMLP4) pa_o.cmo pa_zog.cma pr_o.cmo -impl $$i -o $(GUI_CODE)/`basename $$i zog`ml ;\ @@ -1474,7 +1467,7 @@ clean: rm -f svg_converter.exe mld_hash.exe make_torrent.exe bt_dht_node.exe copysources.exe get_range.exe subconv.exe testrss.exe rm -f tests tests.exe (for i in $(SUBDIRS); do \ - rm -f $$i/*.cm? $$i/*.o $$i/*.annot ; \ + rm -f $$i/*.cm? $$i/*.cmti $$i/*.o $$i/*.annot ; \ done) tmpclean: @@ -1636,8 +1629,8 @@ release.shared: opt done mv $(DISDIR) $(DISDIR)-$(CURRENT_VERSION) tar cf $(DISDIR).tar $(DISDIR)-$(CURRENT_VERSION) - mv $(DISDIR).tar mldonkey-$(CURRENT_VERSION).shared.$(MD4ARCH)-`uname -s | sed "s/\//_/"`$(GLIBC_VERSION_ARCH).tar - $(COMPRESS) mldonkey-$(CURRENT_VERSION).shared.$(MD4ARCH)-`uname -s`$(GLIBC_VERSION_ARCH).tar + mv $(DISDIR).tar mldonkey-$(CURRENT_VERSION).shared.$(uname -m)-`uname -s | sed "s/\//_/"`$(GLIBC_VERSION_ARCH).tar + $(COMPRESS) mldonkey-$(CURRENT_VERSION).shared.$(uname -m)-`uname -s`$(GLIBC_VERSION_ARCH).tar release.static: static opt rm -rf mldonkey-* @@ -1647,8 +1640,8 @@ release.static: static opt done mv $(DISDIR) $(DISDIR)-$(CURRENT_VERSION) tar cf $(DISDIR).tar $(DISDIR)-$(CURRENT_VERSION) - mv $(DISDIR).tar mldonkey-$(CURRENT_VERSION).static.$(MD4ARCH)-`uname -s | sed "s/\//_/"`$(GLIBC_VERSION_ARCH).tar - $(COMPRESS) mldonkey-$(CURRENT_VERSION).static.$(MD4ARCH)-`uname -s | sed "s/\//_/"`$(GLIBC_VERSION_ARCH).tar + mv $(DISDIR).tar mldonkey-$(CURRENT_VERSION).static.$(uname -m)-`uname -s | sed "s/\//_/"`$(GLIBC_VERSION_ARCH).tar + $(COMPRESS) mldonkey-$(CURRENT_VERSION).static.$(uname -m)-`uname -s | sed "s/\//_/"`$(GLIBC_VERSION_ARCH).tar release.mlnet.static: mlnet.static rm -rf mldonkey-* @@ -1656,8 +1649,8 @@ release.mlnet.static: mlnet.static cp mlnet.static $(DISDIR)/mlnet && strip $(DISDIR)/mlnet mv $(DISDIR) $(DISDIR)-$(CURRENT_VERSION) tar cf $(DISDIR).tar $(DISDIR)-$(CURRENT_VERSION) - mv $(DISDIR).tar mldonkey-$(CURRENT_VERSION).static.$(MD4ARCH)-`uname -s | sed "s/\//_/"`$(GLIBC_VERSION_ARCH).tar - $(COMPRESS) mldonkey-$(CURRENT_VERSION).static.$(MD4ARCH)-`uname -s | sed "s/\//_/"`$(GLIBC_VERSION_ARCH).tar + mv $(DISDIR).tar mldonkey-$(CURRENT_VERSION).static.$(uname -m)-`uname -s | sed "s/\//_/"`$(GLIBC_VERSION_ARCH).tar + $(COMPRESS) mldonkey-$(CURRENT_VERSION).static.$(uname -m)-`uname -s | sed "s/\//_/"`$(GLIBC_VERSION_ARCH).tar release.mlnet.byte.static: mlnet.byte.static rm -rf mldonkey-* @@ -1665,8 +1658,8 @@ release.mlnet.byte.static: mlnet.byte.static cp mlnet.byte.static $(DISDIR)/mlnet mv $(DISDIR) $(DISDIR)-$(CURRENT_VERSION) tar cf $(DISDIR).tar $(DISDIR)-$(CURRENT_VERSION) - mv $(DISDIR).tar mldonkey-$(CURRENT_VERSION).byte.static.$(MD4ARCH)-`uname -s | sed "s/\//_/"`$(GLIBC_VERSION_ARCH).tar - $(COMPRESS) mldonkey-$(CURRENT_VERSION).byte.static.$(MD4ARCH)-`uname -s | sed "s/\//_/"`$(GLIBC_VERSION_ARCH).tar + mv $(DISDIR).tar mldonkey-$(CURRENT_VERSION).byte.static.$(uname -m)-`uname -s | sed "s/\//_/"`$(GLIBC_VERSION_ARCH).tar + $(COMPRESS) mldonkey-$(CURRENT_VERSION).byte.static.$(uname -m)-`uname -s | sed "s/\//_/"`$(GLIBC_VERSION_ARCH).tar release.mlnet.distri: mlnet mlnet.static rm -rf mldonkey-* @@ -1679,8 +1672,8 @@ release.mlnet.distri: mlnet mlnet.static done mv $(DISDIR) $(DISDIR)-$(CURRENT_VERSION) tar cf $(DISDIR).tar $(DISDIR)-$(CURRENT_VERSION) - mv $(DISDIR).tar mldonkey-$(CURRENT_VERSION).static.$(MD4ARCH)-`uname -s | sed "s/\//_/"`$(GLIBC_VERSION_ARCH).tar - $(COMPRESS) mldonkey-$(CURRENT_VERSION).static.$(MD4ARCH)-`uname -s | sed "s/\//_/"`$(GLIBC_VERSION_ARCH).tar + mv $(DISDIR).tar mldonkey-$(CURRENT_VERSION).static.$(uname -m)-`uname -s | sed "s/\//_/"`$(GLIBC_VERSION_ARCH).tar + $(COMPRESS) mldonkey-$(CURRENT_VERSION).static.$(uname -m)-`uname -s | sed "s/\//_/"`$(GLIBC_VERSION_ARCH).tar release.utils.shared: mld_hash $(BT_UTILS) rm -rf mldonkey-* @@ -1693,8 +1686,8 @@ release.utils.shared: mld_hash $(BT_UTILS) done mv $(DISDIR) $(DISDIR)-$(CURRENT_VERSION) tar cf $(DISDIR).tar $(DISDIR)-$(CURRENT_VERSION) - mv $(DISDIR).tar mldonkey-tools-$(CURRENT_VERSION).shared.$(MD4ARCH)-`uname -s | sed "s/\//_/"`$(GLIBC_VERSION_ARCH).tar - $(COMPRESS) mldonkey-tools-$(CURRENT_VERSION).shared.$(MD4ARCH)-`uname -s | sed "s/\//_/"`$(GLIBC_VERSION_ARCH).tar + mv $(DISDIR).tar mldonkey-tools-$(CURRENT_VERSION).shared.$(uname -m)-`uname -s | sed "s/\//_/"`$(GLIBC_VERSION_ARCH).tar + $(COMPRESS) mldonkey-tools-$(CURRENT_VERSION).shared.$(uname -m)-`uname -s | sed "s/\//_/"`$(GLIBC_VERSION_ARCH).tar release.utils.static: mld_hash.static $(BT_UTILS_STATIC) rm -rf mldonkey-* @@ -1705,8 +1698,8 @@ ifeq ("$(BITTORRENT)", "yes") endif mv $(DISDIR) $(DISDIR)-$(CURRENT_VERSION) tar cf $(DISDIR).tar $(DISDIR)-$(CURRENT_VERSION) - mv $(DISDIR).tar mldonkey-tools-$(CURRENT_VERSION).static.$(MD4ARCH)-`uname -s | sed "s/\//_/"`$(GLIBC_VERSION_ARCH).tar - $(COMPRESS) mldonkey-tools-$(CURRENT_VERSION).static.$(MD4ARCH)-`uname -s | sed "s/\//_/"`$(GLIBC_VERSION_ARCH).tar + mv $(DISDIR).tar mldonkey-tools-$(CURRENT_VERSION).static.$(uname -m)-`uname -s | sed "s/\//_/"`$(GLIBC_VERSION_ARCH).tar + $(COMPRESS) mldonkey-tools-$(CURRENT_VERSION).static.$(uname -m)-`uname -s | sed "s/\//_/"`$(GLIBC_VERSION_ARCH).tar release.sources: rm -f config/Makefile.config @@ -1721,8 +1714,8 @@ $(DISDIR): static distrib/Readme.txt cp $$i.static $(DISDIR)/$$i && strip $(DISDIR)/$$i; \ done tar cf $(DISDIR).tar $(DISDIR) - mv $(DISDIR).tar mldonkey-$(CURRENT_VERSION).static.$(MD4ARCH)-`uname -s | sed "s/\//_/"`.tar - bzip2 mldonkey-$(CURRENT_VERSION).static.$(MD4ARCH)-`uname -s | sed "s/\//_/"`.tar + mv $(DISDIR).tar mldonkey-$(CURRENT_VERSION).static.$(uname -m)-`uname -s | sed "s/\//_/"`.tar + bzip2 mldonkey-$(CURRENT_VERSION).static.$(uname -m)-`uname -s | sed "s/\//_/"`.tar SHADIR=mldonkey-shared @@ -1735,61 +1728,21 @@ $(SHADIR): static distrib/Readme.txt cp $$i.static $(SHADIR)/$$i && strip $(SHADIR)/$$i; \ done tar cf $(SHADIR).tar $(SHADIR) - mv $(SHADIR).tar mldonkey-$(CURRENT_VERSION).shared.$(MD4ARCH)-`uname -s | sed "s/\//_/"`.tar - bzip2 mldonkey-$(CURRENT_VERSION).shared.$(MD4ARCH)-`uname -s | sed "s/\//_/"`.tar - -auto-release: -## i386 - mkdir -p $(HOME)/release-$(CURRENT_VERSION) - ./configure --host=i386-pc-linux-gnu - rm -f mlnet mlnet.static mlnet+gui mlnet+gui.static $(LIB)/md4_comp.* $(LIB)/md4_as.* - $(MAKE) opt static - $(MAKE) distrib - cp mldonkey-$(CURRENT_VERSION).static.i386-Linux.tar.bz2 $(HOME)/release-$(CURRENT_VERSION)/ - $(MAKE) shared - cp mldonkey-$(CURRENT_VERSION).shared.i386-Linux.tar.bz2 $(HOME)/release-$(CURRENT_VERSION)/ -## i686 - mkdir -p $(HOME)/release-$(CURRENT_VERSION) - ./configure --host=i686-pc-linux-gnu - rm -f mlnet+gui mlnet+gui.static mlnet mlnet.static $(LIB)/md4_comp.* $(LIB)/md4_as.* - $(MAKE) opt static - $(MAKE) distrib - cp mldonkey-$(CURRENT_VERSION).static.i686-Linux.tar.bz2 $(HOME)/release-$(CURRENT_VERSION)/ - $(MAKE) shared - cp mldonkey-$(CURRENT_VERSION).shared.i686-Linux.tar.bz2 $(HOME)/release-$(CURRENT_VERSION)/ -## i586 - mkdir -p $(HOME)/release-$(CURRENT_VERSION) - ./configure --host=i586-pc-linux-gnu - rm -f mlnet+gui mlnet+gui.static mlnet mlnet.static $(LIB)/md4_comp.* $(LIB)/md4_as.* - $(MAKE) opt static - $(MAKE) distrib - cp mldonkey-$(CURRENT_VERSION).static.i586-Linux.tar.bz2 $(HOME)/release-$(CURRENT_VERSION)/ - $(MAKE) shared - cp mldonkey-$(CURRENT_VERSION).shared.i586-Linux.tar.bz2 $(HOME)/release-$(CURRENT_VERSION)/ -## i486 - mkdir -p $(HOME)/release-$(CURRENT_VERSION) - ./configure --host=i486-pc-linux-gnu - rm -f mlnet+gui mlnet+gui.static mlnet mlnet.static $(LIB)/md4_comp.* $(LIB)/md4_as.* - $(MAKE) opt static - $(MAKE) distrib - cp mldonkey-$(CURRENT_VERSION).static.i486-Linux.tar.bz2 $(HOME)/release-$(CURRENT_VERSION)/ - $(MAKE) shared - cp mldonkey-$(CURRENT_VERSION).shared.i486-Linux.tar.bz2 $(HOME)/release-$(CURRENT_VERSION)/ - -buildrpm: - ./configure --host=i586-pc-linux-gnu + mv $(SHADIR).tar mldonkey-$(CURRENT_VERSION).shared.$(uname -m)-`uname -s | sed "s/\//_/"`.tar + bzip2 mldonkey-$(CURRENT_VERSION).shared.$(uname -m)-`uname -s | sed "s/\//_/"`.tar + +buildrpm: + ./configure $(MAKE) clean $(MAKE) opt rm -rf ../mldonkey-rpm rpm/mldonkey rm -f rpm/mldonkey.sources.tar.bz2 cp -dpR . ../mldonkey-rpm mv ../mldonkey-rpm rpm/mldonkey - cd rpm/mldonkey; rm -rf **/*.cm? **/*.o + cd rpm/mldonkey; rm -rf **/*.cm? **/*.o cd rpm; tar jcf mldonkey.sources.tar.bz2 mldonkey rm -rf rpm/mldonkey - - sourcedist: copysources ./copysources cp packages/rpm/mldonkey.spec /tmp/mldonkey/ diff --git a/config/configure b/config/configure index 3317dfff..0afeef0c 100755 --- a/config/configure +++ b/config/configure @@ -686,7 +686,6 @@ SCM_VERSION MLDONKEY_VERSION CHECKBOUNDS COMPRESS_EXT -ARCH REQUIRED_LABLGTK GUI DONKEY_SERVER @@ -703,8 +702,6 @@ GNUTELLA DIRECT_CONNECT OPEN_NAPSTER ICONV -MD4COMP -MD4ARCH LABLGL_CMXA LABLGL_CMA MORE_SUBDIRS @@ -4470,21 +4467,6 @@ case "$host" in ia64-*-linux*) arch=ia64; system=linux;; esac -MD4ARCH=$arch -case $host in - i386-pc-linux*|i386-*-*bsd*) MD4COMP=as; MD4ARCH=i386;; - i486-pc-linux*|i486-*-*bsd*) MD4COMP=as; MD4ARCH=i486;; - i586-pc-linux*|i586-*-*bsd*) MD4COMP=as; MD4ARCH=i586;; - i686-pc-linux*|i686-*-*bsd*) MD4COMP=as; MD4ARCH=i686;; - i386-pc-mingw32*) MD4COMP=cc; MD4ARCH=i386;; - i486-pc-mingw32*) MD4COMP=cc; MD4ARCH=i486;; - i586-pc-mingw32*) MD4COMP=cc; MD4ARCH=i586;; - i686-pc-mingw32*) MD4COMP=cc; MD4ARCH=i686;; - *) MD4COMP=cc;; -esac - -ARCH=$arch - # Parse git version if available if test -d ../.git; then @@ -11516,9 +11498,6 @@ fi - - - diff --git a/config/configure.in b/config/configure.in index 5bcd205d..6ecb2004 100644 --- a/config/configure.in +++ b/config/configure.in @@ -172,52 +172,6 @@ if test "x$SYSTEM" = "xunknown"; then exit 1 fi -case "$host" in - alpha*-*-osf*) arch=alpha; system=digital;; - alpha*-*-linux*) arch=alpha; system=linux;; - alpha*-*-freebsd*) arch=alpha; system=freebsd;; - alpha*-*-netbsd*) arch=alpha; system=netbsd;; - alpha*-*-openbsd*) arch=alpha; system=openbsd;; - sparc-*-sunos4.*) arch=sparc; system=sunos;; - sparc-*-solaris2.*) arch=sparc; system=solaris;; - sparc-*-*bsd*) arch=sparc; system=bsd;; - sparc-*-linux*) arch=sparc; system=linux;; - i?86-*-linux*) arch=i386; system=linux;; - i386-*-*bsd*) arch=i386; system=bsd;; - i486-*-*bsd*) arch=i486; system=bsd;; - i586-*-*bsd*) arch=i586; system=bsd;; - i686-*-*bsd*) arch=i686; system=bsd;; - i?86-*-nextstep*) arch=i386; system=nextstep;; - i?86-*-solaris*) arch=i386; system=solaris;; - i?86-*-beos*) arch=i386; system=beos;; - i?86-*-cygwin*) arch=i386; system=cygwin;; - mips-*-irix6*) arch=mips; system=irix;; - hppa1.1-*-hpux*) arch=hppa; system=hpux;; - hppa1.1-*-nextstep*) arch=hppa; system=nextstep;; - rs6000-*-aix*) arch=power; model=rs6000; system=aix;; - powerpc-*-aix*) arch=power; model=ppc; system=aix;; - powerpc-*-linux*) arch=power; model=ppc; system=elf;; - powerpc-*-rhapsody*) arch=power; model=ppc; system=rhapsody;; - powerpc-*-darwin*) arch=power; model=ppc; system=rhapsody;; - arm*-*-linux*) arch=arm; system=linux;; - ia64-*-linux*) arch=ia64; system=linux;; -esac - -MD4ARCH=$arch -case $host in - i386-pc-linux*|i386-*-*bsd*) MD4COMP=as; MD4ARCH=i386;; - i486-pc-linux*|i486-*-*bsd*) MD4COMP=as; MD4ARCH=i486;; - i586-pc-linux*|i586-*-*bsd*) MD4COMP=as; MD4ARCH=i586;; - i686-pc-linux*|i686-*-*bsd*) MD4COMP=as; MD4ARCH=i686;; - i386-pc-mingw32*) MD4COMP=cc; MD4ARCH=i386;; - i486-pc-mingw32*) MD4COMP=cc; MD4ARCH=i486;; - i586-pc-mingw32*) MD4COMP=cc; MD4ARCH=i586;; - i686-pc-mingw32*) MD4COMP=cc; MD4ARCH=i686;; - *) MD4COMP=cc;; -esac - -ARCH=$arch - # Parse git version if available if test -d ../.git; then @@ -1299,8 +1253,6 @@ AC_SUBST(MORE_TARGETS) AC_SUBST(MORE_SUBDIRS) AC_SUBST(LABLGL_CMA) AC_SUBST(LABLGL_CMXA) -AC_SUBST(MD4ARCH) -AC_SUBST(MD4COMP) AC_SUBST(ICONV) AC_SUBST(OPEN_NAPSTER) AC_SUBST(DIRECT_CONNECT) @@ -1317,7 +1269,6 @@ AC_SUBST(DONKEY_SUI_FILE) AC_SUBST(DONKEY_SERVER) AC_SUBST(GUI) AC_SUBST(REQUIRED_LABLGTK) -AC_SUBST(ARCH) AC_SUBST(COMPRESS) AC_SUBST(COMPRESS_EXT) AC_SUBST(CHECKBOUNDS) diff --git a/src/utils/lib/md4.c b/src/utils/lib/md4_comp.c similarity index 100% rename from src/utils/lib/md4.c rename to src/utils/lib/md4_comp.c diff --git a/src/utils/lib/md4_i386.s b/src/utils/lib/md4_i386.s deleted file mode 100644 index dcc62b55..00000000 --- a/src/utils/lib/md4_i386.s +++ /dev/null @@ -1,940 +0,0 @@ - .text - .align 4,0x90 - - .globl MD4Init - .type MD4Init,@function -MD4Init: -.L11: - movl 4(%esp), %edx - xorl %eax, %eax - movl %eax, 20(%edx) - movl %eax, 16(%edx) - movl $1732584193, (%edx) - movl $-271733879, 4(%edx) - movl $-1732584194, 8(%edx) - movl $271733878, 12(%edx) - ret - .align 4,0x90 - - - .size MD4Init,.-MD4Init - .data - - .data - .text - - - .align 4,0x90 - - - - .globl MD4Update - .type MD4Update,@function -MD4Update: -.L21: - pushl %edi - pushl %esi - pushl %ebp - pushl %ebx - subl $8, %esp - movl 28(%esp), %ebp - movl 36(%esp), %ecx - movl 16(%ebp), %edx - movl %edx, %eax - shrl $3, %eax - andl $63, %eax - lea (%ecx,%ecx), %ebx - addl %ebx, %ebx - addl %ebx, %ebx - lea (%edx,%ecx,8), %edx - movl %edx, 16(%ebp) - cmpl %ebx, %edx - jae .L23 - -.L22: - movl 20(%ebp), %edx - incl %edx - jmp .L24 - -.L23: - movl 20(%ebp), %edx - -.L24: - movl 36(%esp), %esi - movl %esi, %ebx - shrl $29, %ebx - addl %ebx, %edx - movl %edx, 20(%ebp) - movl %eax, %edx - negl %edx - lea 64(%edx), %ebx - movl %edx, 4(%esp) - cmpl %ebx, %esi - jae .L26 - -.L25: - xorl %ebx, %ebx - jmp .L214 - -.L26: - lea 24(%ebp,%eax), %edi - movl 32(%esp), %esi - movl %ebx, %ecx - rep - movsb - -.L27: - lea 24(%ebp), %eax - pushl %eax - pushl %ebp - call MD4Transform - -.L218: - addl $8, %esp - -.L28: - movl 4(%esp), %edx - addl $127, %edx - movl 36(%esp), %eax - cmpl %edx, %eax - jbe .L213 - -.L29: - lea 63(%ebx), %edi - movl 32(%esp), %eax - lea (%ebx,%eax), %esi - - -.L210: - pushl %esi - pushl %ebp - call MD4Transform - -.L219: - addl $8, %esp - -.L211: - addl $64, %edi - addl $64, %esi - addl $64, %ebx - movl 36(%esp), %eax - cmpl %edi, %eax - ja .L210 - -.L213: - xorl %eax, %eax - -.L214: - lea 24(%ebp,%eax), %edi - movl 32(%esp), %eax - lea (%eax,%ebx), %esi - movl 36(%esp), %eax - subl %ebx, %eax - movl %eax, %ecx - rep - movsb - -.L215: - addl $8, %esp - popl %ebx - popl %ebp - popl %esi - popl %edi - ret - .align 4,0x90 - - - .size MD4Update,.-MD4Update - .data - - .data - .type PADDING,@object -PADDING: - .byte 128 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .size PADDING,64 - .text - - - .align 4,0x90 - - - .globl MD4Final - .type MD4Final,@function -MD4Final: -.L31: - pushl %ebp - subl $8, %esp - movl 20(%esp), %ebp - lea (%esp), %edx - lea 16(%ebp), %eax - push $8 - pushl %eax - pushl %edx - call Encode - -.L312: - addl $12, %esp - -.L32: - movl 16(%ebp), %eax - shrl $3, %eax - andl $63, %eax - cmpl $56, %eax - jae .L34 - -.L33: - negl %eax - addl $56, %eax - jmp .L35 - -.L34: - negl %eax - addl $120, %eax - -.L35: - pushl %eax - push $PADDING - pushl %ebp - call MD4Update - -.L36: - lea 12(%esp), %eax - push $8 - pushl %eax - pushl %ebp - call MD4Update - -.L37: - push $16 - pushl %ebp - pushl 48(%esp) - call Encode - -.L313: - addl $36, %esp - -.L38: - xorl %eax, %eax - andl $255, %eax - movl %eax, %edx - shll $8, %edx - orl %edx, %eax - movl %eax, %ecx - shll $16, %ecx - orl %ecx, %eax - movl %eax, (%ebp) - movl %eax, 4(%ebp) - movl %eax, 8(%ebp) - movl %eax, 12(%ebp) - movl %eax, 16(%ebp) - movl %eax, 20(%ebp) - movl %eax, 24(%ebp) - movl %eax, 28(%ebp) - movl %eax, 32(%ebp) - movl %eax, 36(%ebp) - movl %eax, 40(%ebp) - movl %eax, 44(%ebp) - movl %eax, 48(%ebp) - movl %eax, 52(%ebp) - movl %eax, 56(%ebp) - movl %eax, 60(%ebp) - movl %eax, 64(%ebp) - movl %eax, 68(%ebp) - movl %eax, 72(%ebp) - movl %eax, 76(%ebp) - movl %eax, 80(%ebp) - movl %eax, 84(%ebp) - -.L39: - addl $8, %esp - popl %ebp - ret - .align 4,0x90 - - - .size MD4Final,.-MD4Final - .data - - .text - - - .align 4,0x90 - - .type MD4Transform,@function -MD4Transform: -.L41: - pushl %edi - pushl %esi - pushl %ebp - pushl %ebx - subl $64, %esp - movl 84(%esp), %eax - movl (%eax), %ebp - movl 4(%eax), %edi - movl 8(%eax), %esi - movl 12(%eax), %ebx - lea (%esp), %edx - push $64 - pushl 92(%esp) - pushl %edx - call Decode - -.L46: - addl $12, %esp - -.L42: - addl (%esp), %ebp - movl %edi, %edx - andl %esi, %edx - movl %edi, %eax - xorl $-1, %eax - andl %ebx, %eax - orl %eax, %edx - addl %edx, %ebp - roll $3, %ebp - addl 4(%esp), %ebx - movl %edi, %edx - andl %ebp, %edx - movl %ebp, %eax - xorl $-1, %eax - andl %esi, %eax - orl %eax, %edx - addl %edx, %ebx - roll $7, %ebx - addl 8(%esp), %esi - movl %ebp, %edx - andl %ebx, %edx - movl %ebx, %eax - xorl $-1, %eax - andl %edi, %eax - orl %eax, %edx - addl %edx, %esi - roll $11, %esi - addl 12(%esp), %edi - movl %esi, %edx - andl %ebx, %edx - movl %esi, %eax - xorl $-1, %eax - andl %ebp, %eax - orl %eax, %edx - addl %edx, %edi - roll $19, %edi - addl 16(%esp), %ebp - movl %edi, %edx - andl %esi, %edx - movl %edi, %eax - xorl $-1, %eax - andl %ebx, %eax - orl %eax, %edx - addl %edx, %ebp - roll $3, %ebp - movl %edi, %eax - andl %ebp, %eax - movl %ebp, %edx - xorl $-1, %edx - andl %esi, %edx - orl %edx, %eax - addl 20(%esp), %eax - addl %ebx, %eax - roll $7, %eax - addl 24(%esp), %esi - movl %ebp, %ecx - andl %eax, %ecx - movl %eax, %edx - xorl $-1, %edx - andl %edi, %edx - orl %edx, %ecx - addl %ecx, %esi - roll $11, %esi - addl 28(%esp), %edi - movl %esi, %ecx - andl %eax, %ecx - movl %esi, %edx - xorl $-1, %edx - andl %ebp, %edx - orl %edx, %ecx - addl %ecx, %edi - roll $19, %edi - addl 32(%esp), %ebp - movl %edi, %ecx - andl %esi, %ecx - movl %edi, %edx - xorl $-1, %edx - andl %eax, %edx - orl %edx, %ecx - addl %ecx, %ebp - roll $3, %ebp - movl %edi, %edx - andl %ebp, %edx - movl %ebp, %ecx - xorl $-1, %ecx - andl %esi, %ecx - orl %ecx, %edx - addl 36(%esp), %edx - addl %eax, %edx - roll $7, %edx - addl 40(%esp), %esi - movl %ebp, %ecx - andl %edx, %ecx - movl %edx, %eax - xorl $-1, %eax - andl %edi, %eax - orl %eax, %ecx - addl %ecx, %esi - roll $11, %esi - addl 44(%esp), %edi - movl %esi, %ecx - andl %edx, %ecx - movl %esi, %eax - xorl $-1, %eax - andl %ebp, %eax - orl %eax, %ecx - addl %ecx, %edi - roll $19, %edi - addl 48(%esp), %ebp - movl %edi, %ecx - andl %esi, %ecx - movl %edi, %eax - xorl $-1, %eax - andl %edx, %eax - orl %eax, %ecx - addl %ecx, %ebp - roll $3, %ebp - movl %edi, %eax - andl %ebp, %eax - movl %ebp, %ecx - xorl $-1, %ecx - andl %esi, %ecx - orl %ecx, %eax - addl 52(%esp), %eax - addl %edx, %eax - roll $7, %eax - addl 56(%esp), %esi - movl %ebp, %ecx - andl %eax, %ecx - movl %eax, %edx - xorl $-1, %edx - andl %edi, %edx - orl %edx, %ecx - addl %ecx, %esi - roll $11, %esi - movl %esi, %ecx - andl %eax, %ecx - movl %esi, %edx - addl 60(%esp), %edi - xorl $-1, %edx - andl %ebp, %edx - orl %ecx, %edx - addl %edx, %edi - roll $19, %edi - movl %esi, %edx - orl %eax, %edx - andl %edi, %edx - orl %ecx, %edx - lea 1518500249(%ebp,%edx), %edx - movl %edi, %ebx - addl (%esp), %edx - roll $3, %edx - orl %esi, %ebx - andl %edx, %ebx - movl %edi, %ecx - andl %esi, %ecx - orl %ecx, %ebx - lea 1518500249(%ebx,%eax), %eax - movl %edi, %ebx - addl 16(%esp), %eax - roll $5, %eax - orl %edx, %ebx - andl %eax, %ebx - movl %edi, %ecx - andl %edx, %ecx - orl %ecx, %ebx - lea 1518500249(%esi,%ebx), %ebx - movl %edx, %ebp - addl 32(%esp), %ebx - roll $9, %ebx - orl %eax, %ebp - andl %ebx, %ebp - movl %edx, %ecx - andl %eax, %ecx - orl %ecx, %ebp - lea 1518500249(%edi,%ebp), %ecx - movl %ebx, %esi - addl 48(%esp), %ecx - roll $13, %ecx - orl %eax, %esi - andl %ecx, %esi - movl %ebx, %ebp - andl %eax, %ebp - orl %ebp, %esi - lea 1518500249(%edx,%esi), %edx - movl %ecx, %esi - addl 4(%esp), %edx - roll $3, %edx - orl %ebx, %esi - andl %edx, %esi - movl %ecx, %ebp - andl %ebx, %ebp - orl %ebp, %esi - lea 1518500249(%esi,%eax), %eax - movl %ecx, %esi - addl 20(%esp), %eax - roll $5, %eax - orl %edx, %esi - andl %eax, %esi - movl %ecx, %ebp - andl %edx, %ebp - orl %ebp, %esi - lea 1518500249(%ebx,%esi), %ebx - movl %edx, %esi - addl 36(%esp), %ebx - roll $9, %ebx - orl %eax, %esi - andl %ebx, %esi - movl %edx, %ebp - andl %eax, %ebp - orl %ebp, %esi - lea 1518500249(%ecx,%esi), %ecx - movl %ebx, %esi - addl 52(%esp), %ecx - roll $13, %ecx - orl %eax, %esi - andl %ecx, %esi - movl %ebx, %ebp - andl %eax, %ebp - orl %ebp, %esi - lea 1518500249(%edx,%esi), %edx - movl %ecx, %esi - addl 8(%esp), %edx - roll $3, %edx - orl %ebx, %esi - andl %edx, %esi - movl %ecx, %ebp - andl %ebx, %ebp - orl %ebp, %esi - lea 1518500249(%esi,%eax), %eax - movl %ecx, %esi - addl 24(%esp), %eax - roll $5, %eax - orl %edx, %esi - andl %eax, %esi - movl %ecx, %ebp - andl %edx, %ebp - orl %ebp, %esi - lea 1518500249(%ebx,%esi), %ebx - movl %edx, %esi - addl 40(%esp), %ebx - roll $9, %ebx - orl %eax, %esi - andl %ebx, %esi - movl %edx, %ebp - andl %eax, %ebp - orl %ebp, %esi - lea 1518500249(%ecx,%esi), %ecx - movl %ebx, %esi - addl 56(%esp), %ecx - roll $13, %ecx - orl %eax, %esi - andl %ecx, %esi - movl %ebx, %ebp - andl %eax, %ebp - orl %ebp, %esi - lea 1518500249(%edx,%esi), %edx - movl %ecx, %esi - addl 12(%esp), %edx - roll $3, %edx - orl %ebx, %esi - andl %edx, %esi - movl %ecx, %ebp - andl %ebx, %ebp - orl %ebp, %esi - lea 1518500249(%esi,%eax), %eax - movl %ecx, %esi - addl 28(%esp), %eax - roll $5, %eax - orl %edx, %esi - andl %eax, %esi - movl %ecx, %ebp - andl %edx, %ebp - orl %ebp, %esi - lea 1518500249(%ebx,%esi), %ebx - movl %edx, %esi - addl 44(%esp), %ebx - roll $9, %ebx - orl %eax, %esi - andl %ebx, %esi - movl %edx, %ebp - andl %eax, %ebp - orl %ebp, %esi - lea 1518500249(%ecx,%esi), %ecx - addl 60(%esp), %ecx - roll $13, %ecx - movl %ecx, %ebp - xorl %ebx, %ebp - xorl %eax, %ebp - lea 1859775393(%edx,%ebp), %edx - addl (%esp), %edx - roll $3, %edx - movl %edx, %ebp - xorl %ecx, %ebp - xorl %ebx, %ebp - lea 1859775393(%ebp,%eax), %eax - addl 32(%esp), %eax - roll $9, %eax - movl %eax, %ebp - xorl %edx, %ebp - xorl %ecx, %ebp - lea 1859775393(%ebx,%ebp), %ebx - addl 16(%esp), %ebx - roll $11, %ebx - movl %ebx, %ebp - xorl %eax, %ebp - xorl %edx, %ebp - lea 1859775393(%ecx,%ebp), %ecx - addl 48(%esp), %ecx - roll $15, %ecx - movl %ecx, %ebp - xorl %ebx, %ebp - xorl %eax, %ebp - lea 1859775393(%edx,%ebp), %edx - addl 8(%esp), %edx - roll $3, %edx - movl %edx, %ebp - xorl %ecx, %ebp - xorl %ebx, %ebp - lea 1859775393(%ebp,%eax), %eax - addl 40(%esp), %eax - roll $9, %eax - movl %eax, %ebp - xorl %edx, %ebp - xorl %ecx, %ebp - lea 1859775393(%ebx,%ebp), %ebx - addl 24(%esp), %ebx - roll $11, %ebx - movl %ebx, %ebp - xorl %eax, %ebp - xorl %edx, %ebp - lea 1859775393(%ecx,%ebp), %ecx - addl 56(%esp), %ecx - roll $15, %ecx - movl %ecx, %ebp - xorl %ebx, %ebp - xorl %eax, %ebp - lea 1859775393(%edx,%ebp), %edx - addl 4(%esp), %edx - roll $3, %edx - movl %edx, %ebp - xorl %ecx, %ebp - xorl %ebx, %ebp - lea 1859775393(%ebp,%eax), %eax - addl 36(%esp), %eax - roll $9, %eax - movl %eax, %ebp - xorl %edx, %ebp - xorl %ecx, %ebp - lea 1859775393(%ebx,%ebp), %ebx - addl 20(%esp), %ebx - roll $11, %ebx - movl %ebx, %ebp - xorl %eax, %ebp - xorl %edx, %ebp - lea 1859775393(%ecx,%ebp), %ebp - addl 52(%esp), %ebp - roll $15, %ebp - movl %ebp, %ecx - xorl %ebx, %ecx - xorl %eax, %ecx - lea 1859775393(%edx,%ecx), %esi - addl 12(%esp), %esi - roll $3, %esi - movl %esi, %edx - xorl %ebp, %edx - xorl %ebx, %edx - lea 1859775393(%edx,%eax), %edi - addl 44(%esp), %edi - roll $9, %edi - movl %edi, %eax - xorl %esi, %eax - xorl %ebp, %eax - lea 1859775393(%ebx,%eax), %edx - addl 28(%esp), %edx - roll $11, %edx - movl %edx, %eax - xorl %edi, %eax - xorl %esi, %eax - lea 1859775393(%ebp,%eax), %eax - addl 60(%esp), %eax - roll $15, %eax - movl 84(%esp), %ecx - addl %esi, (%ecx) - addl %eax, 4(%ecx) - addl %edx, 8(%ecx) - xorl %eax, %eax - addl %edi, 12(%ecx) - lea (%esp), %ecx - andl $255, %eax - movl %eax, %edx - shll $8, %edx - orl %edx, %eax - movl %eax, %edx - shll $16, %edx - orl %edx, %eax - movl %eax, (%ecx) - movl %eax, 4(%ecx) - movl %eax, 8(%ecx) - movl %eax, 12(%ecx) - movl %eax, 16(%ecx) - movl %eax, 20(%ecx) - movl %eax, 24(%ecx) - movl %eax, 28(%ecx) - movl %eax, 32(%ecx) - movl %eax, 36(%ecx) - movl %eax, 40(%ecx) - movl %eax, 44(%ecx) - movl %eax, 48(%ecx) - movl %eax, 52(%ecx) - movl %eax, 56(%ecx) - movl %eax, 60(%ecx) - -.L43: - addl $64, %esp - popl %ebx - popl %ebp - popl %esi - popl %edi - ret - .align 4,0x90 - - - .size MD4Transform,.-MD4Transform - .data - - .data - .text - - - .align 4,0x90 - - - .type Encode,@function -Encode: -.L51: - pushl %esi - pushl %ebx - subl $8, %esp - movl 20(%esp), %ebx - movl 24(%esp), %esi - movl 28(%esp), %eax - xorl %edx, %edx - xorl %ecx, %ecx - testl %eax, %eax - jbe .L55 - -.L52: - movl %ecx, 4(%esp) - - -.L53: - movl 24(%esp), %ecx - movb (%ecx,%edx,4), %bl - movl 20(%esp), %esi - movl 4(%esp), %eax - movl 24(%esp), %ecx - movb %bl, (%eax,%esi) - movl (%ecx,%edx,4), %ecx - shrl $8, %ecx - movb %cl, 1(%eax,%esi) - movl 24(%esp), %ecx - movb 2(%ecx,%edx,4), %cl - movb %cl, 2(%eax,%esi) - movl 24(%esp), %ecx - movb 3(%ecx,%edx,4), %cl - movb %cl, 3(%eax,%esi) - incl %edx - addl $4, %eax - movl %eax, 4(%esp) - movl 28(%esp), %ecx - cmpl %ecx, %eax - jb .L53 - -.L55: - addl $8, %esp - popl %ebx - popl %esi - ret - .align 4,0x90 - - - .size Encode,.-Encode - .data - - .text - - - .align 4,0x90 - - - .type Decode,@function -Decode: -.L61: - pushl %edi - pushl %esi - pushl %ebp - pushl %ebx - movl 20(%esp), %edi - movl 24(%esp), %esi - movl 28(%esp), %eax - xorl %ebx, %ebx - xorl %ecx, %ecx - testl %eax, %eax - jbe .L69 - -.L62: - cmpl $16, %eax - jb .L67 - -.L63: - lea -16(%eax), %edx - - -.L64: - movzbl (%ecx,%esi), %eax - movzbl 1(%ecx,%esi), %ebp - shll $8, %ebp - orl %ebp, %eax - movzbl 2(%ecx,%esi), %ebp - shll $16, %ebp - orl %ebp, %eax - movzbl 3(%ecx,%esi), %ebp - shll $24, %ebp - orl %ebp, %eax - movl %eax, (%edi,%ebx,4) - movzbl 4(%ecx,%esi), %ebp - movzbl 5(%ecx,%esi), %eax - shll $8, %eax - orl %eax, %ebp - movzbl 6(%ecx,%esi), %eax - shll $16, %eax - orl %eax, %ebp - movzbl 7(%ecx,%esi), %eax - shll $24, %eax - orl %eax, %ebp - movl %ebp, 4(%edi,%ebx,4) - movzbl 8(%ecx,%esi), %eax - movzbl 9(%ecx,%esi), %ebp - shll $8, %ebp - orl %ebp, %eax - movzbl 10(%ecx,%esi), %ebp - shll $16, %ebp - orl %ebp, %eax - movzbl 11(%ecx,%esi), %ebp - shll $24, %ebp - orl %ebp, %eax - addl $12, %ecx - movl %eax, 8(%edi,%ebx,4) - addl $3, %ebx - cmpl %edx, %ecx - jbe .L64 - -.L65: - movl 28(%esp), %eax - - -.L67: - movzbl (%ecx,%esi), %edx - movzbl 1(%ecx,%esi), %ebp - shll $8, %ebp - orl %ebp, %edx - movzbl 2(%ecx,%esi), %ebp - shll $16, %ebp - orl %ebp, %edx - movzbl 3(%ecx,%esi), %ebp - shll $24, %ebp - orl %ebp, %edx - addl $4, %ecx - movl %edx, (%edi,%ebx,4) - incl %ebx - cmpl %eax, %ecx - jb .L67 - -.L69: - popl %ebx - popl %ebp - popl %esi - popl %edi - ret - .align 4,0x90 - - - .size Decode,.-Decode - .data - - .data - -#if defined(__linux__) && defined(__ELF__) -.section .note.GNU-stack,"",%progbits -#endif - diff --git a/src/utils/lib/md4_i486.s b/src/utils/lib/md4_i486.s deleted file mode 100644 index ba09abcf..00000000 --- a/src/utils/lib/md4_i486.s +++ /dev/null @@ -1,1097 +0,0 @@ - .text - - - .align 4,0x90 - .globl MD4Init - .type MD4Init,@function -MD4Init: -.L11: - movl 4(%esp), %edx - xorl %eax, %eax - movl %eax, 20(%edx) - movl %eax, 16(%edx) - movl $1732584193, (%edx) - movl $-271733879, 4(%edx) - movl $-1732584194, 8(%edx) - movl $271733878, 12(%edx) - ret - .align 4,0x90 - - - .size MD4Init,.-MD4Init - .data - - .data - .text - - - .align 4,0x90 - - - - .globl MD4Update - .type MD4Update,@function -MD4Update: -.L21: - pushl %edi - pushl %esi - pushl %ebp - pushl %ebx - subl $20, %esp - movl 40(%esp), %ebp - movl 48(%esp), %ecx - movl 16(%ebp), %edx - movl %edx, %eax - shrl $3, %eax - andl $63, %eax - movl %ecx, %ebx - shll $3, %ebx - lea (%edx,%ecx,8), %edx - movl %edx, 16(%ebp) - cmpl %ebx, %edx - jae .L23 - -.L22: - movl 20(%ebp), %edx - incl %edx - jmp .L24 - -.L23: - movl 20(%ebp), %edx - -.L24: - movl 48(%esp), %esi - movl %esi, %ebx - shrl $29, %ebx - addl %ebx, %edx - movl %edx, 20(%ebp) - movl %eax, %edx - negl %edx - movl %edx, 12(%esp) - lea 64(%edx), %ebx - cmpl %ebx, %esi - jae .L26 - -.L25: - xorl %ebx, %ebx - jmp .L214 - -.L26: - lea 24(%ebp,%eax), %edi - movl 44(%esp), %esi - movl %ebx, %ecx - rep - movsb - -.L27: - movl %ebp, (%esp) - lea 24(%ebp), %eax - movl %eax, 4(%esp) - call MD4Transform - -.L28: - movl 12(%esp), %edx - addl $127, %edx - movl 48(%esp), %eax - cmpl %edx, %eax - jbe .L213 - -.L29: - lea 63(%ebx), %edi - movl 44(%esp), %eax - lea (%ebx,%eax), %esi - - -.L210: - movl %ebp, (%esp) - movl %esi, 4(%esp) - call MD4Transform - -.L211: - addl $64, %edi - addl $64, %esi - addl $64, %ebx - movl 48(%esp), %eax - cmpl %edi, %eax - ja .L210 - -.L213: - xorl %eax, %eax - -.L214: - lea 24(%ebp,%eax), %edi - movl 44(%esp), %eax - lea (%eax,%ebx), %esi - movl 48(%esp), %eax - subl %ebx, %eax - movl %eax, %ecx - rep - movsb - -.L215: - addl $20, %esp - popl %ebx - popl %ebp - popl %esi - popl %edi - ret - .align 4,0x90 - - - .size MD4Update,.-MD4Update - .data - - .data - .type PADDING,@object -PADDING: - .byte 128 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .size PADDING,64 - .text - - - .align 4,0x90 - - - .globl MD4Final - .type MD4Final,@function -MD4Final: -.L31: - pushl %ebp - pushl %ebx - subl $28, %esp - movl 40(%esp), %ebp - movl 44(%esp), %ebx - lea 16(%esp), %eax - movl %eax, (%esp) - lea 16(%ebx), %edx - movl %edx, 4(%esp) - movl $8, 8(%esp) - call Encode - -.L32: - movl 16(%ebx), %eax - shrl $3, %eax - andl $63, %eax - cmpl $56, %eax - jae .L34 - -.L33: - negl %eax - addl $56, %eax - jmp .L35 - -.L34: - negl %eax - addl $120, %eax - -.L35: - movl %ebx, (%esp) - movl $PADDING, 4(%esp) - movl %eax, 8(%esp) - call MD4Update - -.L36: - movl %ebx, (%esp) - lea 16(%esp), %eax - movl %eax, 4(%esp) - movl $8, 8(%esp) - call MD4Update - -.L37: - movl %ebp, (%esp) - movl %ebx, 4(%esp) - movl $16, 8(%esp) - call Encode - -.L38: - xorl %eax, %eax - andl $255, %eax - movl %eax, %edx - shll $8, %edx - orl %edx, %eax - movl %eax, %ecx - shll $16, %ecx - orl %ecx, %eax - movl %eax, (%ebx) - movl %eax, 4(%ebx) - movl %eax, 8(%ebx) - movl %eax, 12(%ebx) - movl %eax, 16(%ebx) - movl %eax, 20(%ebx) - movl %eax, 24(%ebx) - movl %eax, 28(%ebx) - movl %eax, 32(%ebx) - movl %eax, 36(%ebx) - movl %eax, 40(%ebx) - movl %eax, 44(%ebx) - movl %eax, 48(%ebx) - movl %eax, 52(%ebx) - movl %eax, 56(%ebx) - movl %eax, 60(%ebx) - movl %eax, 64(%ebx) - movl %eax, 68(%ebx) - movl %eax, 72(%ebx) - movl %eax, 76(%ebx) - movl %eax, 80(%ebx) - movl %eax, 84(%ebx) - -.L39: - addl $28, %esp - popl %ebx - popl %ebp - ret - .align 4,0x90 - - - .size MD4Final,.-MD4Final - .data - - .data - .text - - - .align 4,0x90 - - - .type MD4Transform,@function -MD4Transform: -.L41: - pushl %edi - pushl %esi - pushl %ebp - pushl %ebx - subl $132, %esp - movl 152(%esp), %edx - movl 156(%esp), %ebp - movl (%edx), %eax - movl %eax, 124(%esp) - movl 4(%edx), %edi - movl 8(%edx), %esi - movl 12(%edx), %eax - movl %eax, 128(%esp) - xorl %eax, %eax - movb (%ebp), %al - xorl %edx, %edx - movb 1(%ebp), %dl - shll $8, %edx - orl %edx, %eax - xorl %edx, %edx - movb 2(%ebp), %dl - shll $16, %edx - orl %edx, %eax - xorl %edx, %edx - movb 3(%ebp), %dl - shll $24, %edx - orl %edx, %eax - movl %eax, 84(%esp) - movl %eax, (%esp) - xorl %eax, %eax - movb 4(%ebp), %al - xorl %edx, %edx - movb 5(%ebp), %dl - shll $8, %edx - orl %edx, %eax - xorl %edx, %edx - movb 6(%ebp), %dl - shll $16, %edx - orl %edx, %eax - xorl %edx, %edx - movb 7(%ebp), %dl - shll $24, %edx - orl %edx, %eax - movl %eax, 68(%esp) - movl %eax, 4(%esp) - xorl %eax, %eax - movb 8(%ebp), %al - xorl %edx, %edx - movb 9(%ebp), %dl - shll $8, %edx - orl %edx, %eax - xorl %edx, %edx - movb 10(%ebp), %dl - shll $16, %edx - orl %edx, %eax - xorl %edx, %edx - movb 11(%ebp), %dl - shll $24, %edx - orl %edx, %eax - movl %eax, 80(%esp) - movl %eax, 8(%esp) - xorl %eax, %eax - movb 12(%ebp), %al - xorl %edx, %edx - movb 13(%ebp), %dl - shll $8, %edx - orl %edx, %eax - xorl %edx, %edx - movb 14(%ebp), %dl - shll $16, %edx - orl %edx, %eax - xorl %edx, %edx - movb 15(%ebp), %dl - shll $24, %edx - orl %edx, %eax - movl %eax, 64(%esp) - movl %eax, 12(%esp) - xorl %eax, %eax - movb 16(%ebp), %al - xorl %edx, %edx - movb 17(%ebp), %dl - shll $8, %edx - orl %edx, %eax - xorl %edx, %edx - movb 18(%ebp), %dl - shll $16, %edx - orl %edx, %eax - xorl %edx, %edx - movb 19(%ebp), %dl - shll $24, %edx - orl %edx, %eax - movl %eax, 92(%esp) - movl %eax, 16(%esp) - xorl %eax, %eax - movb 20(%ebp), %al - xorl %edx, %edx - movb 21(%ebp), %dl - shll $8, %edx - orl %edx, %eax - xorl %edx, %edx - movb 22(%ebp), %dl - shll $16, %edx - orl %edx, %eax - xorl %edx, %edx - movb 23(%ebp), %dl - shll $24, %edx - orl %edx, %eax - movl %eax, 72(%esp) - movl %eax, 20(%esp) - xorl %eax, %eax - movb 24(%ebp), %al - xorl %edx, %edx - movb 25(%ebp), %dl - shll $8, %edx - orl %edx, %eax - xorl %edx, %edx - movb 26(%ebp), %dl - shll $16, %edx - orl %edx, %eax - xorl %edx, %edx - movb 27(%ebp), %dl - shll $24, %edx - orl %edx, %eax - movl %eax, 88(%esp) - movl %eax, 24(%esp) - xorl %eax, %eax - movb 28(%ebp), %al - xorl %edx, %edx - movb 29(%ebp), %dl - shll $8, %edx - orl %edx, %eax - xorl %edx, %edx - movb 30(%ebp), %dl - shll $16, %edx - orl %edx, %eax - xorl %edx, %edx - movb 31(%ebp), %dl - shll $24, %edx - orl %edx, %eax - movl %eax, 76(%esp) - movl %eax, 28(%esp) - xorl %eax, %eax - movb 32(%ebp), %al - xorl %edx, %edx - movb 33(%ebp), %dl - shll $8, %edx - orl %edx, %eax - xorl %edx, %edx - movb 34(%ebp), %dl - shll $16, %edx - orl %edx, %eax - xorl %edx, %edx - movb 35(%ebp), %dl - shll $24, %edx - orl %edx, %eax - movl %eax, 108(%esp) - movl %eax, 32(%esp) - xorl %eax, %eax - movb 36(%ebp), %al - xorl %edx, %edx - movb 37(%ebp), %dl - shll $8, %edx - orl %edx, %eax - xorl %edx, %edx - movb 38(%ebp), %dl - shll $16, %edx - orl %edx, %eax - xorl %edx, %edx - movb 39(%ebp), %dl - shll $24, %edx - orl %edx, %eax - movl %eax, 96(%esp) - movl %eax, 36(%esp) - xorl %eax, %eax - movb 40(%ebp), %al - xorl %edx, %edx - movb 41(%ebp), %dl - shll $8, %edx - orl %edx, %eax - xorl %edx, %edx - movb 42(%ebp), %dl - shll $16, %edx - orl %edx, %eax - xorl %edx, %edx - movb 43(%ebp), %dl - shll $24, %edx - orl %edx, %eax - movl %eax, 104(%esp) - movl %eax, 40(%esp) - xorl %ebx, %ebx - movb 44(%ebp), %bl - xorl %eax, %eax - movb 45(%ebp), %al - shll $8, %eax - orl %eax, %ebx - xorl %eax, %eax - movb 46(%ebp), %al - shll $16, %eax - orl %eax, %ebx - xorl %eax, %eax - movb 47(%ebp), %al - shll $24, %eax - orl %eax, %ebx - movl %ebx, 100(%esp) - movl %ebx, 44(%esp) - xorl %ecx, %ecx - movb 48(%ebp), %cl - xorl %eax, %eax - movb 49(%ebp), %al - shll $8, %eax - orl %eax, %ecx - xorl %eax, %eax - movb 50(%ebp), %al - shll $16, %eax - orl %eax, %ecx - xorl %eax, %eax - movb 51(%ebp), %al - shll $24, %eax - orl %eax, %ecx - movl %ecx, 116(%esp) - movl %ecx, 48(%esp) - xorl %edx, %edx - movb 52(%ebp), %dl - xorl %eax, %eax - movb 53(%ebp), %al - shll $8, %eax - orl %eax, %edx - xorl %eax, %eax - movb 54(%ebp), %al - shll $16, %eax - orl %eax, %edx - xorl %eax, %eax - movb 55(%ebp), %al - shll $24, %eax - orl %eax, %edx - movl %edx, 112(%esp) - movl %edx, 52(%esp) - xorl %eax, %eax - movb 56(%ebp), %al - xorl %edx, %edx - movb 57(%ebp), %dl - shll $8, %edx - orl %edx, %eax - xorl %edx, %edx - movb 58(%ebp), %dl - shll $16, %edx - orl %edx, %eax - xorl %edx, %edx - movb 59(%ebp), %dl - shll $24, %edx - orl %edx, %eax - movl %eax, 120(%esp) - movl %eax, 56(%esp) - xorl %eax, %eax - movb 60(%ebp), %al - xorl %edx, %edx - movb 61(%ebp), %dl - shll $8, %edx - orl %edx, %eax - xorl %edx, %edx - movb 62(%ebp), %dl - shll $16, %edx - orl %edx, %eax - xorl %edx, %edx - movb 63(%ebp), %dl - shll $24, %edx - orl %edx, %eax - movl %eax, 60(%esp) - movl 124(%esp), %edx - addl 84(%esp), %edx - movl %edx, 124(%esp) - movl %edi, %ebx - andl %esi, %ebx - movl %edi, %edx - xorl $-1, %edx - movl 128(%esp), %ecx - andl %ecx, %edx - orl %edx, %ebx - movl 124(%esp), %ebp - addl %ebx, %ebp - roll $3, %ebp - movl %ebp, 124(%esp) - movl %edi, %edx - andl %ebp, %edx - xorl $-1, %ebp - andl %esi, %ebp - orl %ebp, %edx - addl 68(%esp), %edx - addl %ecx, %edx - roll $7, %edx - addl 80(%esp), %esi - movl 124(%esp), %ecx - andl %edx, %ecx - movl %edx, %ebx - xorl $-1, %ebx - andl %edi, %ebx - orl %ebx, %ecx - addl %ecx, %esi - roll $11, %esi - addl 64(%esp), %edi - movl %esi, %ebx - andl %edx, %ebx - movl %esi, %ecx - xorl $-1, %ecx - andl 124(%esp), %ecx - orl %ecx, %ebx - addl %ebx, %edi - roll $19, %edi - movl 124(%esp), %ecx - addl 92(%esp), %ecx - movl %ecx, 124(%esp) - movl %edi, %ebx - andl %esi, %ebx - movl %edi, %ecx - xorl $-1, %ecx - andl %edx, %ecx - orl %ecx, %ebx - movl 124(%esp), %ebp - addl %ebx, %ebp - roll $3, %ebp - movl %ebp, 124(%esp) - movl %edi, %ecx - andl %ebp, %ecx - xorl $-1, %ebp - andl %esi, %ebp - orl %ebp, %ecx - addl 72(%esp), %ecx - addl %edx, %ecx - roll $7, %ecx - addl 88(%esp), %esi - movl 124(%esp), %edx - andl %ecx, %edx - movl %ecx, %ebx - xorl $-1, %ebx - andl %edi, %ebx - orl %ebx, %edx - addl %edx, %esi - roll $11, %esi - addl 76(%esp), %edi - movl %esi, %ebx - andl %ecx, %ebx - movl %esi, %edx - xorl $-1, %edx - andl 124(%esp), %edx - orl %edx, %ebx - addl %ebx, %edi - roll $19, %edi - movl 124(%esp), %edx - addl 108(%esp), %edx - movl %edx, 124(%esp) - movl %edi, %ebx - andl %esi, %ebx - movl %edi, %edx - xorl $-1, %edx - andl %ecx, %edx - orl %edx, %ebx - movl 124(%esp), %ebp - addl %ebx, %ebp - roll $3, %ebp - movl %ebp, 124(%esp) - movl %edi, %edx - andl %ebp, %edx - xorl $-1, %ebp - andl %esi, %ebp - orl %ebp, %edx - addl 96(%esp), %edx - addl %ecx, %edx - roll $7, %edx - addl 104(%esp), %esi - movl 124(%esp), %ecx - andl %edx, %ecx - movl %edx, %ebx - xorl $-1, %ebx - andl %edi, %ebx - orl %ebx, %ecx - addl %ecx, %esi - roll $11, %esi - addl 100(%esp), %edi - movl %esi, %ebx - andl %edx, %ebx - movl %esi, %ecx - xorl $-1, %ecx - andl 124(%esp), %ecx - orl %ecx, %ebx - addl %ebx, %edi - roll $19, %edi - movl 124(%esp), %ecx - addl 116(%esp), %ecx - movl %ecx, 124(%esp) - movl %edi, %ebx - andl %esi, %ebx - movl %edi, %ecx - xorl $-1, %ecx - andl %edx, %ecx - orl %ecx, %ebx - movl 124(%esp), %ebp - addl %ebx, %ebp - roll $3, %ebp - movl %ebp, 124(%esp) - movl %edi, %ecx - andl %ebp, %ecx - xorl $-1, %ebp - andl %esi, %ebp - orl %ebp, %ecx - addl 112(%esp), %ecx - addl %edx, %ecx - roll $7, %ecx - addl 120(%esp), %esi - movl 124(%esp), %edx - andl %ecx, %edx - movl %ecx, %ebx - xorl $-1, %ebx - andl %edi, %ebx - orl %ebx, %edx - addl %edx, %esi - roll $11, %esi - movl %esi, %ebx - andl %ecx, %ebx - addl %eax, %edi - movl %esi, %edx - xorl $-1, %edx - andl 124(%esp), %edx - orl %ebx, %edx - addl %edx, %edi - roll $19, %edi - movl %esi, %ebp - orl %ecx, %ebp - andl %edi, %ebp - orl %ebx, %ebp - movl 124(%esp), %edx - lea 1518500249(%edx,%ebp), %edx - addl 84(%esp), %edx - roll $3, %edx - movl %edi, %ebp - orl %esi, %ebp - andl %edx, %ebp - movl %edi, %ebx - andl %esi, %ebx - orl %ebx, %ebp - lea 1518500249(%ebp,%ecx), %ecx - addl 92(%esp), %ecx - roll $5, %ecx - movl %edi, %ebp - orl %edx, %ebp - andl %ecx, %ebp - movl %edi, %ebx - andl %edx, %ebx - orl %ebx, %ebp - lea 1518500249(%esi,%ebp), %ebx - addl 108(%esp), %ebx - roll $9, %ebx - movl %edx, %esi - orl %ecx, %esi - andl %ebx, %esi - movl %edx, %ebp - andl %ecx, %ebp - orl %ebp, %esi - lea 1518500249(%edi,%esi), %edi - addl 116(%esp), %edi - roll $13, %edi - movl %ebx, %esi - orl %ecx, %esi - andl %edi, %esi - movl %ebx, %ebp - andl %ecx, %ebp - orl %ebp, %esi - lea 1518500249(%edx,%esi), %edx - addl 68(%esp), %edx - roll $3, %edx - movl %edi, %esi - orl %ebx, %esi - andl %edx, %esi - movl %edi, %ebp - andl %ebx, %ebp - orl %ebp, %esi - lea 1518500249(%esi,%ecx), %ebp - addl 72(%esp), %ebp - roll $5, %ebp - movl %edi, %esi - orl %edx, %esi - andl %ebp, %esi - movl %edi, %ecx - andl %edx, %ecx - orl %ecx, %esi - lea 1518500249(%ebx,%esi), %esi - addl 96(%esp), %esi - roll $9, %esi - movl %edx, %ebx - orl %ebp, %ebx - andl %esi, %ebx - movl %edx, %ecx - andl %ebp, %ecx - orl %ecx, %ebx - lea 1518500249(%edi,%ebx), %ecx - addl 112(%esp), %ecx - roll $13, %ecx - movl %esi, %edi - orl %ebp, %edi - andl %ecx, %edi - movl %esi, %ebx - andl %ebp, %ebx - orl %ebx, %edi - lea 1518500249(%edx,%edi), %ebx - addl 80(%esp), %ebx - roll $3, %ebx - movl %ecx, %edi - orl %esi, %edi - andl %ebx, %edi - movl %ecx, %edx - andl %esi, %edx - orl %edx, %edi - lea 1518500249(%edi,%ebp), %ebp - addl 88(%esp), %ebp - roll $5, %ebp - movl %ecx, %edi - orl %ebx, %edi - -.L45: - andl %ebp, %edi - movl %ecx, %edx - andl %ebx, %edx - orl %edx, %edi - lea 1518500249(%esi,%edi), %edx - addl 104(%esp), %edx - roll $9, %edx - movl %ebx, %edi - orl %ebp, %edi - andl %edx, %edi - movl %ebx, %esi - andl %ebp, %esi - orl %esi, %edi - lea 1518500249(%ecx,%edi), %ecx - addl 120(%esp), %ecx - roll $13, %ecx - movl %edx, %edi - orl %ebp, %edi - andl %ecx, %edi - movl %edx, %esi - andl %ebp, %esi - orl %esi, %edi - lea 1518500249(%ebx,%edi), %ebx - addl 64(%esp), %ebx - roll $3, %ebx - movl %ecx, %edi - orl %edx, %edi - andl %ebx, %edi - movl %ecx, %esi - andl %edx, %esi - orl %esi, %edi - lea 1518500249(%edi,%ebp), %edi - addl 76(%esp), %edi - roll $5, %edi - movl %ecx, %esi - orl %ebx, %esi - andl %edi, %esi - movl %ecx, %ebp - andl %ebx, %ebp - orl %ebp, %esi - lea 1518500249(%edx,%esi), %esi - addl 100(%esp), %esi - roll $9, %esi - movl %ebx, %ebp - orl %edi, %ebp - andl %esi, %ebp - movl %ebx, %edx - andl %edi, %edx - orl %edx, %ebp - lea 1518500249(%ecx,%ebp), %ebp - addl %eax, %ebp - roll $13, %ebp - movl %ebp, %edx - xorl %esi, %edx - xorl %edi, %edx - lea 1859775393(%ebx,%edx), %ebx - addl 84(%esp), %ebx - roll $3, %ebx - movl %ebx, %edx - xorl %ebp, %edx - xorl %esi, %edx - lea 1859775393(%edx,%edi), %ecx - addl 108(%esp), %ecx - roll $9, %ecx - movl %ecx, %edx - xorl %ebx, %edx - xorl %ebp, %edx - lea 1859775393(%esi,%edx), %edx - addl 92(%esp), %edx - roll $11, %edx - movl %edx, %esi - xorl %ecx, %esi - xorl %ebx, %esi - lea 1859775393(%ebp,%esi), %ebp - addl 116(%esp), %ebp - roll $15, %ebp - movl %ebp, %esi - xorl %edx, %esi - xorl %ecx, %esi - lea 1859775393(%ebx,%esi), %ebx - addl 80(%esp), %ebx - roll $3, %ebx - movl %ebx, %esi - xorl %ebp, %esi - xorl %edx, %esi - lea 1859775393(%esi,%ecx), %ecx - addl 104(%esp), %ecx - roll $9, %ecx - movl %ecx, %esi - xorl %ebx, %esi - xorl %ebp, %esi - lea 1859775393(%edx,%esi), %esi - addl 88(%esp), %esi - roll $11, %esi - movl %esi, %edx - xorl %ecx, %edx - xorl %ebx, %edx - lea 1859775393(%ebp,%edx), %ebp - addl 120(%esp), %ebp - roll $15, %ebp - movl %ebp, %edx - xorl %esi, %edx - xorl %ecx, %edx - lea 1859775393(%ebx,%edx), %edx - addl 68(%esp), %edx - roll $3, %edx - movl %edx, %ebx - xorl %ebp, %ebx - xorl %esi, %ebx - lea 1859775393(%ebx,%ecx), %edi - addl 96(%esp), %edi - roll $9, %edi - movl %edi, %ecx - xorl %edx, %ecx - xorl %ebp, %ecx - lea 1859775393(%esi,%ecx), %ebx - addl 72(%esp), %ebx - roll $11, %ebx - movl %ebx, %ecx - xorl %edi, %ecx - xorl %edx, %ecx - lea 1859775393(%ebp,%ecx), %ecx - addl 112(%esp), %ecx - roll $15, %ecx - movl %ecx, %ebp - xorl %ebx, %ebp - xorl %edi, %ebp - lea 1859775393(%edx,%ebp), %esi - addl 64(%esp), %esi - roll $3, %esi - movl %esi, %edx - xorl %ecx, %edx - xorl %ebx, %edx - lea 1859775393(%edx,%edi), %ebp - addl 100(%esp), %ebp - roll $9, %ebp - movl %ebp, %edx - xorl %esi, %edx - xorl %ecx, %edx - lea 1859775393(%ebx,%edx), %edx - addl 76(%esp), %edx - roll $11, %edx - movl %edx, %ebx - xorl %ebp, %ebx - xorl %esi, %ebx - lea 1859775393(%ecx,%ebx), %ecx - addl %eax, %ecx - roll $15, %ecx - movl 152(%esp), %eax - addl %esi, (%eax) - addl %ecx, 4(%eax) - addl %edx, 8(%eax) - addl %ebp, 12(%eax) - lea (%esp), %ecx - xorl %eax, %eax - andl $255, %eax - movl %eax, %edx - shll $8, %edx - orl %edx, %eax - movl %eax, %edx - shll $16, %edx - orl %edx, %eax - movl %eax, (%ecx) - movl %eax, 4(%ecx) - movl %eax, 8(%ecx) - movl %eax, 12(%ecx) - movl %eax, 16(%ecx) - movl %eax, 20(%ecx) - movl %eax, 24(%ecx) - movl %eax, 28(%ecx) - movl %eax, 32(%ecx) - movl %eax, 36(%ecx) - movl %eax, 40(%ecx) - movl %eax, 44(%ecx) - movl %eax, 48(%ecx) - movl %eax, 52(%ecx) - movl %eax, 56(%ecx) - movl %eax, 60(%ecx) - -.L42: - addl $132, %esp - popl %ebx - popl %ebp - popl %esi - popl %edi - ret - .align 4,0x90 - - - .size MD4Transform,.-MD4Transform - .data - - .text - - - .align 4,0x90 - - - - .type Encode,@function -Encode: -.L51: - pushl %esi - pushl %ebx - subl $12, %esp - movl 24(%esp), %ebx - movl 28(%esp), %esi - movl 32(%esp), %eax - xorl %edx, %edx - xorl %ecx, %ecx - testl %eax, %eax - jbe .L55 - -.L52: - movl %ecx, 4(%esp) - - -.L53: - movl 28(%esp), %ecx - movb (%ecx,%edx,4), %bl - movl 24(%esp), %esi - movl 4(%esp), %eax - movb %bl, (%eax,%esi) - movl 28(%esp), %ecx - movl (%ecx,%edx,4), %ecx - shrl $8, %ecx - movb %cl, 1(%eax,%esi) - movl 28(%esp), %ecx - movb 2(%ecx,%edx,4), %cl - movb %cl, 2(%eax,%esi) - movl 28(%esp), %ecx - movb 3(%ecx,%edx,4), %cl - movb %cl, 3(%eax,%esi) - incl %edx - addl $4, %eax - movl %eax, 4(%esp) - movl 32(%esp), %ecx - cmpl %ecx, %eax - jb .L53 - -.L55: - addl $12, %esp - popl %ebx - popl %esi - ret - .align 4,0x90 - - - - .size Encode,.-Encode - .data - - .data - -#if defined(__linux__) && defined(__ELF__) -.section .note.GNU-stack,"",%progbits -#endif - diff --git a/src/utils/lib/md4_i586.s b/src/utils/lib/md4_i586.s deleted file mode 100644 index c7c6c914..00000000 --- a/src/utils/lib/md4_i586.s +++ /dev/null @@ -1,1053 +0,0 @@ - .text - .align 2,0x90 - .globl MD4Init - .type MD4Init,@function -MD4Init: -.L11: - movl 4(%esp), %edx - xorl %eax, %eax - movl %eax, 20(%edx) - movl %eax, 16(%edx) - movl $1732584193, (%edx) - movl $-271733879, 4(%edx) - movl $-1732584194, 8(%edx) - movl $271733878, 12(%edx) - ret - .align 2,0x90 - .size MD4Init,.-MD4Init - .data - .text - .align 2,0x90 - .globl MD4Update - .type MD4Update,@function -MD4Update: -.L21: - pushl %edi - pushl %esi - pushl %ebp - pushl %ebx - subl $20, %esp - movl 40(%esp), %ebp - movl 48(%esp), %ecx - movl 16(%ebp), %edx - movl %edx, %eax - shrl $3, %eax - andl $63, %eax - movl %ecx, %ebx - shll $3, %ebx - lea (%edx,%ecx,8), %edx - movl %edx, 16(%ebp) - cmpl %ebx, %edx - jae .L23 -.L22: - movl 20(%ebp), %edx - incl %edx - jmp .L24 -.L23: - movl 20(%ebp), %edx -.L24: - movl 48(%esp), %esi - movl %esi, %ebx - shrl $29, %ebx - addl %ebx, %edx - movl %edx, 20(%ebp) - movl %eax, %edx - negl %edx - movl %edx, 12(%esp) - lea 64(%edx), %ebx - cmpl %ebx, %esi - jae .L26 -.L25: - xorl %ebx, %ebx - jmp .L214 -.L26: - lea 24(%ebp,%eax), %edi - movl 44(%esp), %esi - movl %ebx, %ecx - rep - movsb -.L27: - movl %ebp, (%esp) - lea 24(%ebp), %eax - movl %eax, 4(%esp) - call MD4Transform -.L28: - movl 12(%esp), %edx - addl $127, %edx - movl 48(%esp), %eax - cmpl %edx, %eax - jbe .L213 -.L29: - lea 63(%ebx), %edi - movl 44(%esp), %eax - lea (%ebx,%eax), %esi -.L210: - movl %ebp, (%esp) - movl %esi, 4(%esp) - call MD4Transform -.L211: - addl $64, %edi - addl $64, %esi - addl $64, %ebx - movl 48(%esp), %eax - cmpl %edi, %eax - ja .L210 -.L213: - xorl %eax, %eax -.L214: - lea 24(%ebp,%eax), %edi - movl 44(%esp), %eax - lea (%eax,%ebx), %esi - movl 48(%esp), %eax - subl %ebx, %eax - movl %eax, %ecx - rep - movsb -.L215: - addl $20, %esp - popl %ebx - popl %ebp - popl %esi - popl %edi - ret - .align 2,0x90 - - .size MD4Update,.-MD4Update - .data - - .data - .type PADDING,@object -PADDING: - .byte 128 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .size PADDING,64 - .text - - - .align 2,0x90 - .globl MD4Final - .type MD4Final,@function -MD4Final: -.L31: - pushl %ebp - pushl %ebx - subl $28, %esp - movl 40(%esp), %ebp - movl 44(%esp), %ebx - lea 16(%esp), %eax - movl %eax, (%esp) - lea 16(%ebx), %edx - movl %edx, 4(%esp) - movl $8, 8(%esp) - call Encode -.L32: - movl 16(%ebx), %eax - shrl $3, %eax - andl $63, %eax - cmpl $56, %eax - jae .L34 -.L33: - negl %eax - addl $56, %eax - jmp .L35 -.L34: - negl %eax - addl $120, %eax -.L35: - movl %ebx, (%esp) - movl $PADDING, 4(%esp) - movl %eax, 8(%esp) - call MD4Update -.L36: - movl %ebx, (%esp) - lea 16(%esp), %eax - movl %eax, 4(%esp) - movl $8, 8(%esp) - call MD4Update -.L37: - movl %ebp, (%esp) - movl %ebx, 4(%esp) - movl $16, 8(%esp) - call Encode -.L38: - xorl %eax, %eax - andl $255, %eax - movl %eax, %edx - shll $8, %edx - orl %edx, %eax - movl %eax, %ecx - shll $16, %ecx - orl %ecx, %eax - movl %eax, (%ebx) - movl %eax, 4(%ebx) - movl %eax, 8(%ebx) - movl %eax, 12(%ebx) - movl %eax, 16(%ebx) - movl %eax, 20(%ebx) - movl %eax, 24(%ebx) - movl %eax, 28(%ebx) - movl %eax, 32(%ebx) - movl %eax, 36(%ebx) - movl %eax, 40(%ebx) - movl %eax, 44(%ebx) - movl %eax, 48(%ebx) - movl %eax, 52(%ebx) - movl %eax, 56(%ebx) - movl %eax, 60(%ebx) - movl %eax, 64(%ebx) - movl %eax, 68(%ebx) - movl %eax, 72(%ebx) - movl %eax, 76(%ebx) - movl %eax, 80(%ebx) - movl %eax, 84(%ebx) -.L39: - addl $28, %esp - popl %ebx - popl %ebp - ret - .align 2,0x90 - - .size MD4Final,.-MD4Final - .data - .text - .align 2,0x90 - .type MD4Transform,@function -MD4Transform: -.L41: - pushl %edi - pushl %esi - pushl %ebp - pushl %ebx - subl $132, %esp - movl 152(%esp), %edx - movl 156(%esp), %ebp - movl (%edx), %eax - movl %eax, 124(%esp) - movl 4(%edx), %edi - movl 8(%edx), %esi - movl 12(%edx), %eax - movl %eax, 128(%esp) - xorl %eax, %eax - movb (%ebp), %al - xorl %edx, %edx - movb 1(%ebp), %dl - shll $8, %edx - orl %edx, %eax - xorl %edx, %edx - movb 2(%ebp), %dl - shll $16, %edx - orl %edx, %eax - xorl %edx, %edx - movb 3(%ebp), %dl - shll $24, %edx - orl %edx, %eax - movl %eax, 84(%esp) - movl %eax, (%esp) - xorl %eax, %eax - movb 4(%ebp), %al - xorl %edx, %edx - movb 5(%ebp), %dl - shll $8, %edx - orl %edx, %eax - xorl %edx, %edx - movb 6(%ebp), %dl - shll $16, %edx - orl %edx, %eax - xorl %edx, %edx - movb 7(%ebp), %dl - shll $24, %edx - orl %edx, %eax - movl %eax, 68(%esp) - movl %eax, 4(%esp) - xorl %eax, %eax - movb 8(%ebp), %al - xorl %edx, %edx - movb 9(%ebp), %dl - shll $8, %edx - orl %edx, %eax - xorl %edx, %edx - movb 10(%ebp), %dl - shll $16, %edx - orl %edx, %eax - xorl %edx, %edx - movb 11(%ebp), %dl - shll $24, %edx - orl %edx, %eax - movl %eax, 80(%esp) - movl %eax, 8(%esp) - xorl %eax, %eax - movb 12(%ebp), %al - xorl %edx, %edx - movb 13(%ebp), %dl - shll $8, %edx - orl %edx, %eax - xorl %edx, %edx - movb 14(%ebp), %dl - shll $16, %edx - orl %edx, %eax - xorl %edx, %edx - movb 15(%ebp), %dl - shll $24, %edx - orl %edx, %eax - movl %eax, 64(%esp) - movl %eax, 12(%esp) - xorl %eax, %eax - movb 16(%ebp), %al - xorl %edx, %edx - movb 17(%ebp), %dl - shll $8, %edx - orl %edx, %eax - xorl %edx, %edx - movb 18(%ebp), %dl - shll $16, %edx - orl %edx, %eax - xorl %edx, %edx - movb 19(%ebp), %dl - shll $24, %edx - orl %edx, %eax - movl %eax, 92(%esp) - movl %eax, 16(%esp) - xorl %eax, %eax - movb 20(%ebp), %al - xorl %edx, %edx - movb 21(%ebp), %dl - shll $8, %edx - orl %edx, %eax - xorl %edx, %edx - movb 22(%ebp), %dl - shll $16, %edx - orl %edx, %eax - xorl %edx, %edx - movb 23(%ebp), %dl - shll $24, %edx - orl %edx, %eax - movl %eax, 72(%esp) - movl %eax, 20(%esp) - xorl %eax, %eax - movb 24(%ebp), %al - xorl %edx, %edx - movb 25(%ebp), %dl - shll $8, %edx - orl %edx, %eax - xorl %edx, %edx - movb 26(%ebp), %dl - shll $16, %edx - orl %edx, %eax - xorl %edx, %edx - movb 27(%ebp), %dl - shll $24, %edx - orl %edx, %eax - movl %eax, 88(%esp) - movl %eax, 24(%esp) - xorl %eax, %eax - movb 28(%ebp), %al - xorl %edx, %edx - movb 29(%ebp), %dl - shll $8, %edx - orl %edx, %eax - xorl %edx, %edx - movb 30(%ebp), %dl - shll $16, %edx - orl %edx, %eax - xorl %edx, %edx - movb 31(%ebp), %dl - shll $24, %edx - orl %edx, %eax - movl %eax, 76(%esp) - movl %eax, 28(%esp) - xorl %eax, %eax - movb 32(%ebp), %al - xorl %edx, %edx - movb 33(%ebp), %dl - shll $8, %edx - orl %edx, %eax - xorl %edx, %edx - movb 34(%ebp), %dl - shll $16, %edx - orl %edx, %eax - xorl %edx, %edx - movb 35(%ebp), %dl - shll $24, %edx - orl %edx, %eax - movl %eax, 108(%esp) - movl %eax, 32(%esp) - xorl %eax, %eax - movb 36(%ebp), %al - xorl %edx, %edx - movb 37(%ebp), %dl - shll $8, %edx - orl %edx, %eax - xorl %edx, %edx - movb 38(%ebp), %dl - shll $16, %edx - orl %edx, %eax - xorl %edx, %edx - movb 39(%ebp), %dl - shll $24, %edx - orl %edx, %eax - movl %eax, 96(%esp) - movl %eax, 36(%esp) - xorl %eax, %eax - movb 40(%ebp), %al - xorl %edx, %edx - movb 41(%ebp), %dl - shll $8, %edx - orl %edx, %eax - xorl %edx, %edx - movb 42(%ebp), %dl - shll $16, %edx - orl %edx, %eax - xorl %edx, %edx - movb 43(%ebp), %dl - shll $24, %edx - orl %edx, %eax - movl %eax, 104(%esp) - movl %eax, 40(%esp) - xorl %ebx, %ebx - movb 44(%ebp), %bl - xorl %eax, %eax - movb 45(%ebp), %al - shll $8, %eax - orl %eax, %ebx - xorl %eax, %eax - movb 46(%ebp), %al - shll $16, %eax - orl %eax, %ebx - xorl %eax, %eax - movb 47(%ebp), %al - shll $24, %eax - orl %eax, %ebx - movl %ebx, 100(%esp) - movl %ebx, 44(%esp) - xorl %ecx, %ecx - movb 48(%ebp), %cl - xorl %eax, %eax - movb 49(%ebp), %al - shll $8, %eax - orl %eax, %ecx - xorl %eax, %eax - movb 50(%ebp), %al - shll $16, %eax - orl %eax, %ecx - xorl %eax, %eax - movb 51(%ebp), %al - shll $24, %eax - orl %eax, %ecx - movl %ecx, 116(%esp) - movl %ecx, 48(%esp) - xorl %edx, %edx - movb 52(%ebp), %dl - xorl %eax, %eax - movb 53(%ebp), %al - shll $8, %eax - orl %eax, %edx - xorl %eax, %eax - movb 54(%ebp), %al - shll $16, %eax - orl %eax, %edx - xorl %eax, %eax - movb 55(%ebp), %al - shll $24, %eax - orl %eax, %edx - movl %edx, 112(%esp) - movl %edx, 52(%esp) - xorl %eax, %eax - movb 56(%ebp), %al - xorl %edx, %edx - movb 57(%ebp), %dl - shll $8, %edx - orl %edx, %eax - xorl %edx, %edx - movb 58(%ebp), %dl - shll $16, %edx - orl %edx, %eax - xorl %edx, %edx - movb 59(%ebp), %dl - shll $24, %edx - orl %edx, %eax - movl %eax, 120(%esp) - movl %eax, 56(%esp) - xorl %eax, %eax - movb 60(%ebp), %al - xorl %edx, %edx - movb 61(%ebp), %dl - shll $8, %edx - orl %edx, %eax - xorl %edx, %edx - movb 62(%ebp), %dl - shll $16, %edx - orl %edx, %eax - xorl %edx, %edx - movb 63(%ebp), %dl - shll $24, %edx - orl %edx, %eax - movl %eax, 60(%esp) - movl 124(%esp), %edx - addl 84(%esp), %edx - movl %edx, 124(%esp) - movl %edi, %ebx - andl %esi, %ebx - movl %edi, %edx - xorl $-1, %edx - movl 128(%esp), %ecx - andl %ecx, %edx - orl %edx, %ebx - movl 124(%esp), %ebp - addl %ebx, %ebp - roll $3, %ebp - movl %ebp, 124(%esp) - movl %edi, %edx - andl %ebp, %edx - xorl $-1, %ebp - andl %esi, %ebp - orl %ebp, %edx - addl 68(%esp), %edx - addl %ecx, %edx - roll $7, %edx - addl 80(%esp), %esi - movl 124(%esp), %ecx - andl %edx, %ecx - movl %edx, %ebx - xorl $-1, %ebx - andl %edi, %ebx - orl %ebx, %ecx - addl %ecx, %esi - roll $11, %esi - addl 64(%esp), %edi - movl %esi, %ebx - andl %edx, %ebx - movl %esi, %ecx - xorl $-1, %ecx - andl 124(%esp), %ecx - orl %ecx, %ebx - addl %ebx, %edi - roll $19, %edi - movl 124(%esp), %ecx - addl 92(%esp), %ecx - movl %ecx, 124(%esp) - movl %edi, %ebx - andl %esi, %ebx - movl %edi, %ecx - xorl $-1, %ecx - andl %edx, %ecx - orl %ecx, %ebx - movl 124(%esp), %ebp - addl %ebx, %ebp - roll $3, %ebp - movl %ebp, 124(%esp) - movl %edi, %ecx - andl %ebp, %ecx - xorl $-1, %ebp - andl %esi, %ebp - orl %ebp, %ecx - addl 72(%esp), %ecx - addl %edx, %ecx - roll $7, %ecx - addl 88(%esp), %esi - movl 124(%esp), %edx - andl %ecx, %edx - movl %ecx, %ebx - xorl $-1, %ebx - andl %edi, %ebx - orl %ebx, %edx - addl %edx, %esi - roll $11, %esi - addl 76(%esp), %edi - movl %esi, %ebx - andl %ecx, %ebx - movl %esi, %edx - xorl $-1, %edx - andl 124(%esp), %edx - orl %edx, %ebx - addl %ebx, %edi - roll $19, %edi - movl 124(%esp), %edx - addl 108(%esp), %edx - movl %edx, 124(%esp) - movl %edi, %ebx - andl %esi, %ebx - movl %edi, %edx - xorl $-1, %edx - andl %ecx, %edx - orl %edx, %ebx - movl 124(%esp), %ebp - addl %ebx, %ebp - roll $3, %ebp - movl %ebp, 124(%esp) - movl %edi, %edx - andl %ebp, %edx - xorl $-1, %ebp - andl %esi, %ebp - orl %ebp, %edx - addl 96(%esp), %edx - addl %ecx, %edx - roll $7, %edx - addl 104(%esp), %esi - movl 124(%esp), %ecx - andl %edx, %ecx - movl %edx, %ebx - xorl $-1, %ebx - andl %edi, %ebx - orl %ebx, %ecx - addl %ecx, %esi - roll $11, %esi - addl 100(%esp), %edi - movl %esi, %ebx - andl %edx, %ebx - movl %esi, %ecx - xorl $-1, %ecx - andl 124(%esp), %ecx - orl %ecx, %ebx - addl %ebx, %edi - roll $19, %edi - movl 124(%esp), %ecx - addl 116(%esp), %ecx - movl %ecx, 124(%esp) - movl %edi, %ebx - andl %esi, %ebx - movl %edi, %ecx - xorl $-1, %ecx - andl %edx, %ecx - orl %ecx, %ebx - movl 124(%esp), %ebp - addl %ebx, %ebp - roll $3, %ebp - movl %ebp, 124(%esp) - movl %edi, %ecx - andl %ebp, %ecx - xorl $-1, %ebp - andl %esi, %ebp - orl %ebp, %ecx - addl 112(%esp), %ecx - addl %edx, %ecx - roll $7, %ecx - addl 120(%esp), %esi - movl 124(%esp), %edx - andl %ecx, %edx - movl %ecx, %ebx - xorl $-1, %ebx - andl %edi, %ebx - orl %ebx, %edx - addl %edx, %esi - roll $11, %esi - movl %esi, %ebx - andl %ecx, %ebx - addl %eax, %edi - movl %esi, %edx - xorl $-1, %edx - andl 124(%esp), %edx - orl %ebx, %edx - addl %edx, %edi - roll $19, %edi - movl %esi, %ebp - orl %ecx, %ebp - andl %edi, %ebp - orl %ebx, %ebp - movl 124(%esp), %edx - lea 1518500249(%edx,%ebp), %edx - addl 84(%esp), %edx - roll $3, %edx - movl %edi, %ebp - orl %esi, %ebp - andl %edx, %ebp - movl %edi, %ebx - andl %esi, %ebx - orl %ebx, %ebp - lea 1518500249(%ebp,%ecx), %ecx - addl 92(%esp), %ecx - roll $5, %ecx - movl %edi, %ebp - orl %edx, %ebp - andl %ecx, %ebp - movl %edi, %ebx - andl %edx, %ebx - orl %ebx, %ebp - lea 1518500249(%esi,%ebp), %ebx - addl 108(%esp), %ebx - roll $9, %ebx - movl %edx, %esi - orl %ecx, %esi - andl %ebx, %esi - movl %edx, %ebp - andl %ecx, %ebp - orl %ebp, %esi - lea 1518500249(%edi,%esi), %edi - addl 116(%esp), %edi - roll $13, %edi - movl %ebx, %esi - orl %ecx, %esi - andl %edi, %esi - movl %ebx, %ebp - andl %ecx, %ebp - orl %ebp, %esi - lea 1518500249(%edx,%esi), %edx - addl 68(%esp), %edx - roll $3, %edx - movl %edi, %esi - orl %ebx, %esi - andl %edx, %esi - movl %edi, %ebp - andl %ebx, %ebp - orl %ebp, %esi - lea 1518500249(%esi,%ecx), %ebp - addl 72(%esp), %ebp - roll $5, %ebp - movl %edi, %esi - orl %edx, %esi - andl %ebp, %esi - movl %edi, %ecx - andl %edx, %ecx - orl %ecx, %esi - lea 1518500249(%ebx,%esi), %esi - addl 96(%esp), %esi - roll $9, %esi - movl %edx, %ebx - orl %ebp, %ebx - andl %esi, %ebx - movl %edx, %ecx - andl %ebp, %ecx - orl %ecx, %ebx - lea 1518500249(%edi,%ebx), %ecx - addl 112(%esp), %ecx - roll $13, %ecx - movl %esi, %edi - orl %ebp, %edi - andl %ecx, %edi - movl %esi, %ebx - andl %ebp, %ebx - orl %ebx, %edi - lea 1518500249(%edx,%edi), %ebx - addl 80(%esp), %ebx - roll $3, %ebx - movl %ecx, %edi - orl %esi, %edi - andl %ebx, %edi - movl %ecx, %edx - andl %esi, %edx - orl %edx, %edi - lea 1518500249(%edi,%ebp), %ebp - addl 88(%esp), %ebp - roll $5, %ebp - movl %ecx, %edi - orl %ebx, %edi - -.L45: - andl %ebp, %edi - movl %ecx, %edx - andl %ebx, %edx - orl %edx, %edi - lea 1518500249(%esi,%edi), %edx - addl 104(%esp), %edx - roll $9, %edx - movl %ebx, %edi - orl %ebp, %edi - andl %edx, %edi - movl %ebx, %esi - andl %ebp, %esi - orl %esi, %edi - lea 1518500249(%ecx,%edi), %ecx - addl 120(%esp), %ecx - roll $13, %ecx - movl %edx, %edi - orl %ebp, %edi - andl %ecx, %edi - movl %edx, %esi - andl %ebp, %esi - orl %esi, %edi - lea 1518500249(%ebx,%edi), %ebx - addl 64(%esp), %ebx - roll $3, %ebx - movl %ecx, %edi - orl %edx, %edi - andl %ebx, %edi - movl %ecx, %esi - andl %edx, %esi - orl %esi, %edi - lea 1518500249(%edi,%ebp), %edi - addl 76(%esp), %edi - roll $5, %edi - movl %ecx, %esi - orl %ebx, %esi - andl %edi, %esi - movl %ecx, %ebp - andl %ebx, %ebp - orl %ebp, %esi - lea 1518500249(%edx,%esi), %esi - addl 100(%esp), %esi - roll $9, %esi - movl %ebx, %ebp - orl %edi, %ebp - andl %esi, %ebp - movl %ebx, %edx - andl %edi, %edx - orl %edx, %ebp - lea 1518500249(%ecx,%ebp), %ebp - addl %eax, %ebp - roll $13, %ebp - movl %ebp, %edx - xorl %esi, %edx - xorl %edi, %edx - lea 1859775393(%ebx,%edx), %ebx - addl 84(%esp), %ebx - roll $3, %ebx - movl %ebx, %edx - xorl %ebp, %edx - xorl %esi, %edx - lea 1859775393(%edx,%edi), %ecx - addl 108(%esp), %ecx - roll $9, %ecx - movl %ecx, %edx - xorl %ebx, %edx - xorl %ebp, %edx - lea 1859775393(%esi,%edx), %edx - addl 92(%esp), %edx - roll $11, %edx - movl %edx, %esi - xorl %ecx, %esi - xorl %ebx, %esi - lea 1859775393(%ebp,%esi), %ebp - addl 116(%esp), %ebp - roll $15, %ebp - movl %ebp, %esi - xorl %edx, %esi - xorl %ecx, %esi - lea 1859775393(%ebx,%esi), %ebx - addl 80(%esp), %ebx - roll $3, %ebx - movl %ebx, %esi - xorl %ebp, %esi - xorl %edx, %esi - lea 1859775393(%esi,%ecx), %ecx - addl 104(%esp), %ecx - roll $9, %ecx - movl %ecx, %esi - xorl %ebx, %esi - xorl %ebp, %esi - lea 1859775393(%edx,%esi), %esi - addl 88(%esp), %esi - roll $11, %esi - movl %esi, %edx - xorl %ecx, %edx - xorl %ebx, %edx - lea 1859775393(%ebp,%edx), %ebp - addl 120(%esp), %ebp - roll $15, %ebp - movl %ebp, %edx - xorl %esi, %edx - xorl %ecx, %edx - lea 1859775393(%ebx,%edx), %edx - addl 68(%esp), %edx - roll $3, %edx - movl %edx, %ebx - xorl %ebp, %ebx - xorl %esi, %ebx - lea 1859775393(%ebx,%ecx), %edi - addl 96(%esp), %edi - roll $9, %edi - movl %edi, %ecx - xorl %edx, %ecx - xorl %ebp, %ecx - lea 1859775393(%esi,%ecx), %ebx - addl 72(%esp), %ebx - roll $11, %ebx - movl %ebx, %ecx - xorl %edi, %ecx - xorl %edx, %ecx - lea 1859775393(%ebp,%ecx), %ecx - addl 112(%esp), %ecx - roll $15, %ecx - movl %ecx, %ebp - xorl %ebx, %ebp - xorl %edi, %ebp - lea 1859775393(%edx,%ebp), %esi - addl 64(%esp), %esi - roll $3, %esi - movl %esi, %edx - xorl %ecx, %edx - xorl %ebx, %edx - lea 1859775393(%edx,%edi), %ebp - addl 100(%esp), %ebp - roll $9, %ebp - movl %ebp, %edx - xorl %esi, %edx - xorl %ecx, %edx - lea 1859775393(%ebx,%edx), %edx - addl 76(%esp), %edx - roll $11, %edx - movl %edx, %ebx - xorl %ebp, %ebx - xorl %esi, %ebx - lea 1859775393(%ecx,%ebx), %ecx - addl %eax, %ecx - roll $15, %ecx - movl 152(%esp), %eax - addl %esi, (%eax) - addl %ecx, 4(%eax) - addl %edx, 8(%eax) - addl %ebp, 12(%eax) - lea (%esp), %ecx - xorl %eax, %eax - andl $255, %eax - movl %eax, %edx - shll $8, %edx - orl %edx, %eax - movl %eax, %edx - shll $16, %edx - orl %edx, %eax - movl %eax, (%ecx) - movl %eax, 4(%ecx) - movl %eax, 8(%ecx) - movl %eax, 12(%ecx) - movl %eax, 16(%ecx) - movl %eax, 20(%ecx) - movl %eax, 24(%ecx) - movl %eax, 28(%ecx) - movl %eax, 32(%ecx) - movl %eax, 36(%ecx) - movl %eax, 40(%ecx) - movl %eax, 44(%ecx) - movl %eax, 48(%ecx) - movl %eax, 52(%ecx) - movl %eax, 56(%ecx) - movl %eax, 60(%ecx) - -.L42: - addl $132, %esp - popl %ebx - popl %ebp - popl %esi - popl %edi - ret - .align 2,0x90 - - - .size MD4Transform,.-MD4Transform - .data - - .text - - - .align 2,0x90 - - - - .type Encode,@function -Encode: -.L51: - pushl %esi - pushl %ebx - subl $12, %esp - movl 24(%esp), %ebx - movl 28(%esp), %esi - movl 32(%esp), %eax - xorl %edx, %edx - xorl %ecx, %ecx - testl %eax, %eax - jbe .L55 - -.L52: - movl %ecx, 4(%esp) - -.L53: - movl 28(%esp), %ecx - movb (%ecx,%edx,4), %bl - movl 24(%esp), %esi - movl 4(%esp), %eax - movb %bl, (%eax,%esi) - movl 28(%esp), %ecx - movl (%ecx,%edx,4), %ecx - shrl $8, %ecx - movb %cl, 1(%eax,%esi) - movl 28(%esp), %ecx - movb 2(%ecx,%edx,4), %cl - movb %cl, 2(%eax,%esi) - movl 28(%esp), %ecx - movb 3(%ecx,%edx,4), %cl - movb %cl, 3(%eax,%esi) - incl %edx - addl $4, %eax - movl %eax, 4(%esp) - movl 32(%esp), %ecx - cmpl %ecx, %eax - jb .L53 - -.L55: - addl $12, %esp - popl %ebx - popl %esi - ret - .align 2,0x90 - - - - .size Encode,.-Encode - .data - - .data - -#if defined(__linux__) && defined(__ELF__) -.section .note.GNU-stack,"",%progbits -#endif - diff --git a/src/utils/lib/md4_i686.s b/src/utils/lib/md4_i686.s deleted file mode 100644 index 5f78b0a3..00000000 --- a/src/utils/lib/md4_i686.s +++ /dev/null @@ -1,1015 +0,0 @@ - .text - .align 4,0x90 - .globl MD4Init - .type MD4Init,@function -MD4Init: -.L11: - movl 4(%esp), %edx - xorl %eax, %eax - movl %eax, 20(%edx) - movl %eax, 16(%edx) - movl $1732584193, (%edx) - movl $-271733879, 4(%edx) - movl $-1732584194, 8(%edx) - movl $271733878, 12(%edx) - ret - .align 4,0x90 - - - .size MD4Init,.-MD4Init - .data - - .data - .text - - - .align 4,0x90 - - - - .globl MD4Update - .type MD4Update,@function -MD4Update: -.L21: - pushl %edi - pushl %esi - pushl %ebp - pushl %ebx - subl $20, %esp - movl 40(%esp), %ebp - movl 48(%esp), %ecx - movl 16(%ebp), %edx - movl %edx, %eax - shrl $3, %eax - andl $63, %eax - lea (%ecx,%ecx), %ebx - addl %ebx, %ebx - addl %ebx, %ebx - lea (%edx,%ecx,8), %edx - movl %edx, 16(%ebp) - cmpl %ebx, %edx - jae .L23 - -.L22: - movl 20(%ebp), %edx - incl %edx - jmp .L24 - -.L23: - movl 20(%ebp), %edx - -.L24: - movl 48(%esp), %esi - movl %esi, %ebx - shrl $29, %ebx - addl %ebx, %edx - movl %edx, 20(%ebp) - movl %eax, %edx - negl %edx - lea 64(%edx), %ebx - movl %edx, 12(%esp) - cmpl %ebx, %esi - jae .L26 - -.L25: - xorl %ebx, %ebx - jmp .L214 - -.L26: - lea 24(%ebp,%eax), %edi - movl 44(%esp), %esi - movl %ebx, %ecx - rep - movsb - -.L27: - movl %ebp, (%esp) - lea 24(%ebp), %eax - movl %eax, 4(%esp) - call MD4Transform - -.L28: - movl 12(%esp), %edx - addl $127, %edx - movl 48(%esp), %eax - cmpl %edx, %eax - jbe .L213 - -.L29: - lea 63(%ebx), %edi - movl 44(%esp), %eax - lea (%ebx,%eax), %esi - - -.L210: - movl %ebp, (%esp) - movl %esi, 4(%esp) - call MD4Transform - -.L211: - addl $64, %edi - addl $64, %esi - addl $64, %ebx - movl 48(%esp), %eax - cmpl %edi, %eax - ja .L210 - -.L213: - xorl %eax, %eax - -.L214: - lea 24(%ebp,%eax), %edi - movl 44(%esp), %eax - lea (%eax,%ebx), %esi - movl 48(%esp), %eax - subl %ebx, %eax - movl %eax, %ecx - rep - movsb - -.L215: - addl $20, %esp - popl %ebx - popl %ebp - popl %esi - popl %edi - ret - .align 4,0x90 - - - .size MD4Update,.-MD4Update - .data - - .data - .type PADDING,@object -PADDING: - .byte 128 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .byte 0 - .size PADDING,64 - .text - - - .align 4,0x90 - - - .globl MD4Final - .type MD4Final,@function -MD4Final: -.L31: - pushl %ebp - pushl %ebx - subl $28, %esp - movl 40(%esp), %ebp - movl 44(%esp), %ebx - lea 16(%esp), %eax - lea 16(%ebx), %edx - movl %eax, (%esp) - movl %edx, 4(%esp) - movl $8, 8(%esp) - call Encode - -.L32: - movl 16(%ebx), %eax - shrl $3, %eax - andl $63, %eax - cmpl $56, %eax - jae .L34 - -.L33: - negl %eax - addl $56, %eax - jmp .L35 - -.L34: - negl %eax - addl $120, %eax - -.L35: - movl %ebx, (%esp) - movl $PADDING, 4(%esp) - movl %eax, 8(%esp) - call MD4Update - -.L36: - movl %ebx, (%esp) - lea 16(%esp), %eax - movl %eax, 4(%esp) - movl $8, 8(%esp) - call MD4Update - -.L37: - movl %ebp, (%esp) - movl %ebx, 4(%esp) - movl $16, 8(%esp) - call Encode - -.L38: - xorl %eax, %eax - andl $255, %eax - movl %eax, %edx - shll $8, %edx - orl %edx, %eax - movl %eax, %ecx - shll $16, %ecx - orl %ecx, %eax - movl %eax, (%ebx) - movl %eax, 4(%ebx) - movl %eax, 8(%ebx) - movl %eax, 12(%ebx) - movl %eax, 16(%ebx) - movl %eax, 20(%ebx) - movl %eax, 24(%ebx) - movl %eax, 28(%ebx) - movl %eax, 32(%ebx) - movl %eax, 36(%ebx) - movl %eax, 40(%ebx) - movl %eax, 44(%ebx) - movl %eax, 48(%ebx) - movl %eax, 52(%ebx) - movl %eax, 56(%ebx) - movl %eax, 60(%ebx) - movl %eax, 64(%ebx) - movl %eax, 68(%ebx) - movl %eax, 72(%ebx) - movl %eax, 76(%ebx) - movl %eax, 80(%ebx) - movl %eax, 84(%ebx) - -.L39: - addl $28, %esp - popl %ebx - popl %ebp - ret - .align 4,0x90 - - - .size MD4Final,.-MD4Final - .data - - .data - .text - - - .align 4,0x90 - - - .type MD4Transform,@function -MD4Transform: -.L41: - pushl %edi - pushl %esi - pushl %ebp - pushl %ebx - subl $124, %esp - movl 144(%esp), %edx - movl 148(%esp), %eax - movl (%edx), %ebp - movl 4(%edx), %ecx - movl 8(%edx), %edi - movl 12(%edx), %edx - movzbl (%eax), %ebx - movzbl 1(%eax), %esi - shll $8, %esi - orl %esi, %ebx - movzbl 2(%eax), %esi - shll $16, %esi - orl %esi, %ebx - movzbl 3(%eax), %esi - shll $24, %esi - orl %esi, %ebx - movl %ebx, 116(%esp) - movl %ebx, (%esp) - movzbl 4(%eax), %ebx - movzbl 5(%eax), %esi - shll $8, %esi - orl %esi, %ebx - movzbl 6(%eax), %esi - shll $16, %esi - orl %esi, %ebx - movzbl 7(%eax), %esi - shll $24, %esi - orl %esi, %ebx - movl %ebx, 68(%esp) - movl %ebx, 4(%esp) - movzbl 8(%eax), %ebx - movzbl 9(%eax), %esi - shll $8, %esi - orl %esi, %ebx - movzbl 10(%eax), %esi - shll $16, %esi - orl %esi, %ebx - movzbl 11(%eax), %esi - shll $24, %esi - orl %esi, %ebx - movl %ebx, 80(%esp) - movl %ebx, 8(%esp) - movzbl 12(%eax), %ebx - movzbl 13(%eax), %esi - shll $8, %esi - orl %esi, %ebx - movzbl 14(%eax), %esi - shll $16, %esi - orl %esi, %ebx - movzbl 15(%eax), %esi - shll $24, %esi - orl %esi, %ebx - movl %ebx, 64(%esp) - movl %ebx, 12(%esp) - movzbl 16(%eax), %ebx - movzbl 17(%eax), %esi - shll $8, %esi - orl %esi, %ebx - movzbl 18(%eax), %esi - shll $16, %esi - orl %esi, %ebx - movzbl 19(%eax), %esi - shll $24, %esi - orl %esi, %ebx - movl %ebx, 88(%esp) - movl %ebx, 16(%esp) - movzbl 20(%eax), %ebx - movzbl 21(%eax), %esi - shll $8, %esi - orl %esi, %ebx - movzbl 22(%eax), %esi - shll $16, %esi - orl %esi, %ebx - movzbl 23(%eax), %esi - shll $24, %esi - orl %esi, %ebx - movl %ebx, 72(%esp) - movl %ebx, 20(%esp) - movzbl 24(%eax), %ebx - movzbl 25(%eax), %esi - shll $8, %esi - orl %esi, %ebx - movzbl 26(%eax), %esi - shll $16, %esi - orl %esi, %ebx - movzbl 27(%eax), %esi - shll $24, %esi - orl %esi, %ebx - movl %ebx, 84(%esp) - movl %ebx, 24(%esp) - movzbl 28(%eax), %ebx - movzbl 29(%eax), %esi - shll $8, %esi - orl %esi, %ebx - movzbl 30(%eax), %esi - shll $16, %esi - orl %esi, %ebx - movzbl 31(%eax), %esi - shll $24, %esi - orl %esi, %ebx - movl %ebx, 76(%esp) - movl %ebx, 28(%esp) - movzbl 32(%eax), %ebx - movzbl 33(%eax), %esi - shll $8, %esi - orl %esi, %ebx - movzbl 34(%eax), %esi - shll $16, %esi - orl %esi, %ebx - movzbl 35(%eax), %esi - shll $24, %esi - orl %esi, %ebx - movl %ebx, 104(%esp) - movl %ebx, 32(%esp) - movzbl 36(%eax), %ebx - movzbl 37(%eax), %esi - shll $8, %esi - orl %esi, %ebx - movzbl 38(%eax), %esi - shll $16, %esi - orl %esi, %ebx - movzbl 39(%eax), %esi - shll $24, %esi - orl %esi, %ebx - movl %ebx, 92(%esp) - movl %ebx, 36(%esp) - movzbl 40(%eax), %ebx - movzbl 41(%eax), %esi - shll $8, %esi - orl %esi, %ebx - movzbl 42(%eax), %esi - shll $16, %esi - orl %esi, %ebx - movzbl 43(%eax), %esi - shll $24, %esi - orl %esi, %ebx - movl %ebx, 100(%esp) - movl %ebx, 40(%esp) - movzbl 44(%eax), %ebx - movzbl 45(%eax), %esi - shll $8, %esi - orl %esi, %ebx - movzbl 46(%eax), %esi - shll $16, %esi - orl %esi, %ebx - movzbl 47(%eax), %esi - shll $24, %esi - orl %esi, %ebx - movl %ebx, 96(%esp) - movl %ebx, 44(%esp) - movzbl 48(%eax), %ebx - movzbl 49(%eax), %esi - shll $8, %esi - orl %esi, %ebx - movzbl 50(%eax), %esi - shll $16, %esi - orl %esi, %ebx - movzbl 51(%eax), %esi - shll $24, %esi - orl %esi, %ebx - movl %ebx, 112(%esp) - movl %ebx, 48(%esp) - movzbl 52(%eax), %ebx - movzbl 53(%eax), %esi - shll $8, %esi - orl %esi, %ebx - movzbl 54(%eax), %esi - shll $16, %esi - orl %esi, %ebx - movzbl 55(%eax), %esi - shll $24, %esi - orl %esi, %ebx - movl %ebx, 108(%esp) - movl %ebx, 52(%esp) - movzbl 56(%eax), %ebx - movzbl 57(%eax), %esi - shll $8, %esi - orl %esi, %ebx - movzbl 58(%eax), %esi - shll $16, %esi - orl %esi, %ebx - movzbl 59(%eax), %esi - shll $24, %esi - orl %esi, %ebx - movl %ebx, 120(%esp) - movl %ebx, 56(%esp) - movzbl 60(%eax), %ebx - movzbl 61(%eax), %esi - shll $8, %esi - orl %esi, %ebx - movzbl 62(%eax), %esi - shll $16, %esi - orl %esi, %ebx - movzbl 63(%eax), %eax - shll $24, %eax - orl %eax, %ebx - movl %ecx, %esi - andl %edi, %esi - movl %ebx, 60(%esp) - movl %ecx, %eax - xorl $-1, %eax - addl 116(%esp), %ebp - andl %edx, %eax - orl %eax, %esi - addl %esi, %ebp - roll $3, %ebp - movl %ecx, %esi - andl %ebp, %esi - movl %ebp, %eax - xorl $-1, %eax - andl %edi, %eax - orl %eax, %esi - addl 68(%esp), %esi - addl %edx, %esi - roll $7, %esi - addl 80(%esp), %edi - movl %ebp, %edx - andl %esi, %edx - movl %esi, %eax - xorl $-1, %eax - andl %ecx, %eax - orl %eax, %edx - addl %edx, %edi - roll $11, %edi - addl 64(%esp), %ecx - movl %edi, %edx - andl %esi, %edx - movl %edi, %eax - xorl $-1, %eax - andl %ebp, %eax - orl %eax, %edx - addl %edx, %ecx - roll $19, %ecx - addl 88(%esp), %ebp - movl %ecx, %edx - andl %edi, %edx - movl %ecx, %eax - xorl $-1, %eax - andl %esi, %eax - orl %eax, %edx - addl %edx, %ebp - roll $3, %ebp - movl %ecx, %eax - andl %ebp, %eax - movl %ebp, %edx - xorl $-1, %edx - andl %edi, %edx - orl %edx, %eax - addl 72(%esp), %eax - addl %esi, %eax - roll $7, %eax - addl 84(%esp), %edi - movl %ebp, %esi - andl %eax, %esi - movl %eax, %edx - xorl $-1, %edx - andl %ecx, %edx - orl %edx, %esi - addl %esi, %edi - roll $11, %edi - addl 76(%esp), %ecx - movl %edi, %esi - andl %eax, %esi - movl %edi, %edx - xorl $-1, %edx - andl %ebp, %edx - orl %edx, %esi - addl %esi, %ecx - roll $19, %ecx - addl 104(%esp), %ebp - movl %ecx, %esi - andl %edi, %esi - movl %ecx, %edx - xorl $-1, %edx - andl %eax, %edx - orl %edx, %esi - addl %esi, %ebp - roll $3, %ebp - movl %ecx, %edx - andl %ebp, %edx - movl %ebp, %esi - xorl $-1, %esi - andl %edi, %esi - orl %esi, %edx - addl 92(%esp), %edx - addl %eax, %edx - roll $7, %edx - addl 100(%esp), %edi - movl %ebp, %esi - andl %edx, %esi - movl %edx, %eax - xorl $-1, %eax - andl %ecx, %eax - orl %eax, %esi - addl %esi, %edi - roll $11, %edi - addl 96(%esp), %ecx - movl %edi, %esi - andl %edx, %esi - movl %edi, %eax - xorl $-1, %eax - andl %ebp, %eax - orl %eax, %esi - addl %esi, %ecx - roll $19, %ecx - addl 112(%esp), %ebp - movl %ecx, %esi - andl %edi, %esi - movl %ecx, %eax - xorl $-1, %eax - andl %edx, %eax - orl %eax, %esi - addl %esi, %ebp - roll $3, %ebp - movl %ecx, %eax - andl %ebp, %eax - movl %ebp, %esi - xorl $-1, %esi - andl %edi, %esi - orl %esi, %eax - addl 108(%esp), %eax - addl %edx, %eax - roll $7, %eax - addl 120(%esp), %edi - movl %ebp, %esi - andl %eax, %esi - movl %eax, %edx - xorl $-1, %edx - andl %ecx, %edx - orl %edx, %esi - addl %esi, %edi - roll $11, %edi - movl %edi, %edx - andl %eax, %edx - addl %ebx, %ecx - movl %edi, %esi - xorl $-1, %esi - andl %ebp, %esi - orl %edx, %esi - addl %esi, %ecx - roll $19, %ecx - movl %edi, %esi - orl %eax, %esi - andl %ecx, %esi - orl %edx, %esi - lea 1518500249(%ebp,%esi), %edx - movl %ecx, %esi - addl 116(%esp), %edx - roll $3, %edx - orl %edi, %esi - andl %edx, %esi - movl %ecx, %ebp - andl %edi, %ebp - orl %ebp, %esi - lea 1518500249(%esi,%eax), %esi - movl %ecx, %ebp - addl 88(%esp), %esi - roll $5, %esi - orl %edx, %ebp - andl %esi, %ebp - movl %ecx, %eax - andl %edx, %eax - orl %eax, %ebp - lea 1518500249(%edi,%ebp), %eax - movl %edx, %edi - addl 104(%esp), %eax - roll $9, %eax - orl %esi, %edi - andl %eax, %edi - movl %edx, %ebp - andl %esi, %ebp - orl %ebp, %edi - lea 1518500249(%ecx,%edi), %ebp - movl %eax, %edi - addl 112(%esp), %ebp - roll $13, %ebp - orl %esi, %edi - andl %ebp, %edi - movl %eax, %ecx - andl %esi, %ecx - orl %ecx, %edi - lea 1518500249(%edx,%edi), %ecx - movl %ebp, %edi - addl 68(%esp), %ecx - roll $3, %ecx - orl %eax, %edi - andl %ecx, %edi - movl %ebp, %edx - andl %eax, %edx - orl %edx, %edi - lea 1518500249(%edi,%esi), %edx - movl %ebp, %edi - addl 72(%esp), %edx - roll $5, %edx - orl %ecx, %edi - andl %edx, %edi - movl %ebp, %esi - andl %ecx, %esi - orl %esi, %edi - lea 1518500249(%eax,%edi), %esi - movl %ecx, %edi - addl 92(%esp), %esi - roll $9, %esi - orl %edx, %edi - andl %esi, %edi - movl %ecx, %eax - andl %edx, %eax - orl %eax, %edi - lea 1518500249(%ebp,%edi), %eax - movl %esi, %edi - addl 108(%esp), %eax - roll $13, %eax - orl %edx, %edi - andl %eax, %edi - movl %esi, %ebp - andl %edx, %ebp - orl %ebp, %edi - lea 1518500249(%ecx,%edi), %ecx - movl %eax, %edi - addl 80(%esp), %ecx - roll $3, %ecx - orl %esi, %edi - andl %ecx, %edi - movl %eax, %ebp - andl %esi, %ebp - orl %ebp, %edi - lea 1518500249(%edi,%edx), %ebp - movl %eax, %edi - addl 84(%esp), %ebp - roll $5, %ebp - orl %ecx, %edi - -.L45: - andl %ebp, %edi - movl %eax, %edx - andl %ecx, %edx - orl %edx, %edi - lea 1518500249(%esi,%edi), %edx - movl %ecx, %edi - addl 100(%esp), %edx - roll $9, %edx - orl %ebp, %edi - andl %edx, %edi - movl %ecx, %esi - andl %ebp, %esi - orl %esi, %edi - lea 1518500249(%eax,%edi), %eax - movl %edx, %edi - addl 120(%esp), %eax - roll $13, %eax - orl %ebp, %edi - andl %eax, %edi - movl %edx, %esi - andl %ebp, %esi - orl %esi, %edi - lea 1518500249(%ecx,%edi), %ecx - movl %eax, %edi - addl 64(%esp), %ecx - roll $3, %ecx - orl %edx, %edi - andl %ecx, %edi - movl %eax, %esi - andl %edx, %esi - orl %esi, %edi - lea 1518500249(%edi,%ebp), %edi - movl %eax, %esi - addl 76(%esp), %edi - roll $5, %edi - orl %ecx, %esi - andl %edi, %esi - movl %eax, %ebp - andl %ecx, %ebp - orl %ebp, %esi - lea 1518500249(%edx,%esi), %esi - movl %ecx, %ebp - addl 96(%esp), %esi - roll $9, %esi - orl %edi, %ebp - andl %esi, %ebp - movl %ecx, %edx - andl %edi, %edx - orl %edx, %ebp - lea 1518500249(%eax,%ebp), %ebp - addl %ebx, %ebp - roll $13, %ebp - movl %ebp, %eax - xorl %esi, %eax - xorl %edi, %eax - lea 1859775393(%ecx,%eax), %ecx - addl 116(%esp), %ecx - roll $3, %ecx - movl %ecx, %eax - xorl %ebp, %eax - xorl %esi, %eax - lea 1859775393(%eax,%edi), %edx - addl 104(%esp), %edx - roll $9, %edx - movl %edx, %eax - xorl %ecx, %eax - xorl %ebp, %eax - lea 1859775393(%esi,%eax), %eax - addl 88(%esp), %eax - roll $11, %eax - movl %eax, %esi - xorl %edx, %esi - xorl %ecx, %esi - lea 1859775393(%ebp,%esi), %ebp - addl 112(%esp), %ebp - roll $15, %ebp - movl %ebp, %esi - xorl %eax, %esi - xorl %edx, %esi - lea 1859775393(%ecx,%esi), %ecx - addl 80(%esp), %ecx - roll $3, %ecx - movl %ecx, %esi - xorl %ebp, %esi - xorl %eax, %esi - lea 1859775393(%esi,%edx), %edx - addl 100(%esp), %edx - roll $9, %edx - movl %edx, %esi - xorl %ecx, %esi - xorl %ebp, %esi - lea 1859775393(%eax,%esi), %esi - addl 84(%esp), %esi - roll $11, %esi - movl %esi, %eax - xorl %edx, %eax - xorl %ecx, %eax - lea 1859775393(%ebp,%eax), %ebp - addl 120(%esp), %ebp - roll $15, %ebp - movl %ebp, %eax - xorl %esi, %eax - xorl %edx, %eax - lea 1859775393(%ecx,%eax), %eax - addl 68(%esp), %eax - roll $3, %eax - movl %eax, %ecx - xorl %ebp, %ecx - xorl %esi, %ecx - lea 1859775393(%ecx,%edx), %edi - addl 92(%esp), %edi - roll $9, %edi - movl %edi, %edx - xorl %eax, %edx - xorl %ebp, %edx - lea 1859775393(%esi,%edx), %ecx - addl 72(%esp), %ecx - roll $11, %ecx - movl %ecx, %edx - xorl %edi, %edx - xorl %eax, %edx - lea 1859775393(%ebp,%edx), %edx - addl 108(%esp), %edx - roll $15, %edx - movl %edx, %ebp - xorl %ecx, %ebp - xorl %edi, %ebp - lea 1859775393(%eax,%ebp), %esi - addl 64(%esp), %esi - roll $3, %esi - movl %esi, %eax - xorl %edx, %eax - xorl %ecx, %eax - lea 1859775393(%eax,%edi), %ebp - addl 96(%esp), %ebp - roll $9, %ebp - movl %ebp, %eax - xorl %esi, %eax - xorl %edx, %eax - lea 1859775393(%ecx,%eax), %eax - addl 76(%esp), %eax - roll $11, %eax - movl %eax, %ecx - xorl %ebp, %ecx - xorl %esi, %ecx - lea 1859775393(%edx,%ecx), %edx - addl %ebx, %edx - roll $15, %edx - movl 144(%esp), %ebx - addl %esi, (%ebx) - addl %edx, 4(%ebx) - addl %eax, 8(%ebx) - xorl %eax, %eax - addl %ebp, 12(%ebx) - lea (%esp), %ecx - andl $255, %eax - movl %eax, %edx - shll $8, %edx - orl %edx, %eax - movl %eax, %edx - shll $16, %edx - orl %edx, %eax - movl %eax, (%ecx) - movl %eax, 4(%ecx) - movl %eax, 8(%ecx) - movl %eax, 12(%ecx) - movl %eax, 16(%ecx) - movl %eax, 20(%ecx) - movl %eax, 24(%ecx) - movl %eax, 28(%ecx) - movl %eax, 32(%ecx) - movl %eax, 36(%ecx) - movl %eax, 40(%ecx) - movl %eax, 44(%ecx) - movl %eax, 48(%ecx) - movl %eax, 52(%ecx) - movl %eax, 56(%ecx) - movl %eax, 60(%ecx) - -.L42: - addl $124, %esp - popl %ebx - popl %ebp - popl %esi - popl %edi - ret - .align 4,0x90 - - - .size MD4Transform,.-MD4Transform - .data - - .text - - - .align 4,0x90 - - - - .type Encode,@function -Encode: -.L51: - pushl %esi - pushl %ebx - subl $12, %esp - movl 24(%esp), %ebx - movl 28(%esp), %esi - movl 32(%esp), %eax - xorl %edx, %edx - xorl %ecx, %ecx - testl %eax, %eax - jbe .L55 - -.L52: - movl %ecx, 4(%esp) - - -.L53: - movl 28(%esp), %ecx - movb (%ecx,%edx,4), %bl - movl 24(%esp), %esi - movl 4(%esp), %eax - movl 28(%esp), %ecx - movb %bl, (%eax,%esi) - movl (%ecx,%edx,4), %ecx - shrl $8, %ecx - movb %cl, 1(%eax,%esi) - movl 28(%esp), %ecx - movb 2(%ecx,%edx,4), %cl - movb %cl, 2(%eax,%esi) - movl 28(%esp), %ecx - movb 3(%ecx,%edx,4), %cl - movb %cl, 3(%eax,%esi) - incl %edx - addl $4, %eax - movl %eax, 4(%esp) - movl 32(%esp), %ecx - cmpl %ecx, %eax - jb .L53 - -.L55: - addl $12, %esp - popl %ebx - popl %esi - ret - .align 4,0x90 - - - .size Encode,.-Encode - .data - - .data - -#if defined(__linux__) && defined(__ELF__) -.section .note.GNU-stack,"",%progbits -#endif -