Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sun, 27 May 2012 06:41:45 -0700 (PDT)
From: deepika dutta <>
To: "" <>
Subject: Re: mschapv2 conversion

I have attached freshly created patch and tested it on my system. I was able to make it work. This is how I created and tested patch.

Original jtr directory: john-1.7.9-jumbo-5.orig/
Modified jtr directory: john-1.7.9-jumbo-5/

john-1.7.9-jumbo5.diff patch creation:
TZ=UTC diff -urpN john-1.7.9-jumbo-5.orig/ john-1.7.9-jumbo-5 > john-1.7.9-jumbo5.diff

Testing the patch
cd john-1.7.9-jumbo-5.orig/
patch -p1 -Z < ../john-1.7.9-jumbo5.diff


 From: magnum <>
Sent: Sunday, May 27, 2012 4:29 PM
Subject: Re: [john-dev] mschapv2 conversion
On 05/27/2012 12:11 PM, deepika dutta wrote:
> Hi,
> I don't know why my earlier mail to john-dev is not visible on the mailing list, so I am resending the email along with updated patch.
>> I have completed the bitsliced conversion for mschap. I tested using the samples provided in mschapv2_fmt_plug.c and everything is working fine. I have attached >the patch, I hope so I created the patch correctly. I have also attached appropriate source files.

Your patch does not apply cleanly to the git tree nor to a pristine
Jumbo-5 (or is it just me?). I tried using the separate files instead
but it fails building:

DES_bs_b.c: In function ‘DES_bs_crypt_one’:
DES_bs_b.c:1576:2: warning: implicit declaration of function
‘DES_bs_finalize_keys’ [-Wimplicit-function-declaration]
DES_bs_b.c:1586:19: error: incompatible types when assigning to type
‘DES_bs_vector’ from type ‘long int *’
DES_bs_b.c:1589:3: warning: implicit declaration of function
‘for_each_depth’ [-Wimplicit-function-declaration]
DES_bs_b.c:1590:3: error: expected ‘;’ before ‘s1’
DES_bs_b.c:1594:3: error: expected ‘;’ before ‘s2’
DES_bs_b.c:1598:3: error: expected ‘;’ before ‘s3’
DES_bs_b.c:1602:3: error: expected ‘;’ before ‘s4’
DES_bs_b.c:1606:3: error: expected ‘;’ before ‘s5’
DES_bs_b.c:1610:3: error: expected ‘;’ before ‘s6’
DES_bs_b.c:1614:3: error: expected ‘;’ before ‘s7’
DES_bs_b.c:1618:3: error: expected ‘;’ before ‘s8’
DES_bs_b.c:1623:3: error: expected ‘;’ before ‘s1’
DES_bs_b.c:1627:3: error: expected ‘;’ before ‘s2’
DES_bs_b.c:1631:3: error: expected ‘;’ before ‘s3’
DES_bs_b.c:1635:3: error: expected ‘;’ before ‘s4’
DES_bs_b.c:1639:3: error: expected ‘;’ before ‘s5’
DES_bs_b.c:1643:3: error: expected ‘;’ before ‘s6’
DES_bs_b.c:1647:3: error: expected ‘;’ before ‘s7’
DES_bs_b.c:1651:3: error: expected ‘;’ before ‘s8’
make[1]: *** [DES_bs_b.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [linux-x86-64-gpu] Error 2


[ CONTENT OF TYPE application/octet-stream SKIPPED ]

Powered by blists - more mailing lists

Your e-mail address:

Powered by Openwall GNU/*/Linux - Powered by OpenVZ