/external/wpa_supplicant_8/src/eap_peer/ |
D | eap_tnc.c | 26 struct wpabuf *in_buf; member 65 wpabuf_free(data->in_buf); in eap_tnc_deinit() 154 if (len > wpabuf_tailroom(data->in_buf)) { in eap_tnc_process_cont() 160 wpabuf_put_data(data->in_buf, buf, len); in eap_tnc_process_cont() 163 (unsigned long) wpabuf_tailroom(data->in_buf)); in eap_tnc_process_cont() 176 if (data->in_buf == NULL && !(flags & EAP_TNC_FLAGS_LENGTH_INCLUDED)) { in eap_tnc_process_fragment() 183 if (data->in_buf == NULL) { in eap_tnc_process_fragment() 185 data->in_buf = wpabuf_alloc(message_length); in eap_tnc_process_fragment() 186 if (data->in_buf == NULL) { in eap_tnc_process_fragment() 192 wpabuf_put_data(data->in_buf, buf, len); in eap_tnc_process_fragment() [all …]
|
D | eap_ikev2.c | 26 struct wpabuf *in_buf; member 114 wpabuf_free(data->in_buf); in eap_ikev2_deinit() 279 if (len > wpabuf_tailroom(data->in_buf)) { in eap_ikev2_process_cont() 285 wpabuf_put_data(data->in_buf, buf, len); in eap_ikev2_process_cont() 288 (unsigned long) wpabuf_tailroom(data->in_buf)); in eap_ikev2_process_cont() 301 if (data->in_buf == NULL && !(flags & IKEV2_FLAGS_LENGTH_INCLUDED)) { in eap_ikev2_process_fragment() 308 if (data->in_buf == NULL) { in eap_ikev2_process_fragment() 310 data->in_buf = wpabuf_alloc(message_length); in eap_ikev2_process_fragment() 311 if (data->in_buf == NULL) { in eap_ikev2_process_fragment() 317 wpabuf_put_data(data->in_buf, buf, len); in eap_ikev2_process_fragment() [all …]
|
D | eap_wsc.c | 28 struct wpabuf *in_buf; member 250 wpabuf_free(data->in_buf); in eap_wsc_deinit() 337 if (len > wpabuf_tailroom(data->in_buf)) { in eap_wsc_process_cont() 343 wpabuf_put_data(data->in_buf, buf, len); in eap_wsc_process_cont() 346 (unsigned long) wpabuf_tailroom(data->in_buf)); in eap_wsc_process_cont() 359 if (data->in_buf == NULL && !(flags & WSC_FLAGS_LF)) { in eap_wsc_process_fragment() 366 if (data->in_buf == NULL) { in eap_wsc_process_fragment() 368 data->in_buf = wpabuf_alloc(message_length); in eap_wsc_process_fragment() 369 if (data->in_buf == NULL) { in eap_wsc_process_fragment() 376 wpabuf_put_data(data->in_buf, buf, len); in eap_wsc_process_fragment() [all …]
|
/external/wpa_supplicant_6/wpa_supplicant/src/eap_peer/ |
D | eap_tnc.c | 26 struct wpabuf *in_buf; member 65 wpabuf_free(data->in_buf); in eap_tnc_deinit() 153 if (len > wpabuf_tailroom(data->in_buf)) { in eap_tnc_process_cont() 159 wpabuf_put_data(data->in_buf, buf, len); in eap_tnc_process_cont() 162 (unsigned long) wpabuf_tailroom(data->in_buf)); in eap_tnc_process_cont() 175 if (data->in_buf == NULL && !(flags & EAP_TNC_FLAGS_LENGTH_INCLUDED)) { in eap_tnc_process_fragment() 182 if (data->in_buf == NULL) { in eap_tnc_process_fragment() 184 data->in_buf = wpabuf_alloc(message_length); in eap_tnc_process_fragment() 185 if (data->in_buf == NULL) { in eap_tnc_process_fragment() 191 wpabuf_put_data(data->in_buf, buf, len); in eap_tnc_process_fragment() [all …]
|
D | eap_wsc.c | 28 struct wpabuf *in_buf; member 157 wpabuf_free(data->in_buf); in eap_wsc_deinit() 244 if (len > wpabuf_tailroom(data->in_buf)) { in eap_wsc_process_cont() 250 wpabuf_put_data(data->in_buf, buf, len); in eap_wsc_process_cont() 253 (unsigned long) wpabuf_tailroom(data->in_buf)); in eap_wsc_process_cont() 266 if (data->in_buf == NULL && !(flags & WSC_FLAGS_LF)) { in eap_wsc_process_fragment() 273 if (data->in_buf == NULL) { in eap_wsc_process_fragment() 275 data->in_buf = wpabuf_alloc(message_length); in eap_wsc_process_fragment() 276 if (data->in_buf == NULL) { in eap_wsc_process_fragment() 283 wpabuf_put_data(data->in_buf, buf, len); in eap_wsc_process_fragment() [all …]
|
D | eap_ikev2.c | 26 struct wpabuf *in_buf; member 114 wpabuf_free(data->in_buf); in eap_ikev2_deinit() 279 if (len > wpabuf_tailroom(data->in_buf)) { in eap_ikev2_process_cont() 285 wpabuf_put_data(data->in_buf, buf, len); in eap_ikev2_process_cont() 288 (unsigned long) wpabuf_tailroom(data->in_buf)); in eap_ikev2_process_cont() 301 if (data->in_buf == NULL && !(flags & IKEV2_FLAGS_LENGTH_INCLUDED)) { in eap_ikev2_process_fragment() 308 if (data->in_buf == NULL) { in eap_ikev2_process_fragment() 310 data->in_buf = wpabuf_alloc(message_length); in eap_ikev2_process_fragment() 311 if (data->in_buf == NULL) { in eap_ikev2_process_fragment() 317 wpabuf_put_data(data->in_buf, buf, len); in eap_ikev2_process_fragment() [all …]
|
/external/wpa_supplicant_6/wpa_supplicant/src/eap_server/ |
D | eap_tls_common.c | 61 os_free(data->in_buf); in eap_server_tls_ssl_deinit() 188 if (len > wpabuf_tailroom(data->in_buf)) { in eap_server_tls_process_cont() 193 wpabuf_put_data(data->in_buf, buf, len); in eap_server_tls_process_cont() 196 (unsigned long) wpabuf_tailroom(data->in_buf)); in eap_server_tls_process_cont() 207 if (data->in_buf == NULL && !(flags & EAP_TLS_FLAGS_LENGTH_INCLUDED)) { in eap_server_tls_process_fragment() 213 if (data->in_buf == NULL) { in eap_server_tls_process_fragment() 224 data->in_buf = wpabuf_alloc(message_length); in eap_server_tls_process_fragment() 225 if (data->in_buf == NULL) { in eap_server_tls_process_fragment() 229 wpabuf_put_data(data->in_buf, buf, len); in eap_server_tls_process_fragment() 233 (unsigned long) wpabuf_tailroom(data->in_buf)); in eap_server_tls_process_fragment() [all …]
|
D | eap_ikev2.c | 26 struct wpabuf *in_buf; member 129 wpabuf_free(data->in_buf); in eap_ikev2_reset() 285 if (len > wpabuf_tailroom(data->in_buf)) { in eap_ikev2_process_cont() 291 wpabuf_put_data(data->in_buf, buf, len); in eap_ikev2_process_cont() 294 (unsigned long) wpabuf_tailroom(data->in_buf)); in eap_ikev2_process_cont() 305 if (data->in_buf == NULL && !(flags & IKEV2_FLAGS_LENGTH_INCLUDED)) { in eap_ikev2_process_fragment() 311 if (data->in_buf == NULL) { in eap_ikev2_process_fragment() 313 data->in_buf = wpabuf_alloc(message_length); in eap_ikev2_process_fragment() 314 if (data->in_buf == NULL) { in eap_ikev2_process_fragment() 319 wpabuf_put_data(data->in_buf, buf, len); in eap_ikev2_process_fragment() [all …]
|
D | eap_tnc.c | 28 struct wpabuf *in_buf; member 67 wpabuf_free(data->in_buf); in eap_tnc_reset() 362 if (len > wpabuf_tailroom(data->in_buf)) { in eap_tnc_process_cont() 368 wpabuf_put_data(data->in_buf, buf, len); in eap_tnc_process_cont() 371 (unsigned long) wpabuf_tailroom(data->in_buf)); in eap_tnc_process_cont() 382 if (data->in_buf == NULL && !(flags & EAP_TNC_FLAGS_LENGTH_INCLUDED)) { in eap_tnc_process_fragment() 388 if (data->in_buf == NULL) { in eap_tnc_process_fragment() 390 data->in_buf = wpabuf_alloc(message_length); in eap_tnc_process_fragment() 391 if (data->in_buf == NULL) { in eap_tnc_process_fragment() 396 wpabuf_put_data(data->in_buf, buf, len); in eap_tnc_process_fragment() [all …]
|
D | eap_wsc.c | 27 struct wpabuf *in_buf; member 144 wpabuf_free(data->in_buf); in eap_wsc_reset() 288 if (len > wpabuf_tailroom(data->in_buf)) { in eap_wsc_process_cont() 294 wpabuf_put_data(data->in_buf, buf, len); in eap_wsc_process_cont() 297 (unsigned long) wpabuf_tailroom(data->in_buf)); in eap_wsc_process_cont() 308 if (data->in_buf == NULL && !(flags & WSC_FLAGS_LF)) { in eap_wsc_process_fragment() 314 if (data->in_buf == NULL) { in eap_wsc_process_fragment() 316 data->in_buf = wpabuf_alloc(message_length); in eap_wsc_process_fragment() 317 if (data->in_buf == NULL) { in eap_wsc_process_fragment() 323 wpabuf_put_data(data->in_buf, buf, len); in eap_wsc_process_fragment() [all …]
|
D | eap_tls_common.h | 28 struct wpabuf *in_buf; member
|
D | eap_ttls.c | 1127 struct wpabuf *in_buf) in eap_ttls_process_phase2() argument 1136 in_data = wpabuf_mhead(in_buf); in eap_ttls_process_phase2() 1137 in_len = wpabuf_len(in_buf); in eap_ttls_process_phase2() 1321 eap_ttls_process_phase2(sm, data, data->ssl.in_buf); in eap_ttls_process_msg() 1325 if (data->mschapv2_resp_ok && wpabuf_len(data->ssl.in_buf) == in eap_ttls_process_msg() 1340 wpabuf_len(data->ssl.in_buf)); in eap_ttls_process_msg()
|
D | eap_peap.c | 1029 struct wpabuf *in_buf) in eap_peap_process_phase2() argument 1038 in_data = wpabuf_mhead(in_buf); in eap_peap_process_phase2() 1039 in_len = wpabuf_len(in_buf); in eap_peap_process_phase2() 1308 eap_peap_process_phase2(sm, data, respData, data->ssl.in_buf); in eap_peap_process_msg()
|
D | eap_tls.c | 172 if (data->state == SUCCESS && wpabuf_len(data->ssl.in_buf) == 0) { in eap_tls_process_msg()
|
D | eap_fast.c | 1374 struct wpabuf *in_buf) in eap_fast_process_phase2() argument 1382 in_data = wpabuf_mhead(in_buf); in eap_fast_process_phase2() 1383 in_len = wpabuf_len(in_buf); in eap_fast_process_phase2() 1544 eap_fast_process_phase2(sm, data, data->ssl.in_buf); in eap_fast_process_msg()
|
/external/wpa_supplicant_8/src/eap_server/ |
D | eap_server_ikev2.c | 26 struct wpabuf *in_buf; member 130 wpabuf_free(data->in_buf); in eap_ikev2_reset() 286 if (len > wpabuf_tailroom(data->in_buf)) { in eap_ikev2_process_cont() 292 wpabuf_put_data(data->in_buf, buf, len); in eap_ikev2_process_cont() 295 (unsigned long) wpabuf_tailroom(data->in_buf)); in eap_ikev2_process_cont() 306 if (data->in_buf == NULL && !(flags & IKEV2_FLAGS_LENGTH_INCLUDED)) { in eap_ikev2_process_fragment() 312 if (data->in_buf == NULL) { in eap_ikev2_process_fragment() 314 data->in_buf = wpabuf_alloc(message_length); in eap_ikev2_process_fragment() 315 if (data->in_buf == NULL) { in eap_ikev2_process_fragment() 320 wpabuf_put_data(data->in_buf, buf, len); in eap_ikev2_process_fragment() [all …]
|
D | eap_server_wsc.c | 28 struct wpabuf *in_buf; member 164 wpabuf_free(data->in_buf); in eap_wsc_reset() 308 if (len > wpabuf_tailroom(data->in_buf)) { in eap_wsc_process_cont() 314 wpabuf_put_data(data->in_buf, buf, len); in eap_wsc_process_cont() 317 (unsigned long) wpabuf_tailroom(data->in_buf)); in eap_wsc_process_cont() 328 if (data->in_buf == NULL && !(flags & WSC_FLAGS_LF)) { in eap_wsc_process_fragment() 334 if (data->in_buf == NULL) { in eap_wsc_process_fragment() 336 data->in_buf = wpabuf_alloc(message_length); in eap_wsc_process_fragment() 337 if (data->in_buf == NULL) { in eap_wsc_process_fragment() 343 wpabuf_put_data(data->in_buf, buf, len); in eap_wsc_process_fragment() [all …]
|
D | eap_server_tnc.c | 30 struct wpabuf *in_buf; member 104 wpabuf_free(data->in_buf); in eap_tnc_reset() 408 if (len > wpabuf_tailroom(data->in_buf)) { in eap_tnc_process_cont() 414 wpabuf_put_data(data->in_buf, buf, len); in eap_tnc_process_cont() 417 (unsigned long) wpabuf_tailroom(data->in_buf)); in eap_tnc_process_cont() 428 if (data->in_buf == NULL && !(flags & EAP_TNC_FLAGS_LENGTH_INCLUDED)) { in eap_tnc_process_fragment() 434 if (data->in_buf == NULL) { in eap_tnc_process_fragment() 436 data->in_buf = wpabuf_alloc(message_length); in eap_tnc_process_fragment() 437 if (data->in_buf == NULL) { in eap_tnc_process_fragment() 442 wpabuf_put_data(data->in_buf, buf, len); in eap_tnc_process_fragment() [all …]
|
/external/chromium/third_party/libjingle/source/talk/base/ |
D | schanneladapter.cc | 339 CSecBufferBundle<4> in_buf; in DecryptData() local 340 in_buf[0].BufferType = SECBUFFER_DATA; in DecryptData() 341 in_buf[0].cbBuffer = static_cast<unsigned long>(inbuf.size()); in DecryptData() 342 in_buf[0].pvBuffer = &inbuf[0]; in DecryptData() 345 SECURITY_STATUS status = DecryptMessage(&impl_->ctx, in_buf.desc(), 0, 0); in DecryptData() 352 for (size_t i=0; i<in_buf.desc()->cBuffers; ++i) { in DecryptData() 353 if (in_buf[i].BufferType == SECBUFFER_DATA) { in DecryptData() 354 data_len += in_buf[i].cbBuffer; in DecryptData() 356 reinterpret_cast<char*>(in_buf[i].pvBuffer), in DecryptData() 357 reinterpret_cast<char*>(in_buf[i].pvBuffer) + in_buf[i].cbBuffer); in DecryptData() [all …]
|
/external/chromium/net/http/ |
D | http_auth_handler_ntlm.cc | 52 const void* in_buf; in GenerateAuthTokenImpl() 76 in_buf = NULL; in GenerateAuthTokenImpl() 86 in_buf = decoded_auth_data.data(); in GenerateAuthTokenImpl() 89 int rv = GetNextToken(in_buf, in_buf_len, &out_buf, &out_buf_len); in GenerateAuthTokenImpl()
|
D | http_auth_handler_ntlm_portable.cc | 387 static int ParseType2Msg(const void* in_buf, uint32 in_len, Type2Msg* msg) { in ParseType2Msg() argument 400 const uint8* cursor = (const uint8*) in_buf; in ParseType2Msg() 422 msg->target = ((const uint8*) in_buf) + offset; in ParseType2Msg() 455 const void* in_buf, in GenerateType3Msg() argument 464 rv = ParseType2Msg(in_buf, in_len, &msg); in GenerateType3Msg()
|
/external/e2fsprogs/e2fsck/ |
D | argv_parse.c | 45 int argv_parse(char *in_buf, int *ret_argc, char ***ret_argv) in argv_parse() argument 52 buf = malloc(strlen(in_buf)+1); in argv_parse() 58 for (cp = in_buf; (ch = *cp); cp++) { in argv_parse()
|
D | argv_parse.h | 42 extern int argv_parse(char *in_buf, int *ret_argc, char ***ret_argv);
|
/external/qemu/block/ |
D | qcow2-cluster.c | 323 uint8_t *out_buf, const uint8_t *in_buf, in qcow2_encrypt_sectors() argument 336 AES_cbc_encrypt(in_buf, out_buf, 512, key, in qcow2_encrypt_sectors() 339 in_buf += 512; in qcow2_encrypt_sectors()
|
D | qcow2.h | 195 uint8_t *out_buf, const uint8_t *in_buf,
|