ssh_kex_rsa.h
error_t sshParseKexRsaDone(SshConnection *connection, const uint8_t *message, size_t length)
Parse SSH_MSG_KEXRSA_DONE message.
Definition: ssh_kex_rsa.c:596
error_t sshParseKexRsaSecret(SshConnection *connection, const uint8_t *message, size_t length)
Parse SSH_MSG_KEXRSA_SECRET message.
Definition: ssh_kex_rsa.c:510
error_t sshFormatKexRsaPubKey(SshConnection *connection, uint8_t *p, size_t *length)
Format SSH_MSG_KEXRSA_PUBKEY message.
Definition: ssh_kex_rsa.c:217
error_t sshEncryptSharedSecret(SshConnection *connection, const SshBinaryString *transientRsaPublicKey, uint8_t *encryptedSecret, size_t *encryptedSecretLen)
Encrypt shared secret using RSAES-OAEP.
Definition: ssh_kex_rsa.c:866
error_t sshParseKexRsaPubKey(SshConnection *connection, const uint8_t *message, size_t length)
Parse SSH_MSG_KEXRSA_PUBKEY message.
Definition: ssh_kex_rsa.c:390
error_t sshFormatKexRsaSecret(SshConnection *connection, const SshBinaryString *transientRsaPublicKey, uint8_t *p, size_t *length)
Format SSH_MSG_KEXRSA_SECRET message.
Definition: ssh_kex_rsa.c:283
error_t sshParseKexRsaMessage(SshConnection *connection, uint8_t type, const uint8_t *message, size_t length)
Parse Diffie-Hellman specific messages.
Definition: ssh_kex_rsa.c:680
error_t sshFormatKexRsaDone(SshConnection *connection, uint8_t *p, size_t *length)
Format SSH_MSG_KEXRSA_DONE message.
Definition: ssh_kex_rsa.c:336
error_t sshSendKexRsaDone(SshConnection *connection)
Send SSH_MSG_KEXRSA_DONE message.
Definition: ssh_kex_rsa.c:169
error_t sshSendKexRsaPubKey(SshConnection *connection)
Send SSH_MSG_KEXRSA_PUBKEY message.
Definition: ssh_kex_rsa.c:61
int_t sshSelectTransientRsaKey(SshContext *context, const char_t *kexAlgo)
Select a transient RSA key.
Definition: ssh_kex_rsa.c:744
error_t sshSendKexRsaSecret(SshConnection *connection, const SshBinaryString *transientRsaPublicKey)
Send SSH_MSG_KEXRSA_SECRET message.
Definition: ssh_kex_rsa.c:121
error_t sshDecryptSharedSecret(SshConnection *connection, const uint8_t *encryptedSecret, size_t encryptedSecretLen)
Decrypt shared secret using RSAES-OAEP.
Definition: ssh_kex_rsa.c:971
error_t sshFormatTransientRsaPublicKey(SshConnection *connection, uint8_t *p, size_t *written)
Format transient RSA public key.
Definition: ssh_kex_rsa.c:803
Secure Shell (SSH)