From owner-freebsd-chat Sat Mar 1 16:09:56 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id QAA05954 for chat-outgoing; Sat, 1 Mar 1997 16:09:56 -0800 (PST) Received: from thelab.hub.org (hal-ns3-32.netcom.ca [207.181.94.160]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id QAA05942 for ; Sat, 1 Mar 1997 16:09:47 -0800 (PST) Received: from thelab.hub.org (LOCALHOST [127.0.0.1]) by thelab.hub.org (8.8.4/8.8.2) with SMTP id UAA08869; Sat, 1 Mar 1997 20:09:36 -0400 (AST) Date: Sat, 1 Mar 1997 20:09:36 -0400 (AST) From: The Hermit Hacker To: Amancio Hasty cc: freebsd-chat@FreeBSD.ORG Subject: Re: RSA 56-bit key challenge In-Reply-To: <199703012353.PAA01640@rah.star-gate.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-chat@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Sat, 1 Mar 1997, Amancio Hasty wrote: > > Thats a good question ! > > I would try it out. > After asking, I popped over to the http site for genx.com and grabbed the source code...changed -m486 to -mpentium inside of the Makefile and recompiled/tested it...came out about 10k/sec slower... There *is* a define for ASM_I486 though, which is used inside of client.h, and does as follows. Anyone with a good knowledge of Pentiums out there this weekend that can suggest a Pentium version for this? #if defined(ASM_I486) && defined(__GNUC__) static __inline__ RC5_WORD ROTL(RC5_WORD x, RC5_WORD y) { register RC5_WORD res; __asm__ __volatile( "roll %%cl,%0\n\t" :"=g" (res) :"0" (x), "cx" (y) :"cx"); return res; } static __inline__ RC5_WORD ROTL3(RC5_WORD x) { register RC5_WORD res; __asm__ __volatile( "roll $3,%0\n\t" :"=g" (res) :"0" (x)); return res; } #elif defined(ASM_SPARC) && defined(__GNUC__)