Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20110824233812.GA25691@openwall.com>
Date: Thu, 25 Aug 2011 03:38:12 +0400
From: Solar Designer <solar@...nwall.com>
To: john-dev@...ts.openwall.com
Subject: 1.7.8-cryptsha256opencl_0

Lukas -

I applied john-1.7.8-cryptsha256opencl_0.diff, made the same two changes
that I had to for 1.7.8-cryptmd5opencl_0.1 (see previous message), built
and ran it.  Here's how it fails:

$ ../run/john -te -fo=CRYPTSHA256OPENCL
Benchmarking: CRYPTSHA256OPENCL [SHA256-based CRYPT]... 
OpenCL Device: GeForce 8800 GTS 512
Error while building program [-11]
BUILD LOG: 
 <program source>:51:29: warning: incompatible pointer types initializing 'unsigned char [64]', expected 'unsigned int *'
        __private uint32_t *data = ctx->buffer;
                                   ^~~~~~~~~~~
<program source>:122:24: warning: pointer types point to integer types with different sign passing 'char *', expected 'unsigned char *'
        insert_to_buffer(ctx, string, partsize);
                              ^~~~~~
<program source>:127:25: warning: pointer types point to integer types with different sign passing 'char *', expected 'unsigned char *'
                insert_to_buffer(ctx, (string + offset), len - offset);
                                      ^~~~~~~~~~~~~~~~~
<program source>:152:31: warning: incompatible pointer types initializing 'unsigned char [64]', expected 'unsigned int *'
        __private uint32_t *blocks = ctx->buffer;
                                     ^~~~~~~~~~~
<program source>:165:26: warning: incompatible pointer types initializing 'unsigned char [64]', expected 'unsigned int *'
        __private uint32_t *w = ctx->buffer;
                                ^~~~~~~~~~~
<program source>:202:25: error: use of undeclared identifier 'SALT_LEN_MAX'
        __private uint8_t salt[SALT_LEN_MAX];
                               ^
<program source>:221:19: warning: pointer types point to integer types with different sign passing 'unsigned char [15]', expected 'char *'
        ctx_update(&ctx, pass, passlength);
                         ^~~~
<program source>:224:23: warning: pointer types point to integer types with different sign passing 'unsigned char [15]', expected 'char *'
        ctx_update(&alt_ctx, pass, passlength);
                             ^~~~
<program source>:226:23: warning: pointer types point to integer types with different sign passing 'unsigned char [15]', expected 'char *'
        ctx_update(&alt_ctx, pass, passlength);
                             ^~~~
<program source>:230:19: warning: incompatible pointer types passing 'unsigned int [8]', expected 'char *'
        ctx_update(&ctx, alt_result, passlength);
                         ^~~~~~~~~~
<program source>:234:21: warning: incompatible pointer types passing 'unsigned int [8]', expected 'char *'
                        ctx_update(&ctx, alt_result, 32);
                                         ^~~~~~~~~~
<program source>:236:21: warning: pointer types point to integer types with different sign passing 'unsigned char [15]', expected 'char *'
                        ctx_update(&ctx, pass, passlength);
                                         ^~~~
<program source>:242:24: warning: pointer types point to integer types with different sign passing 'unsigned char [15]', expected 'char *'
                ctx_update(&alt_ctx, pass, passlength);
                                     ^~~~
<program source>:247:24: warning: incompatible pointer types initializing 'unsigned int [8]', expected 'char *'
        __private char *src = temp_result;
                              ^~~~~~~~~~~
<program source>:267:21: warning: incompatible pointer types passing 'unsigned int [8]', expected 'char *'
                        ctx_update(&ctx, alt_result, 32);
                                         ^~~~~~~~~~
<program source>:276:21: warning: incompatible pointer types passing 'unsigned int [8]', expected 'char *'
                        ctx_update(&ctx, alt_result, 32);
                                         ^~~~~~~~~~

Alexander

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.