Lines Matching refs:bufs
474 SecBuffer bufs[4];
495 os_memset(&bufs, 0, sizeof(bufs));
496 bufs[0].pvBuffer = wpabuf_put(out, sizes.cbHeader);
497 bufs[0].cbBuffer = sizes.cbHeader;
498 bufs[0].BufferType = SECBUFFER_STREAM_HEADER;
500 bufs[1].pvBuffer = wpabuf_put(out, 0);
502 bufs[1].cbBuffer = wpabuf_len(in_data);
503 bufs[1].BufferType = SECBUFFER_DATA;
505 bufs[2].pvBuffer = wpabuf_put(out, sizes.cbTrailer);
506 bufs[2].cbBuffer = sizes.cbTrailer;
507 bufs[2].BufferType = SECBUFFER_STREAM_TRAILER;
511 buf.pBuffers = bufs;
519 (int) bufs[0].cbBuffer, (int) bufs[0].BufferType,
520 (int) bufs[1].cbBuffer, (int) bufs[1].BufferType,
521 (int) bufs[2].cbBuffer, (int) bufs[2].BufferType);
523 "out_data=%p bufs %p %p %p",
524 wpabuf_head(out), bufs[0].pvBuffer, bufs[1].pvBuffer,
525 bufs[2].pvBuffer);
528 if (bufs[i].pvBuffer && bufs[i].BufferType != SECBUFFER_EMPTY)
530 wpa_hexdump(MSG_MSGDUMP, "SChannel: bufs",
531 bufs[i].pvBuffer, bufs[i].cbBuffer);
556 SecBuffer bufs[4];
562 os_memset(&bufs, 0, sizeof(bufs));
566 bufs[0].pvBuffer = wpabuf_mhead(tmp);
567 bufs[0].cbBuffer = wpabuf_len(in_data);
568 bufs[0].BufferType = SECBUFFER_DATA;
570 bufs[1].BufferType = SECBUFFER_EMPTY;
571 bufs[2].BufferType = SECBUFFER_EMPTY;
572 bufs[3].BufferType = SECBUFFER_EMPTY;
576 buf.pBuffers = bufs;
584 (int) bufs[0].cbBuffer, (int) bufs[0].BufferType,
585 (int) bufs[1].cbBuffer, (int) bufs[1].BufferType,
586 (int) bufs[2].cbBuffer, (int) bufs[2].BufferType,
587 (int) bufs[3].cbBuffer, (int) bufs[3].BufferType);
589 "out_data=%p bufs %p %p %p %p",
590 wpabuf_head(tmp), bufs[0].pvBuffer, bufs[1].pvBuffer,
591 bufs[2].pvBuffer, bufs[3].pvBuffer);
601 if (bufs[i].BufferType == SECBUFFER_DATA)
612 bufs[i].pvBuffer, bufs[i].cbBuffer);
613 bufs[i].pvBuffer, bufs[i].cbBuffer);