]> andersk Git - openssh.git/blame - mpaux.h
- stevesk@cvs.openbsd.org 2001/03/25 13:16:11
[openssh.git] / mpaux.h
CommitLineData
8efc0c15 1/*
5260325f 2 * Author: Tatu Ylonen <ylo@cs.hut.fi>
5260325f 3 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
4 * All rights reserved
5260325f 5 * This file contains various auxiliary functions related to multiple
6 * precision integers.
bcbf86ec 7 *
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".
5260325f 13 */
8efc0c15 14
1e3b8b07 15/* RCSID("$OpenBSD: mpaux.h,v 1.9 2000/12/19 23:17:57 markus Exp $"); */
8efc0c15 16
17#ifndef MPAUX_H
18#define MPAUX_H
19
aa3378df 20/*
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.
24 */
6ae2364d 25void
1e3b8b07 26compute_session_id(u_char session_id[16],
27 u_char cookie[8],
5260325f 28 BIGNUM * host_key_n,
29 BIGNUM * session_key_n);
8efc0c15 30
5260325f 31#endif /* MPAUX_H */
This page took 0.127622 seconds and 5 git commands to generate.