2 * Author: Tatu Ylonen <ylo@cs.hut.fi>
3 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
5 * This file contains various auxiliary functions related to multiple
8 * As far as I am concerned, the code I have written for this software
9 * can be used freely for any purpose. Any derived versions of this
10 * software must be clearly marked as such, and if the derived work is
11 * incompatible with the protocol description in the RFC file, it must be
12 * called by a name other than "ssh" or "Secure Shell".
15 /* RCSID("$OpenBSD: mpaux.h,v 1.9 2000/12/19 23:17:57 markus Exp $"); */
21 * Computes a 16-byte session id in the global variable session_id. The
22 * session id is computed by concatenating the linearized, msb first
23 * representations of host_key_n, session_key_n, and the cookie.
26 compute_session_id(u_char session_id[16],
29 BIGNUM * session_key_n);