|
Message-ID: <4F5B959C.2030408@gmail.com> Date: Sat, 10 Mar 2012 14:55:40 -0300 From: Claudio André <claudioandre.br@...il.com> To: john-dev@...ts.openwall.com Subject: Re: Fwd: Re: [john-users] Help on SHA-512 Ok, i "git updated" few days ago, sorry. I suppose the makefile changed recently. Now i did: git clone git://github.com/magnumripper/magnum-jumbo jumbo-unstable Do the necessary changes. make clean linux-x86-64-opencl ../run/john --test=1 --format=cryptsha512-opencl And git diff to send. Sorry. PS: I haven't found exactly what git commands you recommend to send a path. Em 10-03-2012 14:23, magnum escreveu: > I still can't use your patch. First, it rejected on Makefile and I had > to resolve that manually. Then I commented out the #pragma and the > #include, and put the effective contents of the header file in the .cl > file. Still, the build bails out with a screenful of errors: > > opencl_cryptsha512_fmt.c:33:1: error: unknown type name > ‘crypt_sha512_password’ > opencl_cryptsha512_fmt.c:34:1: error: unknown type name ‘crypt_sha512_hash’ > opencl_cryptsha512_fmt.c:35:1: error: unknown type name ‘crypt_sha512_salt’ > opencl_cryptsha512_fmt.c:45:36: error: ‘KEYS_PER_CRYPT’ undeclared here > (not in a function) > opencl_cryptsha512_fmt.c: In function ‘create_clobj’: > opencl_cryptsha512_fmt.c:60:20: error: ‘crypt_sha512_password’ > undeclared (first use in this function) > opencl_cryptsha512_fmt.c:60:20: note: each undeclared identifier is > reported only once for each function it appears in > opencl_cryptsha512_fmt.c:63:41: error: expected expression before ‘)’ token > opencl_cryptsha512_fmt.c:70:20: error: ‘crypt_sha512_hash’ undeclared > (first use in this function) > opencl_cryptsha512_fmt.c:73:38: error: expected expression before ‘)’ token > opencl_cryptsha512_fmt.c:80:20: error: ‘crypt_sha512_salt’ undeclared > (first use in this function) > opencl_cryptsha512_fmt.c:100:14: error: request for member ‘saltlen’ in > something not a structure or union > opencl_cryptsha512_fmt.c:101:14: error: request for member ‘rounds’ in > something not a structure or union > opencl_cryptsha512_fmt.c: In function ‘set_key’: > opencl_cryptsha512_fmt.c:132:21: error: request for member ‘length’ in > something not a structure or union > opencl_cryptsha512_fmt.c:133:28: error: request for member ‘v’ in > something not a structure or union > opencl_cryptsha512_fmt.c: In function ‘get_key’: > opencl_cryptsha512_fmt.c:137:21: error: ‘PLAINTEXT_LENGTH’ undeclared > (first use in this function) > opencl_cryptsha512_fmt.c:138:33: error: request for member ‘v’ in > something not a structure or union > opencl_cryptsha512_fmt.c:139:25: error: request for member ‘length’ in > something not a structure or union > opencl_cryptsha512_fmt.c:137:17: warning: unused variable ‘ret’ > [-Wunused-variable] > opencl_cryptsha512_fmt.c: In function ‘find_best_workgroup’: > opencl_cryptsha512_fmt.c:168:21: error: ‘crypt_sha512_salt’ undeclared > (first use in this function) > opencl_cryptsha512_fmt.c:170:21: error: ‘crypt_sha512_password’ > undeclared (first use in this function) > opencl_cryptsha512_fmt.c: In function ‘find_best_kpc’: > opencl_cryptsha512_fmt.c:226:25: error: ‘crypt_sha512_salt’ undeclared > (first use in this function) > opencl_cryptsha512_fmt.c:228:25: error: ‘crypt_sha512_password’ > undeclared (first use in this function) > opencl_cryptsha512_fmt.c: In function ‘set_salt’: > opencl_cryptsha512_fmt.c:352:14: error: request for member ‘rounds’ in > something not a structure or union > opencl_cryptsha512_fmt.c:352:24: error: ‘ROUNDS_DEFAULT’ undeclared > (first use in this function) > opencl_cryptsha512_fmt.c:364:22: error: request for member ‘rounds’ in > something not a structure or union > opencl_cryptsha512_fmt.c:365:21: warning: implicit declaration of > function ‘MAX’ [-Wimplicit-function-declaration] > opencl_cryptsha512_fmt.c:365:25: error: ‘ROUNDS_MIN’ undeclared (first > use in this function) > opencl_cryptsha512_fmt.c:365:21: warning: implicit declaration of > function ‘MIN’ [-Wimplicit-function-declaration] > opencl_cryptsha512_fmt.c:365:50: error: ‘ROUNDS_MAX’ undeclared (first > use in this function) > opencl_cryptsha512_fmt.c:369:21: error: request for member ‘salt’ in > something not a structure or union > opencl_cryptsha512_fmt.c:370:14: error: request for member ‘saltlen’ in > something not a structure or union > opencl_cryptsha512_fmt.c:370:50: error: request for member ‘salt’ in > something not a structure or union > opencl_cryptsha512_fmt.c: In function ‘cmp_all’: > opencl_cryptsha512_fmt.c:437:31: error: request for member ‘v’ in > something not a structure or union > opencl_cryptsha512_fmt.c: In function ‘cmp_one’: > opencl_cryptsha512_fmt.c:447:38: error: request for member ‘v’ in > something not a structure or union > opencl_cryptsha512_fmt.c: In function ‘crypt_all’: > opencl_cryptsha512_fmt.c:460:5: error: ‘crypt_sha512_salt’ undeclared > (first use in this function) > opencl_cryptsha512_fmt.c:463:5: error: ‘crypt_sha512_password’ > undeclared (first use in this function) > opencl_cryptsha512_fmt.c:473:5: error: ‘crypt_sha512_hash’ undeclared > (first use in this function) > opencl_cryptsha512_fmt.c: In function ‘get_hash_0’: > opencl_cryptsha512_fmt.c:502:38: error: request for member ‘v’ in > something not a structure or union > opencl_cryptsha512_fmt.c:505:29: error: request for member ‘v’ in > something not a structure or union > opencl_cryptsha512_fmt.c: In function ‘get_hash_1’: > opencl_cryptsha512_fmt.c:506:60: error: request for member ‘v’ in > something not a structure or union > opencl_cryptsha512_fmt.c: In function ‘get_hash_2’: > opencl_cryptsha512_fmt.c:507:60: error: request for member ‘v’ in > something not a structure or union > opencl_cryptsha512_fmt.c: In function ‘get_hash_3’: > opencl_cryptsha512_fmt.c:508:60: error: request for member ‘v’ in > something not a structure or union > opencl_cryptsha512_fmt.c: In function ‘get_hash_4’: > opencl_cryptsha512_fmt.c:509:60: error: request for member ‘v’ in > something not a structure or union > opencl_cryptsha512_fmt.c: In function ‘get_hash_5’: > opencl_cryptsha512_fmt.c:510:60: error: request for member ‘v’ in > something not a structure or union > opencl_cryptsha512_fmt.c: In function ‘get_hash_6’: > opencl_cryptsha512_fmt.c:511:60: error: request for member ‘v’ in > something not a structure or union > opencl_cryptsha512_fmt.c: At top level: > opencl_cryptsha512_fmt.c:521:9: error: ‘PLAINTEXT_LENGTH’ undeclared > here (not in a function) > opencl_cryptsha512_fmt.c:523:9: error: ‘SALT_SIZE’ undeclared here (not > in a function) > make[1]: *** [opencl_cryptsha512_fmt.o] Error 1 > > Did you leave something out? Does this compile cleanly on your gear? > > magnum > Content of type "text/html" skipped View attachment "diff" of type "text/plain" (35907 bytes)
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.