Lines Matching refs:wpa_printf

49 	wpa_printf(MSG_INFO, "\nIEEE Std 802.11-2012, M.6.3 TKIP test "  in test_vector_tkip()
58 wpa_printf(MSG_ERROR, "Failed to encrypt TKIP frame"); in test_vector_tkip()
71 wpa_printf(MSG_ERROR, "Failed to decrypt TKIP frame"); in test_vector_tkip()
102 wpa_printf(MSG_INFO, "\nIEEE Std 802.11-2012, M.6.4 CCMP test " in test_vector_ccmp()
113 wpa_printf(MSG_ERROR, "Failed to encrypt CCMP frame"); in test_vector_ccmp()
129 wpa_printf(MSG_ERROR, "Failed to decrypt CCMP frame"); in test_vector_ccmp()
184 wpa_printf(MSG_INFO, in test_vector_ccmp_pv1()
187 wpa_printf(MSG_INFO, "BSSID: " MACSTR, MAC2STR(bssid)); in test_vector_ccmp_pv1()
188 wpa_printf(MSG_INFO, "DA: " MACSTR, MAC2STR(da)); in test_vector_ccmp_pv1()
189 wpa_printf(MSG_INFO, "SA: " MACSTR, MAC2STR(sa)); in test_vector_ccmp_pv1()
190 wpa_printf(MSG_INFO, "Association ID: %u", aid); in test_vector_ccmp_pv1()
191 wpa_printf(MSG_INFO, "Base PN: %u (0x%08x)", bpn, bpn); in test_vector_ccmp_pv1()
192 wpa_printf(MSG_INFO, "SC = 0x%04x (FragNum=%u SeqNum=%u)", in test_vector_ccmp_pv1()
194 wpa_printf(MSG_INFO, "TID = %u", tid); in test_vector_ccmp_pv1()
195 wpa_printf(MSG_INFO, "Key ID: %u", key_id); in test_vector_ccmp_pv1()
197 wpa_printf(MSG_INFO, "PN = SC||BPN"); in test_vector_ccmp_pv1()
202 wpa_printf(MSG_INFO, in test_vector_ccmp_pv1()
205 wpa_printf(MSG_INFO, in test_vector_ccmp_pv1()
219 wpa_printf(MSG_INFO, "A1=" MACSTR, MAC2STR(&frame1[2])); in test_vector_ccmp_pv1()
221 wpa_printf(MSG_INFO, in test_vector_ccmp_pv1()
229 wpa_printf(MSG_INFO, "Sequence Control: %02x %02x (FN=%u SN=%u)", in test_vector_ccmp_pv1()
232 wpa_printf(MSG_INFO, "A3 not present; corresponds to 02:d2:e1:28:a5:7c in uncompressed header"); in test_vector_ccmp_pv1()
233 wpa_printf(MSG_INFO, "A4 not present"); in test_vector_ccmp_pv1()
241 wpa_printf(MSG_ERROR, "Failed to encrypt CCMP frame"); in test_vector_ccmp_pv1()
251 wpa_printf(MSG_INFO, in test_vector_ccmp_pv1()
254 wpa_printf(MSG_INFO, in test_vector_ccmp_pv1()
268 wpa_printf(MSG_INFO, "A1=" MACSTR, MAC2STR(&frame2[2])); in test_vector_ccmp_pv1()
270 wpa_printf(MSG_INFO, in test_vector_ccmp_pv1()
278 wpa_printf(MSG_INFO, "Sequence Control: %02x %02x (FN=%u SN=%u)", in test_vector_ccmp_pv1()
281 wpa_printf(MSG_INFO, "A3=" MACSTR, MAC2STR(&frame2[12])); in test_vector_ccmp_pv1()
282 wpa_printf(MSG_INFO, "A4 not present"); in test_vector_ccmp_pv1()
291 wpa_printf(MSG_ERROR, "Failed to encrypt CCMP frame"); in test_vector_ccmp_pv1()
301 wpa_printf(MSG_INFO, in test_vector_ccmp_pv1()
304 wpa_printf(MSG_INFO, in test_vector_ccmp_pv1()
318 wpa_printf(MSG_INFO, "A1=" MACSTR, MAC2STR(&frame3[2])); in test_vector_ccmp_pv1()
319 wpa_printf(MSG_INFO, "A2=" MACSTR, MAC2STR(&frame3[8])); in test_vector_ccmp_pv1()
321 wpa_printf(MSG_INFO, "Sequence Control: %02x %02x (FN=%u SN=%u)", in test_vector_ccmp_pv1()
324 wpa_printf(MSG_INFO, in test_vector_ccmp_pv1()
326 wpa_printf(MSG_INFO, "A4 not present"); in test_vector_ccmp_pv1()
335 wpa_printf(MSG_ERROR, "Failed to encrypt CCMP frame"); in test_vector_ccmp_pv1()
363 wpa_printf(MSG_INFO, "\nIEEE Std 802.11-2012, M.9.1 BIP with broadcast " in test_vector_bip()
373 wpa_printf(MSG_ERROR, "Failed to protect BIP frame"); in test_vector_bip()
403 wpa_printf(MSG_INFO, in test_vector_bip_s1g_beacon()
413 wpa_printf(MSG_ERROR, in test_vector_bip_s1g_beacon()
442 wpa_printf(MSG_INFO, in test_vector_bip_s1g_beacon_ext()
452 wpa_printf(MSG_ERROR, in test_vector_bip_s1g_beacon_ext()
483 wpa_printf(MSG_INFO, in test_vector_bip_s1g_beacon_bce()
493 wpa_printf(MSG_ERROR, in test_vector_bip_s1g_beacon_bce()
522 wpa_printf(MSG_INFO, in test_vector_bip_s1g_beacon_bce_ext()
532 wpa_printf(MSG_ERROR, in test_vector_bip_s1g_beacon_bce_ext()
556 wpa_printf(MSG_INFO, "\nIEEE Std 802.11-2012, M.9.2 CCMP with unicast " in test_vector_ccmp_mgmt()
567 wpa_printf(MSG_ERROR, "Failed to encrypt CCMP frame"); in test_vector_ccmp_mgmt()
581 wpa_printf(MSG_ERROR, "Failed to decrypt CCMP frame"); in test_vector_ccmp_mgmt()
728 wpa_printf(MSG_INFO, in run_gcmp()
748 wpa_printf(MSG_ERROR, "Failed to encrypt GCMP frame"); in run_gcmp()
755 wpa_printf(MSG_ERROR, "GCMP test mpdu #%d enctypted data mismatch", in run_gcmp()
761 wpa_printf(MSG_ERROR, "GCMP test mpdu #%d MIC mismatch", idx); in run_gcmp()
776 wpa_printf(MSG_ERROR, "Failed to decrypt GCMP frame"); in run_gcmp()
847 wpa_printf(MSG_INFO, "\nIEEE P802.11ac/D7.0, M.11.1 GCMP-256 test vector\n"); in test_vector_gcmp_256()
857 wpa_printf(MSG_ERROR, "Failed to encrypt GCMP frame"); in test_vector_gcmp_256()
863 wpa_printf(MSG_ERROR, "GCMP-256 test vector mismatch"); in test_vector_gcmp_256()
877 wpa_printf(MSG_ERROR, "Failed to decrypt GCMP frame"); in test_vector_gcmp_256()
926 wpa_printf(MSG_INFO, "\nIEEE P802.11ac/D7.0, M.6.4 CCMP-256 test vector\n"); in test_vector_ccmp_256()
936 wpa_printf(MSG_ERROR, "Failed to encrypt CCMP frame"); in test_vector_ccmp_256()
942 wpa_printf(MSG_ERROR, "CCMP-256 test vector mismatch"); in test_vector_ccmp_256()
956 wpa_printf(MSG_ERROR, "Failed to decrypt CCMP-256 frame"); in test_vector_ccmp_256()
999 wpa_printf(MSG_INFO, "\nIEEE P802.11ac/D7.0, M.9.1 BIP-GMAC-128 with broadcast " in test_vector_bip_gmac_128()
1009 wpa_printf(MSG_ERROR, "Failed to protect BIP-GMAC-128 frame"); in test_vector_bip_gmac_128()
1015 wpa_printf(MSG_ERROR, "BIP-GMAC-128 test vector mismatch"); in test_vector_bip_gmac_128()
1050 wpa_printf(MSG_INFO, in test_vector_bip_gmac_128_s1g_beacon()
1061 wpa_printf(MSG_ERROR, in test_vector_bip_gmac_128_s1g_beacon()
1068 wpa_printf(MSG_ERROR, in test_vector_bip_gmac_128_s1g_beacon()
1103 wpa_printf(MSG_INFO, in test_vector_bip_gmac_128_s1g_beacon_ext()
1114 wpa_printf(MSG_ERROR, in test_vector_bip_gmac_128_s1g_beacon_ext()
1121 wpa_printf(MSG_ERROR, in test_vector_bip_gmac_128_s1g_beacon_ext()
1156 wpa_printf(MSG_INFO, in test_vector_bip_gmac_128_s1g_beacon_bce()
1167 wpa_printf(MSG_ERROR, in test_vector_bip_gmac_128_s1g_beacon_bce()
1174 wpa_printf(MSG_ERROR, in test_vector_bip_gmac_128_s1g_beacon_bce()
1208 wpa_printf(MSG_INFO, in test_vector_bip_gmac_128_s1g_beacon_bce_ext()
1219 wpa_printf(MSG_ERROR, in test_vector_bip_gmac_128_s1g_beacon_bce_ext()
1226 wpa_printf(MSG_ERROR, in test_vector_bip_gmac_128_s1g_beacon_bce_ext()
1264wpa_printf(MSG_INFO, "\nIEEE P802.11ac/D7.0, M.9.1 BIP-GMAC-256 with broadcast Deauthentication fr… in test_vector_bip_gmac_256()
1273 wpa_printf(MSG_ERROR, "Failed to protect BIP-GMAC-256 frame"); in test_vector_bip_gmac_256()
1279 wpa_printf(MSG_ERROR, "BIP-GMAC-256 test vector mismatch"); in test_vector_bip_gmac_256()
1316 wpa_printf(MSG_INFO, in test_vector_bip_gmac_256_s1g_beacon()
1327 wpa_printf(MSG_ERROR, in test_vector_bip_gmac_256_s1g_beacon()
1334 wpa_printf(MSG_ERROR, in test_vector_bip_gmac_256_s1g_beacon()
1371 wpa_printf(MSG_INFO, in test_vector_bip_gmac_256_s1g_beacon_ext()
1382 wpa_printf(MSG_ERROR, in test_vector_bip_gmac_256_s1g_beacon_ext()
1389 wpa_printf(MSG_ERROR, in test_vector_bip_gmac_256_s1g_beacon_ext()
1426 wpa_printf(MSG_INFO, in test_vector_bip_gmac_256_s1g_beacon_bce()
1437 wpa_printf(MSG_ERROR, in test_vector_bip_gmac_256_s1g_beacon_bce()
1444 wpa_printf(MSG_ERROR, in test_vector_bip_gmac_256_s1g_beacon_bce()
1480 wpa_printf(MSG_INFO, in test_vector_bip_gmac_256_s1g_beacon_bce_ext()
1491 wpa_printf(MSG_ERROR, in test_vector_bip_gmac_256_s1g_beacon_bce_ext()
1498 wpa_printf(MSG_ERROR, in test_vector_bip_gmac_256_s1g_beacon_bce_ext()
1542 wpa_printf(MSG_INFO, "One or more test vectors failed"); in main()