User | Revision | Line number | New contents of line |
mbed714 |
0:d616ece2d859
|
1
|
/*****************************************************************************
|
mbed714 |
0:d616ece2d859
|
2
|
* chpms.h - Network Microsoft Challenge Handshake Protocol header file.
|
mbed714 |
0:d616ece2d859
|
3
|
*
|
mbed714 |
0:d616ece2d859
|
4
|
* Copyright (c) 2003 by Marc Boucher, Services Informatiques (MBSI) inc.
|
mbed714 |
0:d616ece2d859
|
5
|
* portions Copyright (c) 1998 Global Election Systems Inc.
|
mbed714 |
0:d616ece2d859
|
6
|
*
|
mbed714 |
0:d616ece2d859
|
7
|
* The authors hereby grant permission to use, copy, modify, distribute,
|
mbed714 |
0:d616ece2d859
|
8
|
* and license this software and its documentation for any purpose, provided
|
mbed714 |
0:d616ece2d859
|
9
|
* that existing copyright notices are retained in all copies and that this
|
mbed714 |
0:d616ece2d859
|
10
|
* notice and the following disclaimer are included verbatim in any
|
mbed714 |
0:d616ece2d859
|
11
|
* distributions. No written agreement, license, or royalty fee is required
|
mbed714 |
0:d616ece2d859
|
12
|
* for any of the authorized uses.
|
mbed714 |
0:d616ece2d859
|
13
|
*
|
mbed714 |
0:d616ece2d859
|
14
|
* THIS SOFTWARE IS PROVIDED BY THE CONTRIBUTORS *AS IS* AND ANY EXPRESS OR
|
mbed714 |
0:d616ece2d859
|
15
|
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
mbed714 |
0:d616ece2d859
|
16
|
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
mbed714 |
0:d616ece2d859
|
17
|
* IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
|
mbed714 |
0:d616ece2d859
|
18
|
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
mbed714 |
0:d616ece2d859
|
19
|
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
mbed714 |
0:d616ece2d859
|
20
|
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
mbed714 |
0:d616ece2d859
|
21
|
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
mbed714 |
0:d616ece2d859
|
22
|
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
mbed714 |
0:d616ece2d859
|
23
|
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
mbed714 |
0:d616ece2d859
|
24
|
*
|
mbed714 |
0:d616ece2d859
|
25
|
******************************************************************************
|
mbed714 |
0:d616ece2d859
|
26
|
* REVISION HISTORY
|
mbed714 |
0:d616ece2d859
|
27
|
*
|
mbed714 |
0:d616ece2d859
|
28
|
* 03-01-01 Marc Boucher <marc@mbsi.ca>
|
mbed714 |
0:d616ece2d859
|
29
|
* Ported to lwIP.
|
mbed714 |
0:d616ece2d859
|
30
|
* 98-01-30 Guy Lancaster <lancasterg@acm.org>, Global Election Systems Inc.
|
mbed714 |
0:d616ece2d859
|
31
|
* Original built from BSD network code.
|
mbed714 |
0:d616ece2d859
|
32
|
******************************************************************************/
|
mbed714 |
0:d616ece2d859
|
33
|
/*
|
mbed714 |
0:d616ece2d859
|
34
|
* chap.h - Challenge Handshake Authentication Protocol definitions.
|
mbed714 |
0:d616ece2d859
|
35
|
*
|
mbed714 |
0:d616ece2d859
|
36
|
* Copyright (c) 1995 Eric Rosenquist, Strata Software Limited.
|
mbed714 |
0:d616ece2d859
|
37
|
* http://www.strataware.com/
|
mbed714 |
0:d616ece2d859
|
38
|
*
|
mbed714 |
0:d616ece2d859
|
39
|
* All rights reserved.
|
mbed714 |
0:d616ece2d859
|
40
|
*
|
mbed714 |
0:d616ece2d859
|
41
|
* Redistribution and use in source and binary forms are permitted
|
mbed714 |
0:d616ece2d859
|
42
|
* provided that the above copyright notice and this paragraph are
|
mbed714 |
0:d616ece2d859
|
43
|
* duplicated in all such forms and that any documentation,
|
mbed714 |
0:d616ece2d859
|
44
|
* advertising materials, and other materials related to such
|
mbed714 |
0:d616ece2d859
|
45
|
* distribution and use acknowledge that the software was developed
|
mbed714 |
0:d616ece2d859
|
46
|
* by Eric Rosenquist. The name of the author may not be used to
|
mbed714 |
0:d616ece2d859
|
47
|
* endorse or promote products derived from this software without
|
mbed714 |
0:d616ece2d859
|
48
|
* specific prior written permission.
|
mbed714 |
0:d616ece2d859
|
49
|
*
|
mbed714 |
0:d616ece2d859
|
50
|
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
|
mbed714 |
0:d616ece2d859
|
51
|
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
|
mbed714 |
0:d616ece2d859
|
52
|
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
mbed714 |
0:d616ece2d859
|
53
|
*
|
mbed714 |
0:d616ece2d859
|
54
|
* $Id: chpms.h,v 1.5 2007/12/19 20:47:23 fbernon Exp $
|
mbed714 |
0:d616ece2d859
|
55
|
*/
|
mbed714 |
0:d616ece2d859
|
56
|
|
mbed714 |
0:d616ece2d859
|
57
|
#ifndef CHPMS_H
|
mbed714 |
0:d616ece2d859
|
58
|
#define CHPMS_H
|
mbed714 |
0:d616ece2d859
|
59
|
|
mbed714 |
0:d616ece2d859
|
60
|
#define MAX_NT_PASSWORD 256 /* Maximum number of (Unicode) chars in an NT password */
|
mbed714 |
0:d616ece2d859
|
61
|
|
mbed714 |
0:d616ece2d859
|
62
|
void ChapMS (chap_state *, char *, int, char *, int);
|
mbed714 |
0:d616ece2d859
|
63
|
|
mbed714 |
0:d616ece2d859
|
64
|
#endif /* CHPMS_H */
|