All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
otp_mppe.h
Go to the documentation of this file.
1 /*
2  * $Id: d1da9afa87ee202328b3cfb533b9aef45085ed8f $
3  *
4  * This program is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License as published by
6  * the Free Software Foundation; either version 2 of the License, or
7  * (at your option) any later version.
8  *
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  * GNU General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License
15  * along with this program; if not, write to the Free Software
16  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
17  *
18  * Copyright 2001,2002 Google, Inc.
19  * Copyright 2005,2006 TRI-D Systems, Inc.
20  */
21 
22 #ifndef OTP_MPPE_H
23 #define OTP_MPPE_H
24 
25 RCSIDH(otp_mppe_h, "$Id: d1da9afa87ee202328b3cfb533b9aef45085ed8f $")
26 
27 /* MPPE encryption policy */
28 #define MPPE_ENC_POL_ENCRYPTION_FORBIDDEN "0x00000000"
29 #define MPPE_ENC_POL_ENCRYPTION_ALLOWED "0x00000001"
30 #define MPPE_ENC_POL_ENCRYPTION_REQUIRED "0x00000002"
31 
32 /* MPPE encryption types */
33 #define MPPE_ENC_TYPES_RC4_40 "0x00000002"
34 #define MPPE_ENC_TYPES_RC4_128 "0x00000004"
35 #define MPPE_ENC_TYPES_RC4_40_128 "0x00000006"
36 
37 /* Translate the above into something easily usable. */
38 static char const *otp_mppe_policy[3] = {
42 
43 static char const *otp_mppe_types[3] = {
47 
48 #endif /* OTP_MPPE_H */
#define MPPE_ENC_POL_ENCRYPTION_ALLOWED
Definition: otp_mppe.h:29
#define RCSIDH(h, id)
Definition: build.h:136
#define MPPE_ENC_POL_ENCRYPTION_FORBIDDEN
Definition: otp_mppe.h:28
static char const * otp_mppe_policy[3]
Definition: otp_mppe.h:38
#define MPPE_ENC_TYPES_RC4_40
Definition: otp_mppe.h:33
static char const * otp_mppe_types[3]
Definition: otp_mppe.h:43
#define MPPE_ENC_TYPES_RC4_40_128
Definition: otp_mppe.h:35
#define MPPE_ENC_TYPES_RC4_128
Definition: otp_mppe.h:34
#define MPPE_ENC_POL_ENCRYPTION_REQUIRED
Definition: otp_mppe.h:30