Lines Matching defs:buf
278 /* starts at buf + 5 and excludes padding */
1242 e[LWS_GENCRYPTO_RSA_KEYEL_E].buf = pp;
1246 e[LWS_GENCRYPTO_RSA_KEYEL_N].buf = pp;
2013 uint8_t buf[LWS_PRE + 1024], *pp, *ps = &buf[LWS_PRE + 512], *ps1 = NULL;
2166 n = lws_snprintf((char *)buf + LWS_PRE,
2167 sizeof(buf) - LWS_PRE - 1, "%s\r\n",
2176 n = (int)offer(pss, buf + LWS_PRE,
2177 sizeof(buf) - LWS_PRE, 0, &m);
2200 memcpy(pss->kex->I_S, buf + LWS_PRE + 5, (unsigned int)m);
2206 n = (int)pad_and_encrypt(&buf[LWS_PRE], ps,
2249 n = (int)pss->vhd->ops->banner((char *)&buf[650],
2254 strcpy((char *)pp, (char *)&buf[650]);
2271 if (n > (int)sizeof(buf) - LWS_PRE) {
2455 &buf[sizeof(buf) - 1], pp));
2469 n = (int)pad_and_encrypt(&buf[LWS_PRE], ps, pp, pss, 0);
2481 m = lws_write(wsi, (unsigned char *)buf + LWS_PRE, (unsigned int)n,