Lines Matching refs:ssl_t
115 static void kssl_update_handshake_hashes(ssl_t *, uchar_t *, uint_t);
116 static int kssl_compute_handshake_hashes(ssl_t *, SSL3Hashes *, uint32_t);
117 static int kssl_handle_client_hello(ssl_t *, mblk_t *, int);
118 static int kssl_handle_client_key_exchange(ssl_t *, mblk_t *, int,
120 static int kssl_send_server_hello(ssl_t *);
121 static int kssl_send_certificate_and_server_hello_done(ssl_t *);
122 static int kssl_send_change_cipher_specs(ssl_t *);
123 static int kssl_send_finished(ssl_t *, int);
124 static int kssl_handle_finished(ssl_t *, mblk_t *, int);
130 static int kssl_generate_tls_ms(ssl_t *, uchar_t *, size_t);
131 static void kssl_generate_ssl_ms(ssl_t *, uchar_t *, size_t);
132 static int kssl_generate_tls_keyblock(ssl_t *);
133 static void kssl_generate_keyblock(ssl_t *);
134 static void kssl_ssl3_key_material_derive_step(ssl_t *, uchar_t *, size_t,
136 static int kssl_tls_PRF(ssl_t *, uchar_t *, size_t,
163 ssl_t *ssl,
277 kssl_handle_handshake_message(ssl_t *ssl, mblk_t *mp, int *err,
362 kssl_update_handshake_hashes(ssl_t *ssl, uchar_t *buf, uint_t len)
370 ssl_t *ssl,
458 kssl_handle_client_hello(ssl_t *ssl, mblk_t *mp, int msglen)
970 kssl_send_server_hello(ssl_t *ssl)
1140 kssl_tls_PRF(ssl_t *ssl,
1218 kssl_generate_tls_ms(ssl_t *ssl, uchar_t *pms, size_t pmslen)
1250 kssl_generate_ssl_ms(ssl_t *ssl, uchar_t *pms, size_t pmslen)
1271 kssl_generate_tls_keyblock(ssl_t *ssl)
1290 kssl_generate_keyblock(ssl_t *ssl)
1314 ssl_t *ssl,
1353 kssl_send_certificate_and_server_hello_done(ssl_t *ssl)
1439 kssl_send_change_cipher_specs(ssl_t *ssl)
1483 kssl_spec_init(ssl_t *ssl, int dir)
1618 kssl_send_finished(ssl_t *ssl, int update_hsh)
1700 kssl_mac_encrypt_record(ssl_t *ssl,
1773 kssl_send_alert(ssl_t *ssl, SSL3AlertLevel level, SSL3AlertDescription desc)
1847 kssl_handle_client_key_exchange(ssl_t *ssl, mblk_t *mp, int msglen,
2009 kssl_handle_finished(ssl_t *ssl, mblk_t *mp, int msglen)
2074 kssl_handle_v2client_hello(ssl_t *ssl, mblk_t *mp, int recsz)
2249 ssl_t *ssl = (ssl_t *)arg;
2321 kssl_get_next_record(ssl_t *ssl)
2424 kssl_mblksfree(ssl_t *ssl)
2452 kssl_specsfree(ssl_t *ssl)
2475 kssl_free_context(ssl_t *ssl)