167910Sbrian/*-
267910Sbrian * Copyright (c) 2000 Semen Ustimenko <semenu@FreeBSD.org>
367910Sbrian * All rights reserved.
467910Sbrian *
567910Sbrian * Redistribution and use in source and binary forms, with or without
667910Sbrian * modification, are permitted provided that the following conditions
767910Sbrian * are met:
867910Sbrian * 1. Redistributions of source code must retain the above copyright
967910Sbrian *    notice, this list of conditions and the following disclaimer.
1067910Sbrian * 2. Redistributions in binary form must reproduce the above copyright
1167910Sbrian *    notice, this list of conditions and the following disclaimer in the
1267910Sbrian *    documentation and/or other materials provided with the distribution.
1367910Sbrian *
1467910Sbrian * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
1567910Sbrian * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
1667910Sbrian * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
1767910Sbrian * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
1867910Sbrian * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
1967910Sbrian * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
2067910Sbrian * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
2167910Sbrian * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
2267910Sbrian * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
2367910Sbrian * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2467910Sbrian * SUCH DAMAGE.
2567910Sbrian *
2667910Sbrian * $FreeBSD: releng/11.0/usr.sbin/ppp/mppe.h 68461 2000-11-07 23:19:11Z brian $
2767910Sbrian */
2867910Sbrian
2967910Sbrian#define MPPE_KEY_LEN	16
3067910Sbrianextern const struct ccp_algorithm MPPEAlgorithm;
3167910Sbrianextern int MPPE_MasterKeyValid;
3268461Sbrianextern int MPPE_IsServer;
3367910Sbrianextern char MPPE_MasterKey[];
34