Date: Tue, 30 Jul 2013 02:05:06 +0200 From: Katja Malvoni <kmalvoni@...il.com> To: john-dev@...ts.openwall.com Subject: Re: Parallella: bcrypt On Tue, Jul 30, 2013 at 1:56 AM, Solar Designer <solar@...nwall.com> wrote: > I think you've made the task slightly more complicated for yourself (and > for future contributors to this code, if any) by keeping this source > file in pure asm (with macros, though) rather than using the C > preprocessor along with asm (as I had suggested). Note that if you > change the filename from parallella_bf_encrypt2.s to > parallella_bf_encrypt2.S (with uppercase "S") you'd be able to use cpp > macros, including e.g. to #define human-friendly names for registers > (and #undef and re- #define them when you reuse the registers). "gcc" > and I expect "e-gcc" too automatically invokes the C preprocessor on .S > files and then passes the preprocessor output to the assembler. > Oh, I started with C preprocessor with asm but I didn't know that uppercase S will solve all the errors I was getting. So after few failed attempts I concluded that it'll take me less to write whole function in assembly. Katja 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.