Lines Matching defs:cert_buf
196 uchar_t *cert_buf;
240 cert_buf = kmem_alloc(cert_buf_len, KM_SLEEP);
242 cert_buf[0] = (uchar_t)certificate;
243 copy_int_to_bytearray(len, & cert_buf[1]);
244 copy_int_to_bytearray(len - 3, & cert_buf[4]);
248 cert_to = &cert_buf[7];
255 kmem_free(cert_buf, cert_buf_len);
265 cert_buf[len] = (uchar_t)server_hello_done;
266 copy_int_to_bytearray(0, & cert_buf[len + 1]);
269 cert->msg = cert_buf;