version 1.9, 1999/09/30 06:06:31 |
version 1.10, 1999/09/30 17:08:52 |
|
|
#include "packet.h" |
#include "packet.h" |
#include "authfd.h" |
#include "authfd.h" |
#include "cipher.h" |
#include "cipher.h" |
#include "ssh_md5.h" |
|
#include "mpaux.h" |
#include "mpaux.h" |
#include "uidswap.h" |
#include "uidswap.h" |
|
|
|
#include <md5.h> |
|
|
/* Session id for the current session. */ |
/* Session id for the current session. */ |
unsigned char session_id[16]; |
unsigned char session_id[16]; |
|
|
|
|
respond_to_rsa_challenge(BIGNUM *challenge, RSA *prv) |
respond_to_rsa_challenge(BIGNUM *challenge, RSA *prv) |
{ |
{ |
unsigned char buf[32], response[16]; |
unsigned char buf[32], response[16]; |
struct MD5Context md; |
MD5_CTX md; |
int i, len; |
int i, len; |
|
|
/* Decrypt the challenge using the private key. */ |
/* Decrypt the challenge using the private key. */ |