summaryrefslogtreecommitdiff
path: root/mpaux.h
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>1999-11-25 00:26:21 +1100
committerDamien Miller <djm@mindrot.org>1999-11-25 00:26:21 +1100
commit95def09838fc61b37b6ea7cd5c234a465b4b129b (patch)
tree042744f76f40a326b873cb1c3690a6d7d966bc3e /mpaux.h
parent4d2f15f895f4c795afc008aeff3fd2ceffbc44f4 (diff)
- Merged very large OpenBSD source code reformat
- OpenBSD CVS updates - [channels.c cipher.c compat.c log-client.c scp.c serverloop.c] [ssh.h sshd.8 sshd.c] syslog changes: * Unified Logmessage for all auth-types, for success and for failed * Standard connections get only ONE line in the LOG when level==LOG: Auth-attempts are logged only, if authentication is: a) successfull or b) with passwd or c) we had more than AUTH_FAIL_LOG failues * many log() became verbose() * old behaviour with level=VERBOSE - [readconf.c readconf.h ssh.1 ssh.h sshconnect.c sshd.c] tranfer s/key challenge/response data in SSH_SMSG_AUTH_TIS_CHALLENGE messages. allows use of s/key in windows (ttssh, securecrt) and ssh-1.2.27 clients without 'ssh -v', ok: niels@ - [sshd.8] -V, for fallback to openssh in SSH2 compatibility mode - [sshd.c] fix sigchld race; cjc5@po.cwru.edu
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 */