Re: openssl on arm

2006-02-20 Thread sun yingming
thank you for your advice. I do have established my cross-compiling toolchain: arm-linux-gcc(sorry i forget the version num.) Now I want to Re-compile the OpenSSL with it.I don't know exactly how to do this.Should i modify the equation: CC=gcc to CC=arm-linux-gcc? just that simple?It seems that

RE: multi-thread support

2006-02-20 Thread David Schwartz
> I just wanted to verify that, as of OpenSSL 0.9.8a, any OpenSSL data > facility that utilizes "STACK_OF" as a container for different types > of objects, the routines that reference these "stacks" do not support > multiple threads accessing the same "stack". Is this the case? I > didn't see any

Different skey size returned by i2d_RSAPrivateKey

2006-02-20 Thread Alpt
Hi there, I want to pack a RSA priv key and this is what I'm doing: ... rsa=RSA_generate_key(1024, RSA_F4, NULL, NULL); len=i2d_RSAPrivateKey(rsa, priv); ... Why isn't `len' always the same? Is it normal? If yes, what is its maximum value for a key of 1024 bits? Is it the same for the public k

Re: IPR Infringement Lawsuites

2006-02-20 Thread Richard Levitte - VMS Whacker
In message <[EMAIL PROTECTED]> on Mon, 20 Feb 2006 20:26:22 +0100, "Roger Boden" <[EMAIL PROTECTED]> said: roger_no_spam> Are there any known IPR infringement lawsuits as result roger_no_spam> of using or including openssl in a product? None that I know of. And honestly, if there had been a law

IPR Infringement Lawsuites

2006-02-20 Thread Roger Boden
Hello, Are there any known IPR infringement lawsuits as result of using or including openssl in a product? Regards Roger _ Chatt: Träffa nya nätkompisar på Habbo Hotel http://habbohotel.msn.se/habbo/sv/channelizer

Patent Infringement Safe Configuration of Openssl

2006-02-20 Thread Roger Boden
Hello, I am currently looking into what configuration of openssl that would be patent infringement safe world wide. This is what come up with so far. IDEA should be left out, Ascom holds a patent for this algorithm. RC5 should be left out. RSA security holds a patent for this algorithm MD2, M

Re: PKCS12 creation

2006-02-20 Thread Dr. Stephen Henson
On Mon, Feb 20, 2006, Norbert Lakatos wrote: > Hi all! > > I need to create a PKCS#12 file, and what ever I try I can't seem to be able > to sign it. > I want to create a x509 file and sign it with CA key, and pack it as PKCS12 > file. > > What I have tried to do is the following: > > EVP_PKE

PKCS12 creation

2006-02-20 Thread Norbert Lakatos
Hi all! I need to create a PKCS#12 file, and what ever I try I can't seem to be able to sign it. I want to create a x509 file and sign it with CA key, and pack it as PKCS12 file. What I have tried to do is the following: EVP_PKEY* pPK = NULL; RSA* pRSA = RSA_generate_key(1024, RSA_F4, NULL,

Re: function PEM_read_RSAPrivateKey not returning

2006-02-20 Thread Kyle Hamilton
Are you making sure to link properly with the multithreaded libraries? (I think that was the default starting with VC++.net 2003, but I can't recall.) Incidentally, you can download a free ISO of VC++ 2005 Express Edition from Microsoft. The IDE doesn't support resource editing, but I'm having n

Re: multi-thread support

2006-02-20 Thread LDB
From the installation notes .. It should already be there if you have things are normal. Note on multi-threading --- For some systems, the OpenSSL Configure script knows what compiler options are needed to generate a library that is suitable for multi-threaded applicatio

Re: function PEM_read_RSAPrivateKey not returning

2006-02-20 Thread Matthias
I deleted all ssl-related DLLs on my system now. When I compile OpenSSL as described in INSTALL.W32, point the include library directory of my example program on "openssl\out32dll", recompile my example program, copy the 2 DLLs from "openssl\out32dll" to my example project directory... ...then

Re: Errors when coding X509 attributes - help needed

2006-02-20 Thread Dr. Stephen Henson
On Mon, Feb 20, 2006, Daniel Daz Snchez wrote: > [Sorry for the prior empty mails I am experiencing some problems with mail] > > Hello, > > I’m implementing some X509 attributes for a Openssl based X509 attribute > certificates API (will be available when finished). I have some problems > with o

Errors when coding X509 attributes - help needed

2006-02-20 Thread Daniel Díaz Sánchez
[Sorry for the prior empty mails I am experiencing some problems with mail] Hello, I’m implementing some X509 attributes for a Openssl based X509 attribute certificates API (will be available when finished). I have some problems with one attribute, I don't know if I am implementing it correctly o

Errors when coding X509 attributes - help needed

2006-02-20 Thread Daniel Díaz Sánchez
__ OpenSSL Project http://www.openssl.org User Support Mailing Listopenssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]

Errors when coding X509 attributes - help needed

2006-02-20 Thread Daniel Díaz Sánchez
__ OpenSSL Project http://www.openssl.org User Support Mailing Listopenssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]

Mailing list daily digest

2006-02-20 Thread Brendan Simon
Does anyone know how to get a daily digest version of this mailing list. Mailman supports digests but I am not familiar with Majordomo. I tried the support page of the website but could not find any relevant info. Thanks, Brendan. _

Question about windows environment...

2006-02-20 Thread Kyle Hamilton
Dr. Henson: I see in Configure that there's VC-NT and VC-WIN32 as targeted platforms. The INSTALL.W32 file says to run ms\do_nt.bat if you want the NT-specific features (logging BIOs would be VERY nice to have)... but wouldn't that be taken care of by the VC-NT target? If not, why not? There's

Re: function PEM_read_RSAPrivateKey not returning

2006-02-20 Thread Kyle Hamilton
To get the debugging symbols for Windows, read the "INSTALL.W32" file. Of particular note is this little gem: There are various changes you can make to the Win32 compile environment. By default the library is not compiled with debugging symbols. If you add 'debug' to the mk1mf.pl lines in the do_

Re: function PEM_read_RSAPrivateKey not returning

2006-02-20 Thread Kyle Hamilton
ignore this, I'm used to the POSIX-system variants. :P -Kyle On 2/20/06, Kyle Hamilton <[EMAIL PROTECTED]> wrote: > Also, you didn't compile openssl in debug mode, otherwise the > libeay32.dll!(address)() calls in the stack would be showing the > function names. To do so, you need to run: > > pe

Re: function PEM_read_RSAPrivateKey not returning

2006-02-20 Thread Kyle Hamilton
Also, you didn't compile openssl in debug mode, otherwise the libeay32.dll!(address)() calls in the stack would be showing the function names. To do so, you need to run: perl Configure -d [VC-NT | VC-WIN32] if you're running Visual C++. The -d causes it to build for the debug target, which does

Re: function PEM_read_RSAPrivateKey not returning

2006-02-20 Thread Kyle Hamilton
The best thing to do, when compiling, is to copy the DLLs to the directory (either Debug or Release) that the rest of your project is going to, and then create empty files named ssleay32.dll.local and libeay32.dll.local in the same directory. (This causes Windows to use the versions of the files i

Re: function PEM_read_RSAPrivateKey not returning

2006-02-20 Thread Matthias
Kyle Hamilton wrote: Did you make sure to remove %SYSTEMROOT%\system32\ssleay32.dll and libeay32.dll? Just running the uninstaller doesn't get rid of them. No, I forgot that. Sorry, my fault. I now replaced those two DLLs with the ones I compiled myself. Good news: in Release mode my progra

Re: multi-thread support

2006-02-20 Thread Alain Damiral
Check this link: http://www.openssl.org/docs/crypto/threads.html Thread support is there, but is platform dependent. There is a file called th-lock.c under crypto/threads that contains some definitions for thread support on a few platforms. I haven't tested this but it compiles so it must wor