Subject: Re: diffie-hellman-group-exchange-sha256 key exchange

Re: diffie-hellman-group-exchange-sha256 key exchange

From: Peter Stuge <peter_at_stuge.se>
Date: Tue, 13 Jan 2015 18:14:10 +0100

Will Cosgrove wrote:
> Second, exhange_hash needs to change from libssh2_sha1_ctx to
> something more generic.
..
> >> First, kmdhgGPsha1kex_state_t is coded to be specific to sha1.

So you are saying that libssh2 currently does not have hash
abstraction, and you would like to add a new hash algo, correct?

libssh2 *does* have crypto algo abstraction. Can you model a new
hash algo abstraction after the existing crypto algo abstraction?

//Peter
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2015-01-13