Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 30 Apr 2012 19:41:47 +0530
From: Dhiru Kholia <dhiru.kholia@...il.com>
To: john-dev@...ts.openwall.com
Subject: Re: JtR compilation warnings on OS X 10.7.3 with Xcode 4.3.2

On Mon, Apr 30, 2012 at 1:51 AM, Solar Designer <solar@...nwall.com> wrote:
> On Sun, Apr 29, 2012 at 06:08:48PM +0530, Dhiru Kholia wrote:
>> Both programs do 10000000 cycles of SHA1.
>
> What was the input size - was the compression function invoked just once
> per cycle or more than once?

Once per cycle.

for(i = 0; i < 10000000; i++) {
    SHA1_Init(&ctx);
    SHA1_Update(&ctx, message, n);
    SHA1_Final((unsigned char *)sha1hash, &ctx);
}

> Can you repeat this test for SHA-512?

$ ../run/john -format=raw-sha512 -t # before
Benchmarking: Raw SHA-512 [64/64]... DONE
Raw:	1046K c/s real, 1056K c/s virtual

$ ../run/john -format=raw-sha512 -t # after
Benchmarking: Raw SHA-512 [64/64]... DONE
Raw:	1322K c/s real, 1349K c/s virtual

-- 
Cheers,
Dhiru

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.