|
Message-ID: <20130728185658.GC2174@openwall.com> Date: Sun, 28 Jul 2013 22:56:58 +0400 From: Solar Designer <solar@...nwall.com> To: john-dev@...ts.openwall.com Subject: Re: Parallella: bcrypt Hi Katja, On Sun, Jul 28, 2013 at 02:30:12AM +0200, Katja Malvoni wrote: > I'm on 1136 c/s now, code is committed. Cool. > I'm not yet preloading whole P arrays (P[0] and P[17] are preloaded) - I > wasn't able to implement whole loop in assembly (I'm having problems with > implementing part after BF2_2ROUND, for one instance it works but when I > use the same code for two instances it fails on get_hash[0](0)). Inline > assembly allows only 30 operands so I have to preload arrays in assembly. > I'll continue with this tomorrow. I think it's time for you to move to using a separate .S file instead of inline assembly. See x86.S for an example of how this is done for bcrypt. However, if you choose to continue with inline assembly then I think you'll find C preprocessor's ## operator handy, to enclose variable names, indices, etc. in double-quotes. Alexander
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.