Re: Help me for ECDHE algorithm

2014-04-16 Thread Matt Caswell
On 16 April 2014 05:48, chetan wrote: > If this is only ECDH than how to perform ECDHE? > what changes i have to made in this code? Well the final E in ECHDE stands for ephemeral. It is not really a difference in the way the algorithm itself works, but more about how it is used. With ECDH both pa

Re: Help me for ECDHE algorithm

2014-04-16 Thread chetan
If this is only ECDH than how to perform ECDHE? what changes i have to made in this code? -- View this message in context: http://openssl.6102.n7.nabble.com/Help-me-for-ECDHE-algorithm-tp49168p49499.html Sent from the OpenSSL - User mailing list archive at Nabble.com. __

RE: Help me for ECDHE algorithm

2014-04-15 Thread Dave Thompson
> From: owner-openssl-us...@openssl.org On Behalf Of chetan > Sent: Monday, April 14, 2014 00:42 > xxx.c is my program file. > So, i'm compile simply like "cc xxx.c ". > I am Gettting [undefined reference] This is basic C programming. Whenever you link (not just compile) a C program that uses a

Re: Help me for ECDHE algorithm

2014-04-15 Thread Matt Caswell
On 15 April 2014 05:40, chetan wrote: > Thanks to you...it's working. > Now i have one last query for you. > I'm generating public and private key files using command line openssl. I > generated 2 .PEM files each for public and private key. > Now i want to generate shared secret from that files us

Re: Help me for ECDHE algorithm

2014-04-14 Thread chetan
Thanks to you...it's working. Now i have one last query for you. I'm generating public and private key files using command line openssl. I generated 2 .PEM files each for public and private key. Now i want to generate shared secret from that files using APIs like EVP_PKEY_derive and others. So,Can

Re: Help me for ECDHE algorithm

