Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 04 May 2015 11:42:04 +0200
From: Frank Dittrich <frank.dittrich@...lbox.org>
To: john-dev@...ts.openwall.com
Subject: Re: Adding OpenMP support to SunMD5

On 05/04/2015 11:26 AM, Lei Zhang wrote:
> I tried parallelizing a inner loop in the hotspot loop of SunMD5, like this:
> 
> for (round = 0; round < maxrounds; round++) {
> ...
> 	#pragma omp parallel for ...
> 	for (idx = 0; idx < count; ++idx)
> 	{ ... }
> ...
> }

May be I misunderstand what you are trying to do, but when implementing
OpemMP, you shouldn't try to parallelize the calculation of a single
hash for a given key.

May be you have a look at commit
69deec0490ee3b793545617b72f53d23680dfe4b where magnum implemented OPenMP
for ssha512.

Frank

Powered by blists - more mailing lists

Your e-mail address:

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