xref: /freebsd/usr.sbin/ppp/chap_ms.h (revision 0f8e0938a0cf4d1359ee61b4289b1b692269e4a9)
10f8e0938SBrian Somers /*
20f8e0938SBrian Somers  * chap.h - Cryptographic Handshake Authentication Protocol definitions.
30f8e0938SBrian Somers  *
40f8e0938SBrian Somers  * Copyright (c) 1995 Eric Rosenquist, Strata Software Limited.
50f8e0938SBrian Somers  * http://www.strataware.com/
60f8e0938SBrian Somers  *
70f8e0938SBrian Somers  * All rights reserved.
80f8e0938SBrian Somers  *
90f8e0938SBrian Somers  * Redistribution and use in source and binary forms are permitted
100f8e0938SBrian Somers  * provided that the above copyright notice and this paragraph are
110f8e0938SBrian Somers  * duplicated in all such forms and that any documentation,
120f8e0938SBrian Somers  * advertising materials, and other materials related to such
130f8e0938SBrian Somers  * distribution and use acknowledge that the software was developed
140f8e0938SBrian Somers  * by Eric Rosenquist.  The name of the author may not be used to
150f8e0938SBrian Somers  * endorse or promote products derived from this software without
160f8e0938SBrian Somers  * specific prior written permission.
170f8e0938SBrian Somers  *
180f8e0938SBrian Somers  * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
190f8e0938SBrian Somers  * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
200f8e0938SBrian Somers  * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
210f8e0938SBrian Somers  *
220f8e0938SBrian Somers  * $Id$
230f8e0938SBrian Somers  */
240f8e0938SBrian Somers 
250f8e0938SBrian Somers #ifndef _CHAPMS_H_
260f8e0938SBrian Somers 
270f8e0938SBrian Somers #define MAX_NT_PASSWORD	256   /* Max # of (Unicode) chars in an NT password */
280f8e0938SBrian Somers #define MS_CHAP_RESPONSE_LEN 49 /* Don't rely on sizeof(MS_ChapResponse) in case of struct padding */
290f8e0938SBrian Somers 
300f8e0938SBrian Somers extern void ChapMS(char*, char*, int);
310f8e0938SBrian Somers 
320f8e0938SBrian Somers #define _CHAPMS_H_
330f8e0938SBrian Somers #endif /* _CHAPMS_H_ */
34