Home
last modified time | relevance | path

Searched refs:buf2 (Results 1 – 10 of 10) sorted by relevance

/hostap-latest/tests/
Dtest-milenage.c698 u8 buf[16], buf2[16], buf3[16], buf4[16], buf5[16], opc[16]; in main() local
717 if (milenage_f1(opc, t->k, t->rand, t->sqn, t->amf, buf, buf2) in main()
722 if (memcmp(buf2, t->f1star, 8) != 0) { in main()
727 if (milenage_f2345(opc, t->k, t->rand, buf, buf2, buf3, buf4, in main()
733 if (memcmp(buf2, t->f3, 16) != 0) { in main()
775 milenage_generate(t->opc, t->amf, t->k, sqn, _rand, buf, buf2, buf3, in main()
780 wpa_hexdump(MSG_DEBUG, "IK", buf2, 16); in main()
/hostap-latest/src/drivers/
Drfkill.c110 char buf2[31 + 11 + 1]; in rfkill_init() local
158 os_snprintf(buf2, sizeof(buf2), in rfkill_init()
160 rfk_phy = realpath(buf2, NULL); in rfkill_init()
/hostap-latest/src/utils/
Dxml-utils.c126 char *buf, *buf2, *start; in node_from_file() local
132 buf2 = os_realloc(buf, len + 1); in node_from_file()
133 if (buf2 == NULL) { in node_from_file()
137 buf = buf2; in node_from_file()
Dutils_module_tests.c540 struct wpabuf *buf2; in wpabuf_tests() local
547 buf2 = wpabuf_concat(buf, NULL); in wpabuf_tests()
548 if (buf2 != buf) in wpabuf_tests()
550 wpabuf_free(buf2); in wpabuf_tests()
/hostap-latest/wlantest/
Dwritepcap.c70 const u8 *buf2, size_t len2) in write_pcap_decrypted() argument
98 if (buf2) in write_pcap_decrypted()
99 os_memcpy(buf + sizeof(rtap) + len1, buf2, len2); in write_pcap_decrypted()
Dwlantest.h273 const u8 *buf2, size_t len2);
/hostap-latest/tests/hwsim/
Dtest_wpas_ap.py1104 buf2 = read_process_memory(pid, pmk)
1143 get_key_locations(buf2, pmk, "PMK")
1149 verify_not_present(buf2, kck, fname, "KCK")
1150 verify_not_present(buf2, kek, fname, "KEK")
1151 verify_not_present(buf2, tk, fname, "TK")
1152 get_key_locations(buf2, gtk, "GTK")
/hostap-latest/src/rsn_supp/
Dwpa.c534 u8 *rsn_ie_buf = NULL, *buf2 = NULL; in wpa_supplicant_send_2_of_4() local
587 buf2 = os_malloc(wpa_ie_len + 2 + 4 + 1); in wpa_supplicant_send_2_of_4()
588 if (!buf2) { in wpa_supplicant_send_2_of_4()
592 os_memcpy(buf2, wpa_ie, wpa_ie_len); in wpa_supplicant_send_2_of_4()
593 pos = buf2 + wpa_ie_len; in wpa_supplicant_send_2_of_4()
606 os_free(buf2); in wpa_supplicant_send_2_of_4()
610 wpa_ie = buf2; in wpa_supplicant_send_2_of_4()
635 os_free(buf2); in wpa_supplicant_send_2_of_4()
668 os_free(buf2); in wpa_supplicant_send_2_of_4()
/hostap-latest/hs20/server/
Dspp_server.c798 char *buf, *buf2, *pos; in read_subrem_file() local
809 buf2 = os_realloc(buf, len + 1); in read_subrem_file()
810 if (!buf2) { in read_subrem_file()
814 buf = buf2; in read_subrem_file()
/hostap-latest/src/crypto/
Dtls_openssl.c2604 char buf2[256]; in tls_verify_cb() local
2609 buf2, sizeof(buf2)); in tls_verify_cb()
2611 openssl_tls_cert_event(conn, cert, 0, buf2); in tls_verify_cb()