1a8d604abSBrian Somers /*- 2*4d846d26SWarner Losh * SPDX-License-Identifier: BSD-2-Clause 31de7b4b8SPedro F. Giffuni * 4a8d604abSBrian Somers * Copyright (c) 2000 Semen Ustimenko <semenu@FreeBSD.org> 5a8d604abSBrian Somers * All rights reserved. 6a8d604abSBrian Somers * 7a8d604abSBrian Somers * Redistribution and use in source and binary forms, with or without 8a8d604abSBrian Somers * modification, are permitted provided that the following conditions 9a8d604abSBrian Somers * are met: 10a8d604abSBrian Somers * 1. Redistributions of source code must retain the above copyright 11a8d604abSBrian Somers * notice, this list of conditions and the following disclaimer. 12a8d604abSBrian Somers * 2. Redistributions in binary form must reproduce the above copyright 13a8d604abSBrian Somers * notice, this list of conditions and the following disclaimer in the 14a8d604abSBrian Somers * documentation and/or other materials provided with the distribution. 15a8d604abSBrian Somers * 16a8d604abSBrian Somers * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 17a8d604abSBrian Somers * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 18a8d604abSBrian Somers * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 19a8d604abSBrian Somers * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 20a8d604abSBrian Somers * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 21a8d604abSBrian Somers * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 22a8d604abSBrian Somers * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 23a8d604abSBrian Somers * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 24a8d604abSBrian Somers * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 25a8d604abSBrian Somers * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 26a8d604abSBrian Somers * SUCH DAMAGE. 27a8d604abSBrian Somers */ 28a8d604abSBrian Somers 29a8d604abSBrian Somers #define MPPE_KEY_LEN 16 30a8d604abSBrian Somers extern const struct ccp_algorithm MPPEAlgorithm; 31a8d604abSBrian Somers extern int MPPE_MasterKeyValid; 32542962ddSBrian Somers extern int MPPE_IsServer; 33a8d604abSBrian Somers extern char MPPE_MasterKey[]; 34