Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Tue, 13 Mar 2012 11:03:45 +0100
From: Samuele Giovanni Tonon <samu@...uxasylum.net>
To: john-dev@...ts.openwall.com
Subject: Enginering OpenCL formats

hello,
i've found some free time and i've looked to magnum patches to serialize
OpenCL formats and make them more readable and easy to use.

i've changed algorithm and format name on all formats so far, next patch
should follow jtr guidelines.

i fully support the OpenCL config option i saw in ssha opencl, i will
add it on all the other supports and as well document it on the docs

i'm trying to move find_best_kpc to common-opencl, thanks to magnum
advice it's a matter of dividing crypt_all in two parts

void crypt_all(){
// enqueue object in the kernel and run it

// read back partial hashes
}

by dividing crypt all in these two functions we should then be able to
call them inside find_best_kpc and make it working for every opencl format .

however i'm stuck on how to pass those two function
and release_clobj and create_clobj, i really miss what is the best
way to do that: create a struct with a pointer to those functions
and pass that struct as argumento to find_best_kpc ?
Any other solution ?


Cheers
Samuele

Powered by blists - more mailing lists

Your e-mail address:

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