|
Message-ID: <20080716132826.GA9844@openwall.com> Date: Wed, 16 Jul 2008 17:28:26 +0400 From: Solar Designer <solar@...nwall.com> To: john-users@...ts.openwall.com Subject: testing on little/big-endian and 32/64-bit (was: raw-md5 module improvement) Bucsay, Erik - On Tue, Jul 15, 2008 at 11:53:28PM -0400, Erik Winkler wrote: > >http://rycon.hu/tools/john-1.7.3-rawMD5_fast-2.diff > > Ran this 1.7.3 with the rawMD5 patch on powerpc and I get the > following error now: > > Benchmarking: Raw MD5 [raw-md5]... FAILED (cmp_exact) By the way, a convenient way to test on all four common combinations of endianness (little vs. big) and word size (32- vs. 64-bit) without having access to multiple machines at once is to use recent versions of Mac OS X and Xcode, which includes support for cross-compilation and for running binaries built for the other architecture (PPC vs. Intel) and word size. At least on my Core 2 Duo MacBook with Mac OS X 10.5 and Xcode 3.0, I am able to compile for all four combinations (by adding the proper "-arch ..." options to CFLAGS/ASFLAGS/LDFLAGS) and run all of the resulting binaries (with transparent emulation involved when needed). Also, "make macosx-universal" produces a three-arch binary, and I am able to choose which of the embedded binaries to run with "arch -... ./john", e.g. "arch -ppc ./john" will run the 32-bit PowerPC binary embedded in the universal binary. (There's some known breakage of macosx-x86-* and macosx-universal targets in the 1.7.3 "development" release; I will repair this in 1.7.3.1 shortly.) Alexander -- To unsubscribe, e-mail john-users-unsubscribe@...ts.openwall.com and reply to the automated confirmation request that will be sent to you.
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.