Lines Matching refs:decrypted
991 struct wpabuf *decrypted; in wps_process_m2() local
994 decrypted = wps_decrypt_encr_settings(wps, attr->encr_settings, in wps_process_m2()
996 if (decrypted == NULL) { in wps_process_m2()
1005 if (wps_parse_msg(decrypted, &eattr) < 0 || in wps_process_m2()
1006 wps_process_key_wrap_auth(wps, decrypted, in wps_process_m2()
1010 wpabuf_free(decrypted); in wps_process_m2()
1014 wpabuf_free(decrypted); in wps_process_m2()
1085 struct wpabuf *decrypted; in wps_process_m4() local
1105 decrypted = wps_decrypt_encr_settings(wps, attr->encr_settings, in wps_process_m4()
1107 if (decrypted == NULL) { in wps_process_m4()
1114 if (wps_validate_m4_encr(decrypted, attr->version2 != NULL) < 0) { in wps_process_m4()
1115 wpabuf_free(decrypted); in wps_process_m4()
1122 if (wps_parse_msg(decrypted, &eattr) < 0 || in wps_process_m4()
1123 wps_process_key_wrap_auth(wps, decrypted, eattr.key_wrap_auth) || in wps_process_m4()
1125 wpabuf_free(decrypted); in wps_process_m4()
1129 wpabuf_free(decrypted); in wps_process_m4()
1140 struct wpabuf *decrypted; in wps_process_m6() local
1158 decrypted = wps_decrypt_encr_settings(wps, attr->encr_settings, in wps_process_m6()
1160 if (decrypted == NULL) { in wps_process_m6()
1167 if (wps_validate_m6_encr(decrypted, attr->version2 != NULL) < 0) { in wps_process_m6()
1168 wpabuf_free(decrypted); in wps_process_m6()
1175 if (wps_parse_msg(decrypted, &eattr) < 0 || in wps_process_m6()
1176 wps_process_key_wrap_auth(wps, decrypted, eattr.key_wrap_auth) || in wps_process_m6()
1178 wpabuf_free(decrypted); in wps_process_m6()
1182 wpabuf_free(decrypted); in wps_process_m6()
1197 struct wpabuf *decrypted; in wps_process_m8() local
1228 decrypted = wps_decrypt_encr_settings(wps, attr->encr_settings, in wps_process_m8()
1230 if (decrypted == NULL) { in wps_process_m8()
1237 if (wps_validate_m8_encr(decrypted, wps->wps->ap, in wps_process_m8()
1239 wpabuf_free(decrypted); in wps_process_m8()
1246 if (wps_parse_msg(decrypted, &eattr) < 0 || in wps_process_m8()
1247 wps_process_key_wrap_auth(wps, decrypted, eattr.key_wrap_auth) || in wps_process_m8()
1250 wps_process_ap_settings_e(wps, &eattr, decrypted, in wps_process_m8()
1252 wpabuf_free(decrypted); in wps_process_m8()
1256 wpabuf_free(decrypted); in wps_process_m8()