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
rs. So,Can i do like this or not? If yes than how? thanks once again for help. -- View this message in context: http://openssl.6102.n7.nabble.com/Help-me-for-ECDHE-algorithm-tp49168p49452.html Sent from the OpenSSL - User mailing list archive at

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
`EVP_PKEY_derive_set_peer' xxx.c:(.text+0x68): undefined reference to `EVP_PKEY_derive' xxx.c:(.text+0x88): undefined reference to `EVP_PKEY_derive' collect2: ld returned 1 exit status -- View this message in context: http://openssl.6102.n7.nabble.com/Help-me-for-ECDHE-algorithm-

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
tp://openssl.6102.n7.nabble.com/Help-me-for-ECDHE-algorithm-tp49168p49279.html Sent from the OpenSSL - User mailing list archive at Nabble.com. __ OpenSSL Project http://www.openssl.org User

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
message in context: http://openssl.6102.n7.nabble.com/Help-me-for-ECDHE-algorithm-tp49168p49213.html Sent from the OpenSSL - User mailing list archive at Nabble.com. __ OpenSSL Project http

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

Help me for ECDHE algorithm

2014-04-09 Thread chetan
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 -- View this message in context: http://openssl.6102.n7.nabble.com/Help-me-for-ECDHE