Re: RSA_generate_key

2010-08-02 Thread sandeep kiran p
RSA is a structure containing the public modulus, private modulus, exponent etc. Your rsa1 variable is a pointer to this structure. Why would you want to print an address using %d? -Sandeep On Tue, Aug 3, 2010 at 9:40 AM, krishnamurthy santhanam < krishnamurth...@gmail.com> wrote: > yes ..i am n

Unknown SSL Protocol Error returned from openssl

2010-08-02 Thread Shalem Raju
Hi, We are using multithreaded client with libcurl to connect to tomcat 5.5 web server. We are getting Error : SSL connect error, detaild error : Unknown SSL protocol error in connection to www.openssl.org:443 Further error details: err=-1, detail=5, errno

Re: RSA_generate_key

2010-08-02 Thread krishnamurthy santhanam
yes ..i am not able to find the 128 byte RSA key.. how should get those information? kris On Tue, Aug 3, 2010 at 1:15 AM, Michael S. Zick wrote: > On Mon August 2 2010, krishnamurthy santhanam wrote: > > Hi, > > > > i am new to OpenSSL..i have to use RSA_generate key function to generate > > ke

RE: Understanding the behvaiour for openssl verify and -crl_check

2010-08-02 Thread Dave Thompson
> From: owner-openssl-us...@openssl.org On Behalf Of David Balnaves > Sent: Monday, 02 August, 2010 02:20 > This is my first post to this list, so I apologise in advance > if I have overlooked list etiquette. > I've tried to read the source in eclipse/cdk but found myself quickly > beyond my de

Re: RSA_generate_key

2010-08-02 Thread Michael S. Zick
On Mon August 2 2010, krishnamurthy santhanam wrote: > Hi, > > i am new to OpenSSL..i have to use RSA_generate key function to generate > key..below is the program and outcome..is this the way to generate key? > > #include > #include > #include > int main() > { > char *plain="Sample text"; //Samp

RSA_generate_key

2010-08-02 Thread krishnamurthy santhanam
Hi, i am new to OpenSSL..i have to use RSA_generate key function to generate key..below is the program and outcome..is this the way to generate key? #include #include #include int main() { char *plain="Sample text"; //Sample text (plain text) to Encrypt/Decrypt char *ciphertext; printf("%s\n",pla