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