Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Fri, 17 Jul 2015 18:29:46 +0200
From: magnum <>
Subject: Re: PHC: Lyra2 on GPU

On 2015-07-17 15:36, Agnieszka Bielec wrote:
> 2015-07-16 15:43 GMT+02:00 magnum <>:
>> On 2015-07-16 15:27, Frank Dittrich wrote:
>>> On 07/16/2015 03:12 PM, magnum wrote:
>>>> It doesn't pass a pointer to a variable that is 0, but instead it passes
>>>> a NULL pointer. I guess your problem might be that this logic is
>>>> missing. It would be easier if the OpenCL calls could just use a 0 value
>>>> instead but they do not.
>>> Another guess: Agnieszka didn't rebase her repository for a long time
>>> (several months).
>>> So any bleeding-jumbo changes made in the last months aren't in her
>>> repository.
>> That might be a problem, but I can't recall any specific change that should
>> matter. Anyway I'd recommend rebasing on latest upstream.
> I rebased and still doesn't work for yescrypt, still create_clobj is
> called with gws=0

I tried building your code but it's broken for OSX:

In file included from Lyra2_fmt_plug.c:21:0:
Lyra2.h:75:262: error: unknown type name 'pthread_barrier_t'
  int LYRA2_LM_(void *K, unsigned int kLen, const void *pwd, unsigned 
int pwdlen, const void *salt, unsigned int saltlen, unsigned int 
timeCost, unsigned int nRows, unsigned int nCols, unsigned int nThreads, 
int threadNumber,struct lyra2_lm_allocation *allocated,pthread_barrier_t 
Lyra2.h:77:225: error: unknown type name 'pthread_barrier_t'
  int LYRA2_LM(void *out, size_t outlen, const void *in, size_t inlen, 
const void *salt, size_t saltlen, unsigned int t_cost, unsigned int 
m_cost, unsigned int nThreads, int threadNumber,struct 
lyra2_lm_allocation *allocated, pthread_barrier_t *barrier);
make[1]: *** [Lyra2_fmt_plug.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [default] Error 2


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.