how to enable ony AES,DES/3DES, RSA algorithm by using MACRO

2008-11-18 Thread Ajeet kumar.S
Dear All, I want to enable only DES/3DES, AES and RSA Algorithm.So please tell me any preprocessor definition by using which we can enable only DES/3DES, AES and RSA algorithm. I don't want to use other algorithm except above three. Is any macro kind of thing is there by which we can enable only

Re: RSA_sign RSA_verify

2008-11-18 Thread Shaun
Thanks, thats what i get for being lazy, for testing i was just using a small key, i just changed it to my 4096 key and it's working.. Where am i going wrong here? char* message = "Hello World"; if(RSA_sign(NID_md5, (unsigned char*) message, strlen(message), signature, &

RE: how to verify if the public_key is valid to decrypt data using RSA_public_decrypt()

2008-11-18 Thread Dave Thompson
> From: [EMAIL PROTECTED] On Behalf Of Shaun R. > Sent: Monday, 17 November, 2008 18:50 > I'm using RSA to encrypt/decrypt some text. I encrypt the data using the > private key and then decrypt it using RSA_public_decrypt(). One thing i This is not really encryption, because it does not provide

RE: Verification fails on client, succedes on server

2008-11-18 Thread Dave Thompson
> From: [EMAIL PROTECTED] On Behalf Of Michael Simms > Sent: Friday, 14 November, 2008 19:46 > Dave Thompson wrote: > >> From: [EMAIL PROTECTED] On Behalf Of Michael Simms > >> Sent: Thursday, 13 November, 2008 07:38 > > Are you trying to connect BOTH a client on 1 to a server on 2 AND > > a clie

RE: RSA_sign RSA_verify

2008-11-18 Thread David Schwartz
> Where am i going wrong here? > char* message = "Hello World"; > if(RSA_sign(NID_md5, (unsigned char*) message, strlen(message), > signature, &slen, private_key) != 1) { The problem is that your RSA key is very small. A 256-bit RSA key can only sign up to 32 bytes. 11 bytes are

RSA_sign RSA_verify

2008-11-18 Thread Shaun R.
Where am i going wrong here? [EMAIL PROTECTED] openssl]# cat sign_verify.c #include #include #include #include #include #include #include #include int main(void) { char* message = "Hello World"; unsigned char* signature; unsigned int slen; unsigned int veri

OpenSSL FIPS 140-2 validation

2008-11-18 Thread OpenSSL
Good news for developers and vendors of software for the U.S. and Canadian government market where FIPS 140-2 validated cryptography is required. The "OpenSSL FIPS Object Module", a software component compatible with the OpenSSL API, has been FIPS 140-2 validated (see certificate #1051 and Securit

Building on win32 via MinGW Question

2008-11-18 Thread Tony Caduto
Hi, I just recently built the latest version on win32 using MinGW and it all worked great, but I was just wondering why one of the dlls created is called libssl32.dll instead of ssleay32.dll ? Is it possibly to make it have the same name as most of the binary OpenSSL installs availalbe? Also

Please tell me how to enable ony AES,DES/3DES, RSA algorithm by using MACRO

2008-11-18 Thread Ajeet kumar.S
Hi All, I want to enable only DES/3DES, AES and RSA Algorithm.So please tell me any preprocessor definition by using which we can enable only DES/3DES, AES and RSA algorithm. I don't want to use other algorithm except above three. Thank you. Regards, --Ajeet Kumar Singh <>

Asynchronous WinCE Socket I/O with Openssl

2008-11-18 Thread irshad ahamed
Hi, Can I know how Asynchronous WinCE socket I/O ( using WSAEventSelect) can be achieved using Openssl? Thanks in advance... BR, Irshad.

RE: openssl-0.9.8-stable-SNAP-20081115 and FIPS

2008-11-18 Thread Green, Paul
Dear 'The Doctor', I am not on the OpenSSL team so I'm just speaking for myself here. But I have done work on many other open-source products, so I'm responding based on my overall experience with open-source development. When you find a problem in an open-source product, the accepted protocol i

Compile Error w/ bn.h

2008-11-18 Thread Tri Nguyen
Hello, I am getting a compile (header #include) error: openssl/bn.h expected unqualified-id before numeric constant I am using Eclipse CDT and MinGW on Windows. Could you please help? Thanks. -- Tri M. Nguyen [EMAIL PROTECTED]