kwnan
asked on
C code for Diffie-Hellman key exhange protocols with Digital Singnature Algorthim (DSA)
Hi
I am looking for C code applying Diffie-Hellman key exhange protocols with Digital Singnature Algorthim (DSA) bwetwen two nodes??
Could you help in this.
Regards
I am looking for C code applying Diffie-Hellman key exhange protocols with Digital Singnature Algorthim (DSA) bwetwen two nodes??
Could you help in this.
Regards
This is pretty common - openssl will have such code in it for example. Do you want to be more specific about what you want to achieve?
ASKER
Thanks for your reply
I want to simulate this protocol Diffie-Hellman key exhange protocol with Digital Singnature Algorthim (DSA) to generate one shared key between two nodes. the shared key will be used in later phase which can then be used to encrypt subsequent communications, but first I need to generate the shared key in C code.
I want to simulate this protocol Diffie-Hellman key exhange protocol with Digital Singnature Algorthim (DSA) to generate one shared key between two nodes. the shared key will be used in later phase which can then be used to encrypt subsequent communications, but first I need to generate the shared key in C code.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks for the link but it seems that only DH protocol is implemented without Digital Signature for authentication. ??
indeed, but to do that you would normally just digitally sign one or both of the exchange packets. there is elgamal c source here - http://www.koders.com/c/fid90838E6E27F33D1D8411FA994F2308A367A643A0.aspx