ssh_kex_dh_gex.h
error_t sshFormatKexDhGexRequest(SshConnection *connection, uint8_t *p, size_t *length)
Format SSH_MSG_KEX_DH_GEX_REQUEST message.
Definition: ssh_kex_dh_gex.c:294
error_t sshFormatKexDhGexInit(SshConnection *connection, uint8_t *p, size_t *length)
Format SSH_MSG_KEX_DH_GEX_INIT message.
Definition: ssh_kex_dh_gex.c:400
error_t sshDigestDhGexParams(SshConnection *connection)
Update exchange hash with min, n, max, p, g and e.
Definition: ssh_kex_dh_gex.c:1214
int_t sshSelectDhGexGroup(SshContext *context, uint32_t minDhModulusSize, uint32_t preferredDhModulusSize, uint32_t maxDhModulusSize)
Select a Diffie-Hellman group that best matches client's request.
Definition: ssh_kex_dh_gex.c:1103
error_t sshParseKexDhGexRequest(SshConnection *connection, const uint8_t *message, size_t length)
Parse SSH_MSG_KEX_DH_GEX_REQUEST message.
Definition: ssh_kex_dh_gex.c:537
error_t sshParseKexDhGexGroup(SshConnection *connection, const uint8_t *message, size_t length)
Parse SSH_MSG_KEX_DH_GEX_GROUP message.
Definition: ssh_kex_dh_gex.c:690
error_t sshParseKexDhGexReply(SshConnection *connection, const uint8_t *message, size_t length)
Parse SSH_MSG_KEX_DH_GEX_REPLY message.
Definition: ssh_kex_dh_gex.c:864
error_t sshParseKexDhGexInit(SshConnection *connection, const uint8_t *message, size_t length)
Parse SSH_MSG_KEX_DH_GEX_INIT message.
Definition: ssh_kex_dh_gex.c:783
error_t sshComputeDhGexSharedSecret(SshConnection *connection)
Diffie-Hellman shared secret calculation.
Definition: ssh_kex_dh_gex.c:1184
error_t sshSendKexDhGexReply(SshConnection *connection)
Send SSH_MSG_KEX_DH_GEX_REPLY message.
Definition: ssh_kex_dh_gex.c:234
error_t sshFormatKexDhGexReply(SshConnection *connection, uint8_t *p, size_t *length)
Format SSH_MSG_KEX_DH_GEX_REPLY message.
Definition: ssh_kex_dh_gex.c:443
error_t sshParseKexDhGexMessage(SshConnection *connection, uint8_t type, const uint8_t *message, size_t length)
Parse Diffie-Hellman Group Exchange specific messages.
Definition: ssh_kex_dh_gex.c:1027
error_t sshFormatKexDhGexGroup(SshConnection *connection, uint8_t *p, size_t *length)
Format SSH_MSG_KEX_DH_GEX_GROUP message.
Definition: ssh_kex_dh_gex.c:335
error_t sshSendKexDhGexInit(SshConnection *connection)
Send SSH_MSG_KEX_DH_GEX_INIT message.
Definition: ssh_kex_dh_gex.c:176
error_t sshParseKexDhGexRequestOld(SshConnection *connection, const uint8_t *message, size_t length)
Parse SSH_MSG_KEX_DH_GEX_REQUEST_OLD message.
Definition: ssh_kex_dh_gex.c:616
error_t sshSendKexDhGexRequest(SshConnection *connection)
Send SSH_MSG_KEX_DH_GEX_REQUEST message.
Definition: ssh_kex_dh_gex.c:59
Secure Shell (SSH)
error_t sshSendKexDhGexGroup(SshConnection *connection)
Send SSH_MSG_KEX_DH_GEX_GROUP message.
Definition: ssh_kex_dh_gex.c:105