2014-04-14 Thread Matt Caswell
On 14 April 2014 05:42, chetan wrote: > xxx.c is my program file. > So, i'm compile simply like "cc xxx.c ". > I am Gettting errors as below: > xxx.c:(.text+0x19): undefined reference to `EVP_PKEY_CTX_new' > xxx.c:(.text+0x30): undefined reference to `EVP_PKEY_derive_init' > xxx.c:(.text+0x48): un

Re: Help me for ECDHE algorithm

2014-04-14 Thread chetan
xxx.c is my program file. So, i'm compile simply like "cc xxx.c ". I am Gettting errors as below: xxx.c:(.text+0x19): undefined reference to `EVP_PKEY_CTX_new' xxx.c:(.text+0x30): undefined reference to `EVP_PKEY_derive_init' xxx.c:(.text+0x48): undefined reference to `EVP_PKEY_derive_set_peer' xxx

Re: Help me for ECDHE algorithm

2014-04-11 Thread Matt Caswell
On 11 April 2014 06:25, chetan wrote: > I tried your sample code but compiler showing error like "Undefined refrence > to EVP_PKEY_CTX_new" although i included header file "openssl/evp.h". > You have any idea why this errors occuring??? > And by the way thanks for the help friend. Please 1) Post

Re: Help me for ECDHE algorithm

2014-04-11 Thread chetan
I tried your sample code but compiler showing error like "Undefined refrence to EVP_PKEY_CTX_new" although i included header file "openssl/evp.h". You have any idea why this errors occuring??? And by the way thanks for the help friend. -- View this message in context: http://openssl.6102.n7.nab

Re: Help me for ECDHE algorithm

2014-04-10 Thread Matt Caswell
On 10 April 2014 07:29, chetan wrote: > Thanks for giving time to me. I was given a task that i have to implement > ECDHE algorithm means i can use openssl. > So, can you please tell me what i have to do after generatic public and > private key files. How to generate shared secret and what next a

Re: Help me for ECDHE algorithm

2014-04-10 Thread chetan
Thanks for giving time to me. I was given a task that i have to implement ECDHE algorithm means i can use openssl. So, can you please tell me what i have to do after generatic public and private key files. How to generate shared secret and what next after that. Thanks again -- View this messag

Re: Help me for ECDHE algorithm

2014-04-09 Thread Matt Caswell
On 9 April 2014 08:39, chetan wrote: > I am newer to this and i want to make ECDHE algorithm for cilient-server. > Can anyone tell me basic steps and functions to do this. all response are > acceptable. > Thankss in advance > Its unclear from your question whether you are l

RE: Help me understand how this should work:

2013-03-28 Thread Salz, Rich
Ø I guess I need to know what to research to make all of these guys sort of use the same cert. is this what chaining could do for me? Not sure why you need or want a single cert, but if you do then one cert with multiple subjectAltName extensions should do it. /r$ -- Principa

RE: Help me find the SSL wrapper/another solution

2012-05-14 Thread Marcin Głogowski
ay 12, 2012 2:54 PM To: openssl-users@openssl.org Subject: Re: Help me find the SSL wrapper/another solution demos/state_machine demos/tunala On Tue, May 8, 2012 at 2:17 PM, Marcin Głogowski wrote: > Hello, > I have to write non blocking SSL/TLS server based on the OpenSSL library. > I cou

Re: Help me find the SSL wrapper/another solution

2012-05-14 Thread Ben Laurie
demos/state_machine demos/tunala On Tue, May 8, 2012 at 2:17 PM, Marcin Głogowski wrote: > Hello, > I have to write non blocking SSL/TLS server based on the OpenSSL library. > I couldn't find any example/tutorial with this. > Please write me where can I find some client/server examples or simple

RE: Help me find the SSL wrapper/another solution: nonblocking

2012-05-11 Thread Dave Thompson
> From: owner-openssl-us...@openssl.org On Behalf Of Marcin Glogowski > Sent: Tuesday, 08 May, 2012 09:18 > Hello, > I have to write non blocking SSL/TLS server based on the > OpenSSL library. > I couldn't find any example/tutorial with this. > Please write me where can I find some client/server

RE: Help me fix this code

2011-05-02 Thread Dave Thompson
> From: owner-openssl-us...@openssl.org On Behalf Of Muhammed Shafeek > Sent: Monday, 02 May, 2011 04:48 > Hi Peter, > Add padding for CBC mode encryption. > Or u can use CFB mode. EVB_bf_cfb() Unnecessary. EVP_bf_cbc (or EVP_*_cbc) already does PKCS5 padding. (If yo

Re: Re: Re: Help me fix this code

2011-05-02 Thread derleader mail
Hi Peter, The extra string in o/p is due to error in coding. u r passing incorrect length in EVP_DecryptUpdate. if (!(EVP_DecryptUpdate(&dctx, dec_outbuf, &decoutlen, enc_outbuf, output_buf_size))) change above line to if (!(EVP_DecryptUpdate(&dctx, dec_outbuf, &decoutlen, enc_outbuf, enco

Re: Re: Help me fix this code

2011-05-02 Thread Muhammed Shafeek
Hi Peter, The extra string in o/p is due to error in coding. u r passing incorrect length in EVP_DecryptUpdate. if (!(EVP_DecryptUpdate(&dctx, dec_outbuf, &decoutlen, enc_outbuf, output_buf_size))) change above line to if (!(EVP_DecryptUpdate(&dctx, dec_outbuf, &decoutlen, enc_outbuf, encoutlen

Re: Re: Help me fix this code

2011-05-02 Thread derleader mail
Hi Peter, Add padding for CBC mode encryption. Or u can use CFB mode. EVB_bf_cfb() -Shafeek Hi, Thank you for the reply. I have edit the code. Source Code: //gcc blowfish2.c -L/usr/local/ssl/lib/ -lssl -lcrypto -Wall #include #include #include #include #include #define input_

Re: Help me fix this code

2011-05-02 Thread Muhammed Shafeek
Hi Peter, Add padding for CBC mode encryption. Or u can use CFB mode. EVB_bf_cfb() -Shafeek On Sat, Apr 30, 2011 at 7:26 PM, derleader mail wrote: > Hi, >I have a problem with the code below. There is a bug that I can't find > and fix. > This is the output when I try to run it: > > [root@l

Re: help me decrypting a binary file which is encrypted by aes 256 cbc mode

2009-11-18 Thread NaGaGo
Hi I used the real key and IV now , But there is some problem in decrypting firat 16 bytescan you tell why is this happening... the first 16 bytes are read properly but not gettin g decrypted??What could be reason for this? because of this my code is returning an error in decrypt final.. Than

Re: help me decrypting a binary file which is encrypted by aes 256 cbc mode

2009-11-18 Thread Christian Hohnstaedt
Hi NaGaGo, the keylen and ivlen are off by one: int keyLength = sizeof(uKey) -1; /* == strlen(uKey) */ int ivLength = sizeof(iv) -1; (and really use it later instead of "8*sizeof(uKey)") HTH Christian On Tue, Nov 17, 2009 at 09:06:07PM -0800, NaGaGo wrote: > > Hi christian

Re: help me decrypting a binary file which is encrypted by aes 256 cbc mode

2009-11-18 Thread NaGaGo
Hi christian, Thank you very much for your help...I was thinking the same but I already tried with real key... and even I changed the code for getting the file size also but yet my program didn't give me correct out put... The problem actually is the files which i'm getting when I decrypt the bin

Re: help me decrypting a binary file which is encrypted by aes 256 cbc mode

2009-11-17 Thread Christian Hohnstaedt
Hi, you used the ASCII representation of the key, instead of the real key. Same with iv. On Tue, Nov 17, 2009 at 02:43:48AM -0800, NaGaGo wrote: > > Hai > this is the openssl shell command i'm using to decrypt a binary file... > openssl enc -d -K > 3834373532303435333730323834383132373330393233

Re: Help me with RSA API

2008-03-25 Thread Th�nh Trung Nguyễn
Thanks ! Currently, I've know abit about RSA API from man pages and having another project, so I'll find that book later ! Thanks again ! Helios Nguyen <[EMAIL PROTECTED]> wrote: Hi Trung, all about cryptography of openssl are in openssl/crypto/... directory (rsa: openssl/crypto/rsa) I think i

Re: Help me with RSA API

2008-03-25 Thread Helios Nguyen
Hi Trung, all about cryptography of openssl are in openssl/crypto/... directory (rsa: openssl/crypto/rsa) I think if you want to use openssl library you should find documents or books to read. This library is not simple. One book i would be recommended with you is "Network security with openssl".

Re: Help me

2002-05-11 Thread Matt
You can try to look for books about SSL/PKI, etc. Best Regards -- WWW.XGFORCE.COM - The Next Generation Server Clustering and Clustered Enterprise Firewall/VPN Solutions. -- - Original Message

RE: help Me

2001-04-23 Thread Glenn Horton
> -Original Message- > From: Ali Seifi [mailto:[EMAIL PROTECTED]] > Sent: Sunday, April 15, 2001 11:11 AM > To: [EMAIL PROTECTED] > Subject: help Me > > > Dear Sir/Madam, > Hello > I find your OpenSSL Source and enjoy from it. it's > great. > I has a Question : > I need to write a WIN200

RE: Help me!

2000-03-14 Thread Juan Zanglá
You can useWINZIP 5.x to decompress the files.TAR.GZ. To install, you should read the file INSTALL.W32. Good luck. Juan *** >Subject: Help me! > Date: Thu, 27 Apr 2000 20:29:25 - >From: "tinhocvdc3" <[EMAIL PROTECTED]> > Reply-To:

RE: Help me!

2000-02-29 Thread Amol Natu
: Help me!You can use Winzip to extract zipped file. There is a Readme file on the directory, follow instructions there, you can compile OpenSSL in WinNT. The output file will be OpenSSL in out32dll directory. Consider ActivePerl as a compiler to run a Batch file (you know that OpenSSL

Re: Help me!

2000-02-28 Thread quanghai
You can use Winzip to extract zipped file. There is a Readme file on the directory, follow instructions there, you can compile OpenSSL in WinNT. The output file will be OpenSSL in out32dll directory. Consider ActivePerl as a compiler to run a Batch file (you know that OpenSSL is mainly inteded f