Home
last modified time | relevance | path

Searched refs:tlsv1_client (Results 1 – 9 of 9) sorted by relevance

/freebsd-src/contrib/wpa/src/tls/
H A Dtlsv1_client.h14 struct tlsv1_client;
18 struct tlsv1_client * tlsv1_client_init(void);
19 void tlsv1_client_deinit(struct tlsv1_client *conn);
20 int tlsv1_client_established(struct tlsv1_client *conn);
21 int tlsv1_client_prf(struct tlsv1_client *conn, const char *label,
24 u8 * tlsv1_client_handshake(struct tlsv1_client *conn,
28 int tlsv1_client_encrypt(struct tlsv1_client *conn,
31 struct wpabuf * tlsv1_client_decrypt(struct tlsv1_client *conn,
34 int tlsv1_client_get_cipher(struct tlsv1_client *conn, char *buf,
36 int tlsv1_client_shutdown(struct tlsv1_client *conn);
[all …]
H A Dtlsv1_client_i.h12 struct tlsv1_client { struct
79 void tls_alert(struct tlsv1_client *conn, u8 level, u8 description); argument
80 void tlsv1_client_free_dh(struct tlsv1_client *conn);
81 u16 tls_client_highest_ver(struct tlsv1_client *conn);
82 int tls_derive_pre_master_secret(struct tlsv1_client *conn,
84 int tls_derive_keys(struct tlsv1_client *conn,
86 u8 * tls_send_client_hello(struct tlsv1_client *conn, size_t *out_len);
87 u8 * tlsv1_client_send_alert(struct tlsv1_client *conn, u8 level,
89 u8 * tlsv1_client_handshake_write(struct tlsv1_client *conn, size_t *out_len,
91 int tlsv1_client_process_handshake(struct tlsv1_client *conn, u8 ct,
[all …]
H A Dtlsv1_client.c25 void tls_alert(struct tlsv1_client *conn, u8 level, u8 description) in tls_alert()
32 void tlsv1_client_free_dh(struct tlsv1_client *conn) in tlsv1_client_free_dh()
41 u16 tls_client_highest_ver(struct tlsv1_client *conn) in tls_client_highest_ver()
64 int tls_derive_pre_master_secret(struct tlsv1_client *conn, in tls_derive_pre_master_secret()
75 int tls_derive_keys(struct tlsv1_client *conn, in tls_derive_keys()
163 u8 * tlsv1_client_handshake(struct tlsv1_client *conn, in tlsv1_client_handshake()
297 int tlsv1_client_encrypt(struct tlsv1_client *conn, in tlsv1_client_encrypt()
330 struct wpabuf * tlsv1_client_decrypt(struct tlsv1_client *conn, in tlsv1_client_decrypt()
465 struct tlsv1_client * tlsv1_client_init(void) in tlsv1_client_init()
467 struct tlsv1_client *conn; in tlsv1_client_init()
[all …]
H A Dtlsv1_client_write.c24 static size_t tls_client_cert_chain_der_len(struct tlsv1_client *conn) in tls_client_cert_chain_der_len()
45 u8 * tls_send_client_hello(struct tlsv1_client *conn, size_t *out_len) in tls_send_client_hello()
252 static int tls_write_client_certificate(struct tlsv1_client *conn, in tls_write_client_certificate()
336 static int tlsv1_key_x_dh(struct tlsv1_client *conn, u8 **pos, u8 *end) in tlsv1_key_x_dh()
459 static int tlsv1_key_x_rsa(struct tlsv1_client *conn, u8 **pos, u8 *end) in tlsv1_key_x_rsa()
506 static int tls_write_client_key_exchange(struct tlsv1_client *conn, in tls_write_client_key_exchange()
564 static int tls_write_client_certificate_verify(struct tlsv1_client *conn, in tls_write_client_certificate_verify()
736 static int tls_write_client_change_cipher_spec(struct tlsv1_client *conn, in tls_write_client_change_cipher_spec()
769 static int tls_write_client_finished(struct tlsv1_client *conn, in tls_write_client_finished()
860 static u8 * tls_send_client_key_exchange(struct tlsv1_client *conn, in tls_send_client_key_exchange()
[all …]
H A Dtlsv1_client_read.c19 #include "tlsv1_client.h"
22 static int tls_process_server_key_exchange(struct tlsv1_client *conn, u8 ct,
24 static int tls_process_certificate_request(struct tlsv1_client *conn, u8 ct,
26 static int tls_process_server_hello_done(struct tlsv1_client *conn, u8 ct,
30 static int tls_version_disabled(struct tlsv1_client *conn, u16 ver) in tls_version_disabled()
41 static int tls_process_server_hello_extensions(struct tlsv1_client *conn, in tls_process_server_hello_extensions()
78 static int tls_process_server_hello(struct tlsv1_client *conn, u8 ct, in tls_process_server_hello()
279 static void tls_peer_cert_event(struct tlsv1_client *conn, int depth, in tls_peer_cert_event()
328 static void tls_cert_chain_failure_event(struct tlsv1_client *conn, int depth, in tls_cert_chain_failure_event()
354 static int tls_process_certificate(struct tlsv1_client *con
[all...]
H A DMakefile13 tlsv1_client.o \
H A Dtlsv1_client_ocsp.c110 static int tls_process_ocsp_single_response(struct tlsv1_client *conn, in tls_process_ocsp_single_response()
311 tls_process_ocsp_responses(struct tlsv1_client *conn, in tls_process_ocsp_responses()
344 tls_process_basic_ocsp_response(struct tlsv1_client *conn, in tls_process_basic_ocsp_response()
648 enum tls_ocsp_result tls_process_ocsp_response(struct tlsv1_client *conn, in tls_process_ocsp_response()
/freebsd-src/usr.sbin/wpa/src/tls/
H A DMakefile22 tlsv1_client.c \
/freebsd-src/contrib/wpa/src/crypto/
H A Dtls_internal.c16 #include "tls/tlsv1_client.h"
34 struct tlsv1_client *client;