Date: Mon, 20 May 2013 19:21:16 +0200 From: Katja Malvoni <kmalvoni@...il.com> To: john-dev@...ts.openwall.com Subject: Re: Parallella: bcrypt On Mon, May 20, 2013 at 7:12 PM, Solar Designer <solar@...nwall.com> wrote: > Katja - > > On Mon, May 20, 2013 at 08:57:52PM +0400, Solar Designer wrote: > > On Mon, May 20, 2013 at 06:45:26PM +0200, Katja Malvoni wrote: > > > I tried to reuse the existing Openwall bcrypt implementation since > > > parallella supports C. I first tried the simplest approach, load whole > > > bcrypt implementation onto the core and execute. The problem is: > > > core_test.elf section `.text' will not fit in region `INTERNAL_RAM' > > > region `INTERNAL_RAM' overflowed by 6528 bytes > > > > Note that you do not have to put the entire bcrypt onto Epiphany. > [...] > > (implementing just the main loop instead of the entire bcrypt on > > Epiphany) should reduce code size to put on Epiphany by a factor of 3. > > A possibly simpler and possibly better option, especially given the > approach you've taken so far, may be to put a size-optimized > implementation of entire bcrypt on Epiphany. Here is a revision of > crypt_blowfish that we made for musl libc: > > http://git.musl-libc.org/cgit/musl/tree/src/crypt/crypt_blowfish.c > I tried compiling code with -O1 option a few minutes before your first replay, it fits the internal ram. I tried to test it, but I'm currently struggling with host/Epiphany communication. Content of type "text/html" skipped
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.