Date: Sat, 1 Mar 1997 20:09:36 -0400 (AST) From: The Hermit Hacker <scrappy@hub.org> To: Amancio Hasty <hasty@rah.star-gate.com> Cc: freebsd-chat@FreeBSD.ORG Subject: Re: RSA 56-bit key challenge Message-ID: <Pine.BSF.3.95.970301200554.16024w-100000@thelab.hub.org> In-Reply-To: <199703012353.PAA01640@rah.star-gate.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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?
<stuff cut out>
#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__)
<stuff cut out>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95.970301200554.16024w-100000>
