| 
  | 
Message-ID: <A9936A637411473694BECD175A57AA7D@ath64dual>
Date: Sat, 14 May 2011 22:50:22 -0500
From: "JFoug" <jfoug@....net>
To: <john-dev@...ts.openwall.com>
Subject: Re: FW: something wrong with the HDAA_fmt.c programming for 64-bit Solaris
Please check out md5_gen(21) (jumbo-3-RC1, but also may be there in Jumbo-2-RC1)), and see if it works on teh 64 bit solaris, and if it is faster (I think it 'should' be).  If it is 64 bit x86 Solaris, then I believe it is one of the formats that are commented out (they fail self tests, and I have been commented out.  However, for 32 bit sparc (and other BE systems), it should work fine.  NOTE, I have not built for sparc-64, thus have not tested that.
The md5_gen will use the MD5_X2 code from md5_std for the first crypt.  the HDAA_fmt.c uses OpenSSL MD5.  THe md5_std code is faster, in most cases.  The last crypt is done using the OpenSSL, since it is over 54 bytes long.
Jim.
  ----- Original Message ----- 
  From: Robert Harris 
  To: romain.raboin@...il.com 
  Cc: john-dev@...ts.openwall.com 
  Sent: Saturday, May 14, 2011 10:00 PM
  Subject: [john-dev] FW: something wrong with the HDAA_fmt.c programming for 64-bit Solaris
  Mr.  Raboin,
   
  Can you confirm this problem?   Do you have time to correct this? 
   
  I can help you test it, if you would like.
   
  -Robert B. Harris from VA
   
  From: Robert Harris [mailto:rs904c@...scape.net] 
  Sent: Saturday, May 14, 2011 5:10 PM
  To: 'john-dev@...ts.openwall.com'
  Subject: something wrong with the HDAA_fmt.c programming for 64-bit Solaris
   
  John Dev,
   
  I think there is something wrong with  HDAA_fmt.c for 64-bit Solaris.  I don't get this problem when I compile JtR 32-bit on Solaris.
   
  This format is preventing me from compiling the 64-bit version on Solaris x86, (make clean solaris-x86-64-gcc)
   
  As an experiment, I removed this format out of the Makefile and john.c and the 64-bit version compiled for me just fine.
   
  Here is the error lines, when I do make clean solaris-x86-64-gcc:
   
  gcc -c -Wall -O2 -fomit-frame-pointer -I/usr/local/include  -m64 -DHAVE_CRYPT -funroll-loops HDAA_fmt.c
  HDAA_fmt.c:16:22: mmintrin.h: No such file or directory
  HDAA_fmt.c:100: error: syntax error before "conv"
  HDAA_fmt.c:100: warning: type defaults to `int' in declaration of `conv'
  HDAA_fmt.c:100: warning: data definition has no type or storage class
  HDAA_fmt.c:152: error: syntax error before "src"
  HDAA_fmt.c: In function `bin2ascii':
  HDAA_fmt.c:157: error: `__m64' undeclared (first use in this function)
  HDAA_fmt.c:157: error: (Each undeclared identifier is reported only once
  HDAA_fmt.c:157: error: for each function it appears in.)
  HDAA_fmt.c:157: error: syntax error before "l"
  HDAA_fmt.c:164: error: `t' undeclared (first use in this function)
  HDAA_fmt.c:164: warning: implicit declaration of function `_mm_set1_pi32'
  HDAA_fmt.c:167: error: `u' undeclared (first use in this function)
  HDAA_fmt.c:167: warning: implicit declaration of function `_mm_and_si64'
  HDAA_fmt.c:167: warning: implicit declaration of function `_mm_srli_si64'
  HDAA_fmt.c:167: error: `src' undeclared (first use in this function)
  HDAA_fmt.c:168: error: `v' undeclared (first use in this function)
  HDAA_fmt.c:171: error: `l' undeclared (first use in this function)
  HDAA_fmt.c:171: warning: implicit declaration of function `_mm_unpacklo_pi8'
  HDAA_fmt.c:172: error: `r' undeclared (first use in this function)
  HDAA_fmt.c:172: warning: implicit declaration of function `_mm_unpackhi_pi8'
  HDAA_fmt.c:175: warning: implicit declaration of function `_mm_add_pi32'
  HDAA_fmt.c:187: warning: implicit declaration of function `_mm_mullo_pi16'
  HDAA_fmt.c: In function `hdaa_crypt_all':
  HDAA_fmt.c:237: error: `__m64' undeclared (first use in this function)
  HDAA_fmt.c:237: error: syntax error before "h1"
  HDAA_fmt.c:252: error: `h1' undeclared (first use in this function)
  HDAA_fmt.c: In function `hdaa_salt':
  HDAA_fmt.c:295: error: `__m64' undeclared (first use in this function)
  HDAA_fmt.c:295: error: syntax error before "h2"
  HDAA_fmt.c:317: error: `h2' undeclared (first use in this function)
  *** Error code 1
  make: Fatal error: Command failed for target `HDAA_fmt.o'
  Current working directory /export/home/rharris/john-1.7.7-jumbo-1-Solaris32x86-with source/src
  *** Error code 1
   
   
   
   
  -Robert B. Harris from VA
Content of type "text/html" skipped
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.