Home
last modified time | relevance | path

Searched refs:in_buf (Results 1 – 18 of 18) sorted by relevance

/external/wpa_supplicant_8/src/eap_peer/
Deap_tnc.c19 struct wpabuf *in_buf; member
58 wpabuf_free(data->in_buf); in eap_tnc_deinit()
147 if (len > wpabuf_tailroom(data->in_buf)) { in eap_tnc_process_cont()
153 wpabuf_put_data(data->in_buf, buf, len); in eap_tnc_process_cont()
156 (unsigned long) wpabuf_tailroom(data->in_buf)); in eap_tnc_process_cont()
169 if (data->in_buf == NULL && !(flags & EAP_TNC_FLAGS_LENGTH_INCLUDED)) { in eap_tnc_process_fragment()
176 if (data->in_buf == NULL) { in eap_tnc_process_fragment()
178 data->in_buf = wpabuf_alloc(message_length); in eap_tnc_process_fragment()
179 if (data->in_buf == NULL) { in eap_tnc_process_fragment()
185 wpabuf_put_data(data->in_buf, buf, len); in eap_tnc_process_fragment()
[all …]
Deap_ikev2.c20 struct wpabuf *in_buf; member
108 wpabuf_free(data->in_buf); in eap_ikev2_deinit()
273 if (len > wpabuf_tailroom(data->in_buf)) { in eap_ikev2_process_cont()
279 wpabuf_put_data(data->in_buf, buf, len); in eap_ikev2_process_cont()
282 (unsigned long) wpabuf_tailroom(data->in_buf)); in eap_ikev2_process_cont()
295 if (data->in_buf == NULL && !(flags & IKEV2_FLAGS_LENGTH_INCLUDED)) { in eap_ikev2_process_fragment()
302 if (data->in_buf == NULL) { in eap_ikev2_process_fragment()
304 data->in_buf = wpabuf_alloc(message_length); in eap_ikev2_process_fragment()
305 if (data->in_buf == NULL) { in eap_ikev2_process_fragment()
311 wpabuf_put_data(data->in_buf, buf, len); in eap_ikev2_process_fragment()
[all …]
Deap_wsc.c22 struct wpabuf *in_buf; member
266 wpabuf_free(data->in_buf); in eap_wsc_deinit()
353 if (len > wpabuf_tailroom(data->in_buf)) { in eap_wsc_process_cont()
359 wpabuf_put_data(data->in_buf, buf, len); in eap_wsc_process_cont()
362 (unsigned long) wpabuf_tailroom(data->in_buf)); in eap_wsc_process_cont()
375 if (data->in_buf == NULL && !(flags & WSC_FLAGS_LF)) { in eap_wsc_process_fragment()
382 if (data->in_buf == NULL) { in eap_wsc_process_fragment()
384 data->in_buf = wpabuf_alloc(message_length); in eap_wsc_process_fragment()
385 if (data->in_buf == NULL) { in eap_wsc_process_fragment()
392 wpabuf_put_data(data->in_buf, buf, len); in eap_wsc_process_fragment()
[all …]
/external/wpa_supplicant_8/src/eap_server/
Deap_server_ikev2.c20 struct wpabuf *in_buf; member
124 wpabuf_free(data->in_buf); in eap_ikev2_reset()
280 if (len > wpabuf_tailroom(data->in_buf)) { in eap_ikev2_process_cont()
286 wpabuf_put_data(data->in_buf, buf, len); in eap_ikev2_process_cont()
289 (unsigned long) wpabuf_tailroom(data->in_buf)); in eap_ikev2_process_cont()
300 if (data->in_buf == NULL && !(flags & IKEV2_FLAGS_LENGTH_INCLUDED)) { in eap_ikev2_process_fragment()
306 if (data->in_buf == NULL) { in eap_ikev2_process_fragment()
308 data->in_buf = wpabuf_alloc(message_length); in eap_ikev2_process_fragment()
309 if (data->in_buf == NULL) { in eap_ikev2_process_fragment()
314 wpabuf_put_data(data->in_buf, buf, len); in eap_ikev2_process_fragment()
[all …]
Deap_server_wsc.c22 struct wpabuf *in_buf; member
158 wpabuf_free(data->in_buf); in eap_wsc_reset()
302 if (len > wpabuf_tailroom(data->in_buf)) { in eap_wsc_process_cont()
308 wpabuf_put_data(data->in_buf, buf, len); in eap_wsc_process_cont()
311 (unsigned long) wpabuf_tailroom(data->in_buf)); in eap_wsc_process_cont()
322 if (data->in_buf == NULL && !(flags & WSC_FLAGS_LF)) { in eap_wsc_process_fragment()
328 if (data->in_buf == NULL) { in eap_wsc_process_fragment()
330 data->in_buf = wpabuf_alloc(message_length); in eap_wsc_process_fragment()
331 if (data->in_buf == NULL) { in eap_wsc_process_fragment()
337 wpabuf_put_data(data->in_buf, buf, len); in eap_wsc_process_fragment()
[all …]
Deap_server_tnc.c23 struct wpabuf *in_buf; member
97 wpabuf_free(data->in_buf); in eap_tnc_reset()
401 if (len > wpabuf_tailroom(data->in_buf)) { in eap_tnc_process_cont()
407 wpabuf_put_data(data->in_buf, buf, len); in eap_tnc_process_cont()
410 (unsigned long) wpabuf_tailroom(data->in_buf)); in eap_tnc_process_cont()
421 if (data->in_buf == NULL && !(flags & EAP_TNC_FLAGS_LENGTH_INCLUDED)) { in eap_tnc_process_fragment()
427 if (data->in_buf == NULL) { in eap_tnc_process_fragment()
429 data->in_buf = wpabuf_alloc(message_length); in eap_tnc_process_fragment()
430 if (data->in_buf == NULL) { in eap_tnc_process_fragment()
435 wpabuf_put_data(data->in_buf, buf, len); in eap_tnc_process_fragment()
[all …]
Deap_server_ttls.c948 struct wpabuf *in_buf) in eap_ttls_process_phase2() argument
954 " Phase 2", (unsigned long) wpabuf_len(in_buf)); in eap_ttls_process_phase2()
968 in_buf); in eap_ttls_process_phase2()
Deap_server_peap.c1030 struct wpabuf *in_buf) in eap_peap_process_phase2() argument
1037 " Phase 2", (unsigned long) wpabuf_len(in_buf)); in eap_peap_process_phase2()
1050 in_buf); in eap_peap_process_phase2()
Deap_server_fast.c1373 struct wpabuf *in_buf) in eap_fast_process_phase2() argument
1378 " Phase 2", (unsigned long) wpabuf_len(in_buf)); in eap_fast_process_phase2()
1391 in_buf); in eap_fast_process_phase2()
/external/chromium/third_party/libjingle/source/talk/base/
Dschanneladapter.cc339 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/
Dhttp_auth_handler_ntlm.cc52 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()
Dhttp_auth_handler_ntlm_portable.cc391 static int ParseType2Msg(const void* in_buf, uint32 in_len, Type2Msg* msg) { in ParseType2Msg() argument
404 const uint8* cursor = (const uint8*) in_buf; in ParseType2Msg()
426 msg->target = ((const uint8*) in_buf) + offset; in ParseType2Msg()
459 const void* in_buf, in GenerateType3Msg() argument
468 rv = ParseType2Msg(in_buf, in_len, &msg); in GenerateType3Msg()
/external/e2fsprogs/e2fsck/
Dargv_parse.c45 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()
Dargv_parse.h42 extern int argv_parse(char *in_buf, int *ret_argc, char ***ret_argv);
/external/openssh/
Dumac.c189 UINT8 in_buf[AES_BLOCK_LEN] = {0}; in kdf() local
195 in_buf[AES_BLOCK_LEN-9] = ndx; in kdf()
196 in_buf[AES_BLOCK_LEN-1] = i = 1; in kdf()
199 aes_encryption(in_buf, out_buf, key); in kdf()
201 in_buf[AES_BLOCK_LEN-1] = ++i; in kdf()
206 aes_encryption(in_buf, out_buf, key); in kdf()
/external/qemu/block/
Dqcow2-cluster.c323 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()
Dqcow2.h195 uint8_t *out_buf, const uint8_t *in_buf,
Dqcow.c218 uint8_t *out_buf, const uint8_t *in_buf, in encrypt_sectors() argument
231 AES_cbc_encrypt(in_buf, out_buf, 512, key, in encrypt_sectors()
234 in_buf += 512; in encrypt_sectors()