version 1.8, 2000/09/07 20:27:52 |
version 1.8.2.6, 2002/03/08 17:04:42 |
|
|
|
/* $OpenBSD$ */ |
|
|
/* |
/* |
* Author: Tatu Ylonen <ylo@cs.hut.fi> |
* Author: Tatu Ylonen <ylo@cs.hut.fi> |
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
|
|
* called by a name other than "ssh" or "Secure Shell". |
* called by a name other than "ssh" or "Secure Shell". |
*/ |
*/ |
|
|
/* RCSID("$OpenBSD$"); */ |
|
|
|
#ifndef MPAUX_H |
#ifndef MPAUX_H |
#define MPAUX_H |
#define MPAUX_H |
|
|
/* |
void compute_session_id(u_char[16], u_char[8], BIGNUM *, BIGNUM *); |
* Computes a 16-byte session id in the global variable session_id. The |
|
* session id is computed by concatenating the linearized, msb first |
|
* representations of host_key_n, session_key_n, and the cookie. |
|
*/ |
|
void |
|
compute_session_id(unsigned char session_id[16], |
|
unsigned char cookie[8], |
|
BIGNUM * host_key_n, |
|
BIGNUM * session_key_n); |
|
|
|
#endif /* MPAUX_H */ |
#endif /* MPAUX_H */ |