1*5d5fbe79SDavid van Moolenbroek /* 2*5d5fbe79SDavid van Moolenbroek * chap_ms.h - Challenge Handshake Authentication Protocol definitions. 3*5d5fbe79SDavid van Moolenbroek * 4*5d5fbe79SDavid van Moolenbroek * Copyright (c) 1995 Eric Rosenquist. All rights reserved. 5*5d5fbe79SDavid van Moolenbroek * 6*5d5fbe79SDavid van Moolenbroek * Redistribution and use in source and binary forms, with or without 7*5d5fbe79SDavid van Moolenbroek * modification, are permitted provided that the following conditions 8*5d5fbe79SDavid van Moolenbroek * are met: 9*5d5fbe79SDavid van Moolenbroek * 10*5d5fbe79SDavid van Moolenbroek * 1. Redistributions of source code must retain the above copyright 11*5d5fbe79SDavid van Moolenbroek * notice, this list of conditions and the following disclaimer. 12*5d5fbe79SDavid van Moolenbroek * 13*5d5fbe79SDavid van Moolenbroek * 2. Redistributions in binary form must reproduce the above copyright 14*5d5fbe79SDavid van Moolenbroek * notice, this list of conditions and the following disclaimer in 15*5d5fbe79SDavid van Moolenbroek * the documentation and/or other materials provided with the 16*5d5fbe79SDavid van Moolenbroek * distribution. 17*5d5fbe79SDavid van Moolenbroek * 18*5d5fbe79SDavid van Moolenbroek * 3. The name(s) of the authors of this software must not be used to 19*5d5fbe79SDavid van Moolenbroek * endorse or promote products derived from this software without 20*5d5fbe79SDavid van Moolenbroek * prior written permission. 21*5d5fbe79SDavid van Moolenbroek * 22*5d5fbe79SDavid van Moolenbroek * THE AUTHORS OF THIS SOFTWARE DISCLAIM ALL WARRANTIES WITH REGARD TO 23*5d5fbe79SDavid van Moolenbroek * THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY 24*5d5fbe79SDavid van Moolenbroek * AND FITNESS, IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY 25*5d5fbe79SDavid van Moolenbroek * SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 26*5d5fbe79SDavid van Moolenbroek * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN 27*5d5fbe79SDavid van Moolenbroek * AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING 28*5d5fbe79SDavid van Moolenbroek * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 29*5d5fbe79SDavid van Moolenbroek * 30*5d5fbe79SDavid van Moolenbroek * $Id: chap_ms.h,v 1.13 2004/11/15 22:13:26 paulus Exp $ 31*5d5fbe79SDavid van Moolenbroek */ 32*5d5fbe79SDavid van Moolenbroek 33*5d5fbe79SDavid van Moolenbroek #include "netif/ppp/ppp_opts.h" 34*5d5fbe79SDavid van Moolenbroek #if PPP_SUPPORT && MSCHAP_SUPPORT /* don't build if not configured for use in lwipopts.h */ 35*5d5fbe79SDavid van Moolenbroek 36*5d5fbe79SDavid van Moolenbroek #ifndef CHAPMS_INCLUDE 37*5d5fbe79SDavid van Moolenbroek #define CHAPMS_INCLUDE 38*5d5fbe79SDavid van Moolenbroek 39*5d5fbe79SDavid van Moolenbroek extern const struct chap_digest_type chapms_digest; 40*5d5fbe79SDavid van Moolenbroek extern const struct chap_digest_type chapms2_digest; 41*5d5fbe79SDavid van Moolenbroek 42*5d5fbe79SDavid van Moolenbroek #endif /* CHAPMS_INCLUDE */ 43*5d5fbe79SDavid van Moolenbroek 44*5d5fbe79SDavid van Moolenbroek #endif /* PPP_SUPPORT && MSCHAP_SUPPORT */ 45