chap_ms.h revision 30715
11590Srgrimes/*
21590Srgrimes * chap.h - Cryptographic Handshake Authentication Protocol definitions.
31590Srgrimes *
41590Srgrimes * Copyright (c) 1995 Eric Rosenquist, Strata Software Limited.
51590Srgrimes * http://www.strataware.com/
61590Srgrimes *
71590Srgrimes * All rights reserved.
81590Srgrimes *
91590Srgrimes * Redistribution and use in source and binary forms are permitted
101590Srgrimes * provided that the above copyright notice and this paragraph are
111590Srgrimes * duplicated in all such forms and that any documentation,
121590Srgrimes * advertising materials, and other materials related to such
131590Srgrimes * distribution and use acknowledge that the software was developed
141590Srgrimes * by Eric Rosenquist.  The name of the author may not be used to
151590Srgrimes * endorse or promote products derived from this software without
161590Srgrimes * specific prior written permission.
171590Srgrimes *
181590Srgrimes * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
191590Srgrimes * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
201590Srgrimes * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
211590Srgrimes *
221590Srgrimes * $Id: chap_ms.h,v 1.1 1997/09/25 00:58:20 brian Exp $
231590Srgrimes */
241590Srgrimes
251590Srgrimes/* Max # of (Unicode) chars in an NT password */
261590Srgrimes#define MAX_NT_PASSWORD	256
271590Srgrimes
281590Srgrimes/* Don't rely on sizeof(MS_ChapResponse) in case of struct padding */
291590Srgrimes#define MS_CHAP_RESPONSE_LEN 49
301590Srgrimes
311590Srgrimesextern void ChapMS(char *, char *, int);
321590Srgrimes