Lines Matching +full:0 +full:xa5
35 * Test vectors come from section I.7.2 of P802.11i/D7.0, October 2003.
61 aa aa 03 00 00 00 08 00 45 00 00 4e 66 1a 00 00 80 11 be 64 0a 00 01 22
62 0a ff ff ff 00 89 00 89 00 3a 00 00 80 a6 01 10 00 01 00 00 00 00 00 00
70 aa aa 03 00 00 00 08 00 45 00 00 4e 66 1a 00 00 80 11 be 64 0a 00 01
71 22 0a ff ff ff 00 89 00 89 00 3a 00 00 80 a6 01 10 00 01 00 00 00 00
75 f6 9c 58 06 bd 6c e8 46 26 bc be fb 94 74 65 0a ad 1f 79 09 b0 f6 4d
76 5f 58 a5 03 a2 58 b7 ed 22 eb 0e a6 49 30 d3 a0 56 a5 57 42 fc ce 14
78 40 b2 4b 7d 1a 69 38 56 ed 0d 43 98 e7 ae e3 bf 0e 2a 2c a8 f7
85 f6 9c 58 06 bd 6c e8 46 26 bc be fb 94 74 65 0a ad 1f 79 09 b0 f6 4d 5f 58 a5
86 03 a2 58 b7 ed 22 eb 0e a6 49 30 d3 a0 56 a5 57 42 fc ce 14 1d 48 5f 8a a8 36
88 0d 43 98 e7 ae e3 bf 0e
92 0x30, 0x31, 0x32, 0x33, 0x34,
95 0x08, 0x48, 0xc3, 0x2c, 0x0f, 0xd2, 0xe1, 0x28, /* 802.11 Header */
96 0xa5, 0x7c, 0x50, 0x30, 0xf1, 0x84, 0x44, 0x08,
97 0xab, 0xae, 0xa5, 0xb8, 0xfc, 0xba, 0x80, 0x33,
98 0xaa, 0xaa, 0x03, 0x00, 0x00, 0x00, 0x08, 0x00, /* Plaintext data */
99 0x45, 0x00, 0x00, 0x4e, 0x66, 0x1a, 0x00, 0x00,
100 0x80, 0x11, 0xbe, 0x64, 0x0a, 0x00, 0x01, 0x22,
101 0x0a, 0xff, 0xff, 0xff, 0x00, 0x89, 0x00, 0x89,
102 0x00, 0x3a, 0x00, 0x00, 0x80, 0xa6, 0x01, 0x10,
103 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
104 0x20, 0x45, 0x43, 0x45, 0x4a, 0x45, 0x48, 0x45,
105 0x43, 0x46, 0x43, 0x45, 0x50, 0x46, 0x45, 0x45,
106 0x49, 0x45, 0x46, 0x46, 0x43, 0x43, 0x41, 0x43,
107 0x41, 0x43, 0x41, 0x43, 0x41, 0x43, 0x41, 0x41,
108 0x41, 0x00, 0x00, 0x20, 0x00, 0x01,
111 0x08, 0x48, 0xc3, 0x2c, 0x0f, 0xd2, 0xe1, 0x28,
112 0xa5, 0x7c, 0x50, 0x30, 0xf1, 0x84, 0x44, 0x08,
113 0xab, 0xae, 0xa5, 0xb8, 0xfc, 0xba, 0x80, 0x33,
114 0xfb, 0x02, 0x9e, 0x80, 0xf6, 0x9c, 0x58, 0x06,
115 0xbd, 0x6c, 0xe8, 0x46, 0x26, 0xbc, 0xbe, 0xfb,
116 0x94, 0x74, 0x65, 0x0a, 0xad, 0x1f, 0x79, 0x09,
117 0xb0, 0xf6, 0x4d, 0x5f, 0x58, 0xa5, 0x03, 0xa2,
118 0x58, 0xb7, 0xed, 0x22, 0xeb, 0x0e, 0xa6, 0x49,
119 0x30, 0xd3, 0xa0, 0x56, 0xa5, 0x57, 0x42, 0xfc,
120 0xce, 0x14, 0x1d, 0x48, 0x5f, 0x8a, 0xa8, 0x36,
121 0xde, 0xa1, 0x8d, 0xf4, 0x2c, 0x53, 0x80, 0x80,
122 0x5a, 0xd0, 0xc6, 0x1a, 0x5d, 0x6f, 0x58, 0xf4,
123 0x10, 0x40, 0xb2, 0x4b, 0x7d, 0x1a, 0x69, 0x38,
124 0x56, 0xed, 0x0d, 0x43, 0x98, 0xe7, 0xae, 0xe3,
125 0xbf, 0x0e, 0x2a, 0x2c, 0xa8, 0xf7,
148 TEST(1, "WEP test mpdu 1", WEP, 2, 0xfb, 0x02, 0x9e, 0x80),
156 printf("%s: 0x%p len %u", tag, p, len); in dumpdata()
157 for (i = 0; i < len; i++) { in dumpdata()
158 if ((i % 16) == 0) in dumpdata()
170 for (i = 0; i < genlen; i++) in cmpfail()
199 memset(key, 0, sizeof(*key)); in runtest()
283 return 0; in runtest()
291 static int debug = 0;
301 memset(&ic, 0, sizeof(ic)); in init_crypto_wep_test()
302 memset(&vap, 0, sizeof(vap)); in init_crypto_wep_test()
303 memset(&ifp, 0, sizeof(ifp)); in init_crypto_wep_test()
315 pass = 0; in init_crypto_wep_test()
316 total = 0; in init_crypto_wep_test()
317 for (i = 0; i < nitems(weptests); i++) in init_crypto_wep_test()
327 return (pass == total ? 0 : -1); in init_crypto_wep_test()
336 return 0; in test_wep_modevent()
338 return 0; in test_wep_modevent()
346 0