Wei and All,

We are having a couple of problems with Crypto++ 5.0 RSA functionality
on Mac OS X 10.2.4.  We were running the validation tests (cryptest.exe
v), which all pass, except the OS provided blocking random number
generator, which I mentioned in a previous post
(http://www.escribe.com/software/crypto/m2504.html).

Unfortunately, when we run the RSA key generation tests (cryptest g) and
the RSA Encrypt/Decrypt test (cryptest r), we run into some input
problems.  One has to hit enter twice after inputting text on a couple
of cases (on cryptest r, this is true when prompted for random seed and
for message).  This may be an issue of buffer flushing; we found that
the message was not actually getting entered until we did a ws(cin) in
test.cpp ~line 188 after cout << "Message: ";.

Worse, the RSA Encrypt/Decrypt test does not complete.  After feeding it
the pub/priv key files, random seed, and message, it throws an exception
whose output is, "std::exception caught: attempt to create string
with null pointer" -- after a gdb trace, we think this is occurring in
BufferedTransformation::ChannelPut2.

I did the same thing on my Linux 2.4 system, gcc 3.2 (Red Hat 8) and had
no problems.  My system specs are below.

Does anyone have an idea what is going on here?

-Jason

[EMAIL PROTECTED]: jase> gcc -v
Reading specs from /usr/libexec/gcc/darwin/ppc/3.1/specs
Thread model: posix
Apple Computer, Inc. GCC version 1175, based on gcc version 3.1 20020420
(prerelease)

[EMAIL PROTECTED]: jase> uname -a
Darwin padme.local. 6.4 Darwin Kernel Version 6.4: Wed Jan 29 18:50:42
PST 2003; root:xnu/xnu-344.26.obj~1/RELEASE_PPC  Power Macintosh powerpc



--
/******************************************************************************

                        Jason Arnold / Sandia National Laboratories
                        jdarnol @ sandia . gov / (925) 294-3693

******************************************************************************/



Reply via email to