version 1.7, 1999/09/30 14:05:41 |
version 1.8, 1999/09/30 17:08:52 |
|
|
|
|
#include "ssh.h" |
#include "ssh.h" |
#include "cipher.h" |
#include "cipher.h" |
#include "ssh_md5.h" |
|
|
|
|
#include <md5.h> |
|
|
/* |
/* |
* What kind of tripple DES are these 2 routines? |
* What kind of tripple DES are these 2 routines? |
* |
* |
|
|
void cipher_set_key_string(CipherContext *context, int cipher, |
void cipher_set_key_string(CipherContext *context, int cipher, |
const char *passphrase, int for_encryption) |
const char *passphrase, int for_encryption) |
{ |
{ |
struct MD5Context md; |
MD5_CTX md; |
unsigned char digest[16]; |
unsigned char digest[16]; |
|
|
MD5Init(&md); |
MD5Init(&md); |