Re: GMP vs BigNum

2005-08-10 Thread Jim Schneider
I suspect the reasons are political and legal, rather than practical. The first version of GMP was released under the full GPL (the Free Software Foundation's General Public License), which is not compatible with the license for SSLeay (the project that evolved into OpenSSL). The first version

Re[2]: GMP vs BigNum

2005-08-10 Thread rz1a
Hello Jack, Wednesday, August 10, 2005, 8:29:26 PM, you wrote: JL> OpenSSL does actually support GNU MP, as an engine, which means it JL> can be used if available, and if not, OpenSSL still works fine. I do have GMP v4.1.4 ported, how to tell OpenSSL 0.9.8 to use it? Tony. _

Re: GMP vs BigNum

2005-08-10 Thread Jack Lloyd
I am not an OpenSSL developer, but I think I can safely comment on this based on my own experience. First, GNU MP is another dependency, and last I checked GNU MP does not run very well or at all on a number of important platforms. And of course there is always the NIY syndrome at work. OpenSSL do

GMP vs BigNum

2005-08-10 Thread rz1a
Hello openssl-dev, Did anyone attepmpt a comparison of the speed in the GMP vs BN? Maintainer of GMP (Torbjorn Granlund) says that his tests show 2~3 times better speed with GMP. Can anyone validate this? If this is indeed the case - why OpenSSL does not use GMP? -- Best regards, Tony

Re: mk1mf.pl doesn't generate makefile for Windows CE

2005-08-10 Thread Satoshi Nakamura
anks in advance. A. This problem occurs when _MSC_VER=1200. Actually there is no major platform based on WCE4xx/MIPS. So it can be '#if defined(_MSC_VER) && defined(_MIPS_) && _MSC_VER==1200' I could compile openssl-0.9.8-stable-SNAP-20050810 under these platforms: HPC

Re: Engine init in HMAC_Init_ex

2005-08-10 Thread Dr. Stephen Henson
On Wed, Aug 10, 2005, Michal Ludvig wrote: > (resending as I wasn't subscribed) > > Hi all, > > I'm working on an engine for SHA-class MDs and am having problem with > its usage from HMAC_Init_ex(). > > In the engine I need to malloc() a buffer in _init() method and free() > it in _final(). >

Difference between RSA_sign and RSA_private_encrypt

2005-08-10 Thread Bhupendra K Joshi
Hello,   I have used RSA_private_encrypt instead of using RSA_sign and RSA_public_decrypt instead of using RSA_verify.   For verifying I have compared the hash to complete the verification.   Can there be a problem in this?   What is the difference between RSA_private_encrypt and RSA_sign?

Engine init in HMAC_Init_ex

2005-08-10 Thread Michal Ludvig
(resending as I wasn't subscribed) Hi all, I'm working on an engine for SHA-class MDs and am having problem with its usage from HMAC_Init_ex(). In the engine I need to malloc() a buffer in _init() method and free() it in _final(). However HMAC_Init_ex() can be called with 'evp_md' and 'key' arg