Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Fri, 5 Jul 2013 03:42:39 +0200
From: Katja Malvoni <kmalvoni@...il.com>
To: john-dev@...ts.openwall.com
Subject: Re: Parallella: bcrypt

Hello,

I fixed bug in Epiphany bcrypt implementation and with Lukas's help, it is
integrated in JtR - https://github.com/kmalvoni/JohnTheRipper/tree/master
But there is still one problem. It passes test when using usleep(20000) for
waiting but it doesn't pass it when busy wait is used. Busy wait solution
works when there is only one load to epiphany. If the code is in a loop
than results aren't correct. In case of JtR, test fails on get_hash[0](1).
Attached code is bcrypt implementation outside JtR. It has the same
problem. When there is only one test vector it works. When it's in a loop
(like in attached code) it always returns correct output for first test
vectors. It seems like others are never sent to device. But when while loop
is substituted with usleep(20000) everything works fine.
Connected to that, Yaniv, are e_read() and e_write() synchronous?
And what happens if parameter in e_load_group() is false? How to start
execution on eCore, using e_start()?

Thanks,

Katja

Content of type "text/html" skipped

View attachment "e_bcrypt.c" of type "text/x-csrc" (27428 bytes)

View attachment "host.c" of type "text/x-csrc" (7006 bytes)

Powered by blists - more mailing lists

Your e-mail address:

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