Lines Matching refs:decrypted
991 struct wpabuf *decrypted; in wps_process_m4() local
1021 decrypted = wps_decrypt_encr_settings(wps, attr->encr_settings, in wps_process_m4()
1023 if (decrypted == NULL) { in wps_process_m4()
1031 if (wps_validate_m4_encr(decrypted, attr->version2 != NULL) < 0) { in wps_process_m4()
1032 wpabuf_free(decrypted); in wps_process_m4()
1040 if (wps_parse_msg(decrypted, eattr) < 0 || in wps_process_m4()
1041 wps_process_key_wrap_auth(wps, decrypted, eattr->key_wrap_auth) || in wps_process_m4()
1043 wpabuf_free(decrypted); in wps_process_m4()
1048 wpabuf_free(decrypted); in wps_process_m4()
1063 struct wpabuf *decrypted; in wps_process_m6() local
1091 decrypted = wps_decrypt_encr_settings(wps, attr->encr_settings, in wps_process_m6()
1093 if (decrypted == NULL) { in wps_process_m6()
1101 if (wps_validate_m6_encr(decrypted, attr->version2 != NULL) < 0) { in wps_process_m6()
1102 wpabuf_free(decrypted); in wps_process_m6()
1110 if (wps_parse_msg(decrypted, eattr) < 0 || in wps_process_m6()
1111 wps_process_key_wrap_auth(wps, decrypted, eattr->key_wrap_auth) || in wps_process_m6()
1113 wpabuf_free(decrypted); in wps_process_m6()
1118 wpabuf_free(decrypted); in wps_process_m6()
1137 struct wpabuf *decrypted; in wps_process_m8() local
1179 decrypted = wps_decrypt_encr_settings(wps, attr->encr_settings, in wps_process_m8()
1181 if (decrypted == NULL) { in wps_process_m8()
1189 if (wps_validate_m8_encr(decrypted, wps->wps->ap, in wps_process_m8()
1191 wpabuf_free(decrypted); in wps_process_m8()
1199 if (wps_parse_msg(decrypted, eattr) < 0 || in wps_process_m8()
1200 wps_process_key_wrap_auth(wps, decrypted, eattr->key_wrap_auth) || in wps_process_m8()
1203 wps_process_ap_settings_e(wps, eattr, decrypted, in wps_process_m8()
1205 wpabuf_free(decrypted); in wps_process_m8()
1210 wpabuf_free(decrypted); in wps_process_m8()