Age | Commit message (Collapse) | Author |
|
- put I_C, I_S, V_C, V_S, K_S to ssh_session
- move RSA verification code to C code
|
|
* move computeKey to C code
* Use `mpint_e`, `secret` instead of bn_e, bn_K, drop bn_f
* compute DH image and secret in DH related code
* drop {get,put}{BN2,SSH2BN}
|
|
- the connection info record contains the name of the
cipher and MAC algorithms, and the key hash
- after doing a key exchange, the connection info will
be filled
|
|
|
|
And add diffie-hellman-group14-sha1 support
|
|
The original code is too complicated and is broken under OpenSSL 1.1.0,
so I rewrite new crypto code based on the original one, and make it work
on OpenSSL 1.1.0.
Thanks libssh2 for the HAVE_OPAQUE_STRUCT macro.
|
|
|