RE: [MiNT] M68020 bn_asm

2002-02-22 Thread Max Campos

Howard,
I've been working on porting OpenSSL to the Palm and have most of
it completed; and as such having 68K assembler versions is _extremely_
important.  Otherwise, the implementation might very well be too slow to
be usable on the Palm.

So...keep up the good work!

- Max

On Tue, 19 Feb 2002, Howard Chu wrote:

 From the overwhelming lack of response I guess no one on this list cares
 about Motorola 68k implementations. Just a final note in case anyone is
 listening. The previous file I sent works fine, passes all the tests. I
 noticed that my use of roxl/roxr in the bn_add_words and bn_sub_words
 functions was a poor choice, so this version avoids those instructions.
 
   -- Howard Chu
   Chief Architect, Symas Corp.   Director, Highland Sun
   http://www.symas.com   http://highlandsun.com/hyc
   Symas: Premier OpenSource Development and Support
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED]]On Behalf Of Richard Zidlicky
  Sent: Tuesday, February 19, 2002 9:58 AM
  To: [EMAIL PROTECTED]
  Cc: [EMAIL PROTECTED]
  Subject: Re: [MiNT] M68020 bn_asm
 
 
  On Mon, Feb 18, 2002 at 11:43:56AM -0800, Howard Chu wrote:
   Here is a more thorough assembly implementation of bn_asm for
  Motorola 680x0
   processors. On a 68030 the RSA/DSA test is over 4x faster than
  gcc -O3 code.
   I am releasing this version under the terms of the OpenSSL license.
 
  thanks, I will test it on linux-m68k as soon as my CPU will have
  a few spare cycles.
 
  One thing I have noted, you use the 64 bit variants of mul/div in
  many places. This will probbaly make the code much slower than gcc
  generated code on 68060 CPUs as they do not implemente this insns
  in hardware and need to emulate them in the OS.
 
  Bye
  Richard
 
 

__
OpenSSL Project http://www.openssl.org
Development Mailing List   [EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]



Re: OpenSSL on WinCE

2002-01-11 Thread Max Campos

I'm almost ready to release static libs for Palmhehe..  (sorry,
there's this growing feud here @ work between Palm and PocketPC).

- Max


On Fri, 11 Jan 2002, Devaraj Das wrote:

 Hi folks,
 I am new to this group. I have a question regarding the OpenSSL port to
 WinCE. I came to know from the mail archive that Steven Reddie was
 looking at it. Any more updates on the same?
 If the thing is done, can I have one version?
 Thanks and regards,
 Das.
 
 __
 OpenSSL Project http://www.openssl.org
 Development Mailing List   [EMAIL PROTECTED]
 Automated List Manager   [EMAIL PROTECTED]
 

__
OpenSSL Project http://www.openssl.org
Development Mailing List   [EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]



Test Fail in BN_mod_mul

2001-12-09 Thread Max Campos

Hi All,
I'm working on porting OpenSSL to the PalmOS platform (the SSLeay port 
just doesn't work for me for a number of reasons).  Anyway, i've gotten 
many pieces of crypto to test OK, and all of bignum except for the 
BN_mod_mul test, which fails only after quite a number of iterations:

This is the line that crashes - line 401 of bn_asm.c (bn_sub_words):
r[1]=(t1-t2-c)BN_MASK2;

I get essentially an error that says that memory has been accessed that 
hasn't been allocated or is out of bounds.

Here's the variable dump:

a: 0x00036E02
b: 0x0003DC2
c: 0
n: 15
r: 0x00036FC2
t1: 354005811
t2: 14090239

Also: i=55 in line 748 (if (!BN_mod_mul(e,a,b,c,ctx))) of bntest.c when it 
crashes.

If you want, I can provide variable dumps for the other levels in the stack 
as well.

All of the rest of the Bignum tests pass (including those past the mod_mul 
test), and i'm at a bit of a loss as to why this one fails.

Any ideas?

- Max

__
OpenSSL Project http://www.openssl.org
Development Mailing List   [EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]