[BACK]Return to mpaux.h CVS log [TXT][DIR] Up to [local] / src / usr.bin / ssh

Annotation of src/usr.bin/ssh/mpaux.h, Revision 1.6.2.1

1.1       deraadt     1: /*
1.6       markus      2:  *
1.4       deraadt     3:  * mpaux.h
1.6       markus      4:  *
1.4       deraadt     5:  * Author: Tatu Ylonen <ylo@cs.hut.fi>
1.6       markus      6:  *
1.4       deraadt     7:  * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
                      8:  *                    All rights reserved
1.6       markus      9:  *
1.4       deraadt    10:  * Created: Sun Jul 16 04:29:30 1995 ylo
1.6       markus     11:  *
1.4       deraadt    12:  * This file contains various auxiliary functions related to multiple
                     13:  * precision integers.
                     14:  */
1.1       deraadt    15:
1.6.2.1 ! jason      16: /* RCSID("$OpenBSD: mpaux.h,v 1.7 2000/06/20 01:39:42 markus Exp $"); */
1.1       deraadt    17:
                     18: #ifndef MPAUX_H
                     19: #define MPAUX_H
                     20:
1.5       markus     21: /*
                     22:  * Computes a 16-byte session id in the global variable session_id. The
                     23:  * session id is computed by concatenating the linearized, msb first
                     24:  * representations of host_key_n, session_key_n, and the cookie.
                     25:  */
1.6       markus     26: void
1.4       deraadt    27: compute_session_id(unsigned char session_id[16],
                     28:     unsigned char cookie[8],
                     29:     BIGNUM * host_key_n,
                     30:     BIGNUM * session_key_n);
1.1       deraadt    31:
1.4       deraadt    32: #endif                         /* MPAUX_H */