Lines Matching refs:in_decrypted
397 u8 *in_decrypted; in eap_peap_decrypt() local
418 in_decrypted = data->pending_phase2_req; in eap_peap_decrypt()
446 in_decrypted = os_malloc(buf_len); in eap_peap_decrypt()
447 if (in_decrypted == NULL) { in eap_peap_decrypt()
457 msg, msg_len, in_decrypted, buf_len); in eap_peap_decrypt()
464 os_free(in_decrypted); in eap_peap_decrypt()
470 wpa_hexdump(MSG_DEBUG, "EAP-PEAP: Decrypted Phase 2 EAP", in_decrypted, in eap_peap_decrypt()
473 hdr = (struct eap_hdr *) in_decrypted; in eap_peap_decrypt()
476 in_decrypted[4] == EAP_TYPE_IDENTITY) { in eap_peap_decrypt()
482 in_decrypted[4] == EAP_TYPE_TLV) { in eap_peap_decrypt()
490 os_free(in_decrypted); in eap_peap_decrypt()
493 os_memcpy((u8 *) (nhdr + 1), in_decrypted, len_decrypted); in eap_peap_decrypt()
494 os_free(in_decrypted); in eap_peap_decrypt()
501 in_decrypted = (u8 *) nhdr; in eap_peap_decrypt()
503 hdr = (struct eap_hdr *) in_decrypted; in eap_peap_decrypt()
505 os_free(in_decrypted); in eap_peap_decrypt()
513 os_free(in_decrypted); in eap_peap_decrypt()
525 in_decrypted[4] == EAP_TYPE_IDENTITY) { in eap_peap_decrypt()
547 os_free(in_decrypted); in eap_peap_decrypt()
567 os_free(in_decrypted); in eap_peap_decrypt()
577 os_free(in_decrypted); in eap_peap_decrypt()
624 os_free(in_decrypted); in eap_peap_decrypt()