MFC r1.6 r1.30 r1.28 (HEAD):
[dragonfly.git] / usr.sbin / pppd / chap_ms.h
blobd06ae5ca370d9f35988afc3670e877901d893e37
1 /*
2 * chap.h - Challenge Handshake Authentication Protocol definitions.
4 * Copyright (c) 1995 Eric Rosenquist, Strata Software Limited.
5 * http://www.strataware.com/
7 * All rights reserved.
9 * Redistribution and use in source and binary forms are permitted
10 * provided that the above copyright notice and this paragraph are
11 * duplicated in all such forms and that any documentation,
12 * advertising materials, and other materials related to such
13 * distribution and use acknowledge that the software was developed
14 * by Eric Rosenquist. The name of the author may not be used to
15 * endorse or promote products derived from this software without
16 * specific prior written permission.
18 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
19 * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
20 * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
22 * $FreeBSD: src/usr.sbin/pppd/chap_ms.h,v 1.5 1999/08/28 01:19:02 peter Exp $
23 * $DragonFly: src/usr.sbin/pppd/chap_ms.h,v 1.3 2003/11/03 19:31:40 eirikn Exp $
26 #ifndef __CHAPMS_INCLUDE__
28 #define MD4_SIGNATURE_SIZE 16 /* 16 bytes in a MD4 message digest */
29 #define MAX_NT_PASSWORD 256 /* Maximum number of (Unicode) chars in an NT password */
31 void ChapMS(chap_state *, char *, int, char *, int);
33 #define __CHAPMS_INCLUDE__
34 #endif /* __CHAPMS_INCLUDE__ */