|
Message-ID: <55473EEC.3020207@mailbox.org> 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
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.