|
Message-ID: <CABob6ir=1WDXGJhcBSoH4cKQ39zjUUzhCaRFHddO4MUm99-D-g@mail.gmail.com> Date: Fri, 28 Jun 2013 20:37:33 +0200 From: Lukas Odzioba <lukas.odzioba@...il.com> To: john-dev@...ts.openwall.com Subject: Re: Parallella: bcrypt 2013/6/28 Katja Malvoni <kmalvoni@...il.com>: > Can you please give me some tips on how to start integration? 1) I assume that we will have to use some external libs to use your code (am I right?). If so you need to create separate makefile target for it. 2) Second part is to create format file (with _fmt.c extension) - you can use existing bcrypt format (BF_fmt.c) and modify it to your needs. Documentation of fomat iterface (fmt_main structrue) is in formats.h/c crypt_all() is the function where you should compute bcrypt on parallela. Format label variable should be something like "bcrypt-parallela", you will be able to use it to "test" your format: ./john -test -format=bcrypt-parallela 3) Add to john.c reference with fmt_main struct (extern decraration + john_register one) inside proper ifdef like we do for OpenCL and CUDA. If you have some more questions feel free to ask, Lukas
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.