Forked from the DieterGraef Library

Fork of F7_Ethernet by Dieter Graef

Committer:
DieterGraef
Date:
Sun Jun 19 16:23:40 2016 +0000
Revision:
0:d26c1b55cfca
Ethernet Library for Nucleo stm32f746ZG and Disco stm32f746NG  works under arm and gcc environment

Who changed what in which revision?

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