Lines Matching refs:inbuf
888 SecBuffer inbuf; in schannel_connect_step1() local
1031 InitSecBuffer(&inbuf, SECBUFFER_APPLICATION_PROTOCOLS, alpn_buffer, cur); in schannel_connect_step1()
1032 InitSecBufferDesc(&inbuf_desc, &inbuf, 1); in schannel_connect_step1()
1038 InitSecBuffer(&inbuf, SECBUFFER_EMPTY, NULL, 0); in schannel_connect_step1()
1039 InitSecBufferDesc(&inbuf_desc, &inbuf, 1); in schannel_connect_step1()
1042 InitSecBuffer(&inbuf, SECBUFFER_EMPTY, NULL, 0); in schannel_connect_step1()
1043 InitSecBufferDesc(&inbuf_desc, &inbuf, 1); in schannel_connect_step1()
1152 SecBuffer inbuf[2]; in schannel_connect_step2() local
1245 InitSecBuffer(&inbuf[0], SECBUFFER_TOKEN, malloc(backend->encdata_offset), in schannel_connect_step2()
1247 InitSecBuffer(&inbuf[1], SECBUFFER_EMPTY, NULL, 0); in schannel_connect_step2()
1248 InitSecBufferDesc(&inbuf_desc, inbuf, 2); in schannel_connect_step2()
1256 if(!inbuf[0].pvBuffer) { in schannel_connect_step2()
1262 memcpy(inbuf[0].pvBuffer, backend->encdata_buffer, in schannel_connect_step2()
1272 Curl_safefree(inbuf[0].pvBuffer); in schannel_connect_step2()
1355 if(inbuf[1].BufferType == SECBUFFER_EXTRA && inbuf[1].cbBuffer > 0) { in schannel_connect_step2()
1357 inbuf[1].cbBuffer)); in schannel_connect_step2()
1370 if(backend->encdata_offset > inbuf[1].cbBuffer) { in schannel_connect_step2()
1373 inbuf[1].cbBuffer, inbuf[1].cbBuffer); in schannel_connect_step2()
1374 backend->encdata_offset = inbuf[1].cbBuffer; in schannel_connect_step2()
1923 SecBuffer inbuf[4]; in schannel_recv() local
2034 InitSecBuffer(&inbuf[0], SECBUFFER_DATA, backend->encdata_buffer, in schannel_recv()
2038 InitSecBuffer(&inbuf[1], SECBUFFER_EMPTY, NULL, 0); in schannel_recv()
2039 InitSecBuffer(&inbuf[2], SECBUFFER_EMPTY, NULL, 0); in schannel_recv()
2040 InitSecBuffer(&inbuf[3], SECBUFFER_EMPTY, NULL, 0); in schannel_recv()
2041 InitSecBufferDesc(&inbuf_desc, inbuf, 4); in schannel_recv()
2054 if(inbuf[1].BufferType == SECBUFFER_DATA) { in schannel_recv()
2056 inbuf[1].cbBuffer)); in schannel_recv()
2059 size = inbuf[1].cbBuffer > CURL_SCHANNEL_BUFFER_FREE_SIZE ? in schannel_recv()
2060 inbuf[1].cbBuffer : CURL_SCHANNEL_BUFFER_FREE_SIZE; in schannel_recv()
2081 size = inbuf[1].cbBuffer; in schannel_recv()
2084 inbuf[1].pvBuffer, size); in schannel_recv()
2095 if(inbuf[3].BufferType == SECBUFFER_EXTRA && inbuf[3].cbBuffer > 0) { in schannel_recv()
2097 inbuf[3].cbBuffer)); in schannel_recv()
2102 if(backend->encdata_offset > inbuf[3].cbBuffer) { in schannel_recv()
2107 inbuf[3].cbBuffer, inbuf[3].cbBuffer); in schannel_recv()
2108 backend->encdata_offset = inbuf[3].cbBuffer; in schannel_recv()