Wireshark
4.5.0
The Wireshark network protocol analyzer
Toggle main menu visibility
Main Page
Related Pages
Topics
Namespaces
Namespace List
Namespace Members
All
Variables
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
a
b
c
d
e
f
g
h
i
m
o
p
r
s
t
u
v
w
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
Functions
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
Variables
Typedefs
a
b
c
d
e
f
g
h
i
m
p
r
s
t
u
v
w
Enumerations
Enumerator
a
b
c
e
f
h
i
n
o
r
s
t
w
Macros
_
a
b
c
d
e
f
g
h
i
j
m
n
o
p
r
s
t
u
v
w
x
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
Loading...
Searching...
No Matches
epan
crypt
wep-wpadefs.h
Go to the documentation of this file.
1
/* wap-wpadefs.h
2
*
3
* Copyright (c) 2006 CACE Technologies, Davis (California)
4
* All rights reserved.
5
*
6
* SPDX-License-Identifier: (BSD-3-Clause OR GPL-2.0-only)
7
*/
8
9
#ifndef __WEP_WPADEFS_H__
10
#define __WEP_WPADEFS_H__
11
12
#ifdef __cplusplus
13
extern
"C"
{
14
#endif
15
27
#define MAX_ENCRYPTION_KEYS 64
28
33
#define WEP_KEY_MAX_SIZE 32
34
39
#define WEP_KEY_MAX_CHAR_SIZE (WEP_KEY_MAX_SIZE*2)
40
44
#define WEP_KEY_MAX_BIT_SIZE (WEP_KEY_MAX_SIZE*8)
45
46
#define WEP_KEY_MIN_CHAR_SIZE 2
47
#define WEP_KEY_MIN_BIT_SIZE 8
48
52
#define WPA_KEY_MAX_SIZE 63
/* 63 chars followed by a '\0' */
53
54
#define WPA_KEY_MAX_CHAR_SIZE (WPA_KEY_MAX_SIZE*1)
55
#define WPA_KEY_MAX_BIT_SIZE (WPA_KEY_MAX_SIZE*8)
56
#define WPA_KEY_MIN_CHAR_SIZE 8
57
#define WPA_KEY_MIN_BIT_SIZE (WPA_KEY_MIN_CHAR_SIZE*8)
58
62
#define WPA_SSID_MAX_SIZE 32
63
64
#define WPA_SSID_MAX_CHAR_SIZE (WPA_SSID_MAX_SIZE*1)
65
#define WPA_SSID_MAX_BIT_SIZE (WPA_SSID_MAX_SIZE*8)
66
#define WPA_SSID_MIN_CHAR_SIZE 0
67
#define WPA_SSID_MIN_BIT_SIZE (WPA_SSID_MIN_CHAR_SIZE*8)
68
72
#define STRING_KEY_TYPE_WEP "wep"
73
#define STRING_KEY_TYPE_WPA_PWD "wpa-pwd"
74
#define STRING_KEY_TYPE_WPA_PSK "wpa-psk"
75
#define STRING_KEY_TYPE_TK "tk"
76
#define STRING_KEY_TYPE_MSK "msk"
77
78
79
#ifdef __cplusplus
80
}
81
#endif
82
83
#endif
/* __WEP_WPADEFS_H__ */
Generated by
1.9.8