Home | History | Annotate | Download | only in socket

Lines Matching full:buffers

1256     SecBuffer buffers[4];
1257 buffers[0].pvBuffer = recv_buffer_.get();
1258 buffers[0].cbBuffer = bytes_received_;
1259 buffers[0].BufferType = SECBUFFER_DATA;
1261 buffers[1].BufferType = SECBUFFER_EMPTY;
1262 buffers[2].BufferType = SECBUFFER_EMPTY;
1263 buffers[3].BufferType = SECBUFFER_EMPTY;
1267 buffer_desc.pBuffers = buffers;
1298 switch (buffers[i].BufferType) {
1301 decrypted_ptr_ = static_cast<char*>(buffers[i].pvBuffer);
1302 bytes_decrypted_ = buffers[i].cbBuffer;
1306 received_ptr_ = static_cast<char*>(buffers[i].pvBuffer);
1307 bytes_received_ = buffers[i].cbBuffer;
1391 SecBuffer buffers[4];
1392 buffers[0].pvBuffer = payload_send_buffer_.get();
1393 buffers[0].cbBuffer = stream_sizes_.cbHeader;
1394 buffers[0].BufferType = SECBUFFER_STREAM_HEADER;
1396 buffers[1].pvBuffer = &payload_send_buffer_[stream_sizes_.cbHeader];
1397 buffers[1].cbBuffer = message_len;
1398 buffers[1].BufferType = SECBUFFER_DATA;
1400 buffers[2].pvBuffer = &payload_send_buffer_[stream_sizes_.cbHeader +
1402 buffers[2].cbBuffer = stream_sizes_.cbTrailer;
1403 buffers[2].BufferType = SECBUFFER_STREAM_TRAILER;
1405 buffers[3].BufferType = SECBUFFER_EMPTY;
1409 buffer_desc.pBuffers = buffers;
1419 payload_send_buffer_len_ = buffers[0].cbBuffer +
1420 buffers[1].cbBuffer +
1421 buffers[2].cbBuffer;