• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1syntax = "proto2";
2package eap_fuzz.proto;
3
4message PacketSet{
5    repeated Packet packets = 1;
6}
7
8message Packet{
9    oneof PacketType {
10        EapRequest eap_request = 1;
11        EapResponse eap_response = 2;
12        EapSuccess eap_success = 3;
13        EapFailure eap_failure = 4;
14    }
15}
16
17message EapRequest{
18    oneof EapRequestType{
19        EaptRequestIdentity identity = 1;
20        EsptRequestNotification notification = 2;
21        EaptRequestMD5Chap md5chap = 3;
22        EaptRequestSRP srp = 4;
23    }
24
25}
26
27message EaptRequestIdentity{
28    required bytes data = 1;
29}
30
31message EsptRequestNotification{
32    required bytes data = 1;
33}
34
35message EaptRequestMD5Chap{
36    required bytes data = 2;
37}
38message EaptRequestSRP{
39    oneof EspMessage {
40        EapRequestSRPChallenge srp_challenge = 1;
41        EapRequestSRPKey srp_key = 2;
42        EapRequestSRPValidator srp_validator = 3;
43        EapRequestSRPLWREChallenge srp_lwre_challenge = 4;
44    }
45}
46
47message EapRequestSRPChallenge{
48    required bytes data = 1;
49}
50
51message EapRequestSRPKey{
52    required bytes data = 1;
53}
54
55message EapRequestSRPValidator {
56    required bytes data = 1;
57}
58
59message EapRequestSRPLWREChallenge{
60   required bytes data = 1;
61}
62
63message EapResponse{
64    oneof EapResponseType{
65        EaptResponseIdentity identity = 1;
66        EsptResponseNotification notification = 2;
67        EaptResponseNAK nak = 3;
68        EaptResponseMD5Chap md5chap = 4;
69        EaptResponseSRP srp = 5;
70    }
71}
72
73message EaptResponseIdentity{
74    required bytes data = 1;
75}
76
77message EsptResponseNotification{
78    required bytes data = 1;
79}
80
81message EaptResponseNAK{
82    oneof EaptResponseNAKType{
83        EaptResponseNAKSRP srp = 1;
84        EaptResponseNAKMD5Chap md5_chap = 2;
85    }
86}
87
88
89message EaptResponseNAKSRP{
90    required bytes data = 1;
91}
92
93message EaptResponseNAKMD5Chap {
94    required bytes data = 1;
95}
96
97message EaptResponseMD5Chap {
98    required bytes data = 1;
99}
100
101message EaptResponseSRP{
102    oneof EspMessage {
103        EapResponseSRPCKey srp_ckey = 1;
104        EapResponseSRPCValidator srp_cvalidator = 2;
105        EapResponseSRPACK srp_ack = 3;
106        EapResponseSRPLWEChallenge srp_challenge = 4;
107    }
108}
109
110message EapResponseSRPCKey {
111    required bytes data = 1;
112}
113
114message EapResponseSRPCValidator{
115    required bytes data = 1;
116}
117
118message EapResponseSRPACK{
119    required bytes data = 1;
120}
121
122message EapResponseSRPLWEChallenge{
123    required bytes data = 1;
124}
125
126message EapSuccess{
127    required bytes data = 1;
128}
129
130message EapFailure{
131    required bytes data = 1;
132}
133
134