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