Re: Anonymous DH key agreement problem

Peter Gutmann <[email protected]>
Newsgroups gmane.comp.encryption.cryptlib
Message-ID <[email protected]>
Shivam Patel <[email protected]> writes:

>I want to do a DH key agreement between two peers and I referred to your
>sample code at Pg. 193 of manual.pdf.

Uhh, that would be the bit that begins:

  The Diffie-Hellman key agreement capability is currently disabled since,
  unlike RSA and conventional key exchange, there.s no widely-accepted
  standard format for it (SSL/TLS and SSHv2 are handled internally by cryptlib
  and CMS is never used by anything).

>As per my understanding, we should be able to export (and import) DH
>components without creating certificates.

You can (in theory), but DH is a six-phase lockstep process (see the comment
at the start of context/ctx_dh.cn for details), DH doesn't work like RSA or
any other mechanism.

Peter.

_______________________________________________
Cryptlib mailing list
[email protected] via Mail: [email protected]
Archive: ftp://ftp.franken.de/pub/crypt/cryptlib/archives/
http://news.gmane.org/gmane.comp.encryption.cryptlib
Posts from non-subscribed addresses are blocked to prevent spam, please
subscribe in order to post messages.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.