Searched refs:cert_buf (Results 1 – 2 of 2) sorted by relevance
196 uchar_t *cert_buf; in extract_certificate() local240 cert_buf = kmem_alloc(cert_buf_len, KM_SLEEP); in extract_certificate()242 cert_buf[0] = (uchar_t)certificate; in extract_certificate()243 copy_int_to_bytearray(len, & cert_buf[1]); in extract_certificate()244 copy_int_to_bytearray(len - 3, & cert_buf[4]); in extract_certificate()248 cert_to = &cert_buf[7]; in extract_certificate()255 kmem_free(cert_buf, cert_buf_len); in extract_certificate()265 cert_buf[len] = (uchar_t)server_hello_done; in extract_certificate()266 copy_int_to_bytearray(0, & cert_buf[len + 1]); in extract_certificate()269 cert->msg = cert_buf; in extract_certificate()
1359 uchar_t *cert_buf; in kssl_send_certificate_and_server_hello_done() local1369 cert_buf = cert->msg; in kssl_send_certificate_and_server_hello_done()1390 msgbuf = cert_buf; in kssl_send_certificate_and_server_hello_done()1433 kssl_update_handshake_hashes(ssl, cert_buf, cert_len); in kssl_send_certificate_and_server_hello_done()