=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ssh/Attic/mpaux.h,v retrieving revision 1.8.2.6 retrieving revision 1.9 diff -u -r1.8.2.6 -r1.9 --- src/usr.bin/ssh/Attic/mpaux.h 2002/03/08 17:04:42 1.8.2.6 +++ src/usr.bin/ssh/Attic/mpaux.h 2000/12/19 23:17:57 1.9 @@ -1,5 +1,3 @@ -/* $OpenBSD: mpaux.h,v 1.8.2.6 2002/03/08 17:04:42 brad Exp $ */ - /* * Author: Tatu Ylonen * Copyright (c) 1995 Tatu Ylonen , Espoo, Finland @@ -14,9 +12,20 @@ * called by a name other than "ssh" or "Secure Shell". */ +/* RCSID("$OpenBSD: mpaux.h,v 1.9 2000/12/19 23:17:57 markus Exp $"); */ + #ifndef 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(u_char session_id[16], + u_char cookie[8], + BIGNUM * host_key_n, + BIGNUM * session_key_n); #endif /* MPAUX_H */