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]