summaryrefslogtreecommitdiff
path: root/mpaux.h
diff options
context:
space:
mode:
Diffstat (limited to 'mpaux.h')
-rw-r--r--mpaux.h42
1 files changed, 21 insertions, 21 deletions
diff --git a/mpaux.h b/mpaux.h
index 85e2fa2bf..b13f07e3a 100644
--- a/mpaux.h
+++ b/mpaux.h
@@ -1,20 +1,19 @@
1/* 1/*
2 2 *
3mpaux.h 3 * mpaux.h
4 4 *
5Author: Tatu Ylonen <ylo@cs.hut.fi> 5 * Author: Tatu Ylonen <ylo@cs.hut.fi>
6 6 *
7Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 7 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
8 All rights reserved 8 * All rights reserved
9 9 *
10Created: Sun Jul 16 04:29:30 1995 ylo 10 * Created: Sun Jul 16 04:29:30 1995 ylo
11 11 *
12This file contains various auxiliary functions related to multiple 12 * This file contains various auxiliary functions related to multiple
13precision integers. 13 * precision integers.
14 14 */
15*/ 15
16 16/* RCSID("$Id: mpaux.h,v 1.3 1999/11/24 13:26:22 damien Exp $"); */
17/* RCSID("$Id: mpaux.h,v 1.2 1999/11/16 02:37:16 damien Exp $"); */
18 17
19#ifndef MPAUX_H 18#ifndef MPAUX_H
20#define MPAUX_H 19#define MPAUX_H
@@ -22,9 +21,10 @@ precision integers.
22/* Computes a 16-byte session id in the global variable session_id. 21/* Computes a 16-byte session id in the global variable session_id.
23 The session id is computed by concatenating the linearized, msb 22 The session id is computed by concatenating the linearized, msb
24 first representations of host_key_n, session_key_n, and the cookie. */ 23 first representations of host_key_n, session_key_n, and the cookie. */
25void compute_session_id(unsigned char session_id[16], 24void
26 unsigned char cookie[8], 25compute_session_id(unsigned char session_id[16],
27 BIGNUM *host_key_n, 26 unsigned char cookie[8],
28 BIGNUM *session_key_n); 27 BIGNUM * host_key_n,
28 BIGNUM * session_key_n);
29 29
30#endif /* MPAUX_H */ 30#endif /* MPAUX_H */