Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/components/wpa_supplicant/src/tls/
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,
23 u8 * tlsv1_client_handshake(struct tlsv1_client *conn,
27 int tlsv1_client_encrypt(struct tlsv1_client *conn,
30 struct wpabuf * tlsv1_client_decrypt(struct tlsv1_client *conn,
33 int tlsv1_client_get_cipher(struct tlsv1_client *conn, char *buf,
35 int tlsv1_client_shutdown(struct tlsv1_client *conn);
[all …]
Dtlsv1_client_i.h12 struct tlsv1_client { struct
70 void tls_alert(struct tlsv1_client *conn, u8 level, u8 description); argument
71 void tlsv1_client_free_dh(struct tlsv1_client *conn);
73 int tls_derive_keys(struct tlsv1_client *conn,
75 u8 * tls_send_client_hello(struct tlsv1_client *conn, size_t *out_len);
76 u8 * tlsv1_client_send_alert(struct tlsv1_client *conn, u8 level,
78 u8 * tlsv1_client_handshake_write(struct tlsv1_client *conn, size_t *out_len,
80 int tlsv1_client_process_handshake(struct tlsv1_client *conn, u8 ct,
Dtlsv1_client.c24 void tls_alert(struct tlsv1_client *conn, u8 level, u8 description) in tls_alert()
31 void tlsv1_client_free_dh(struct tlsv1_client *conn) in tlsv1_client_free_dh()
50 int tls_derive_keys(struct tlsv1_client *conn, in tls_derive_keys()
139 u8 * tlsv1_client_handshake(struct tlsv1_client *conn, in tlsv1_client_handshake()
273 int tlsv1_client_encrypt(struct tlsv1_client *conn, in tlsv1_client_encrypt()
306 struct wpabuf * tlsv1_client_decrypt(struct tlsv1_client *conn, in tlsv1_client_decrypt()
441 struct tlsv1_client * tlsv1_client_init(void) in tlsv1_client_init()
443 struct tlsv1_client *conn; in tlsv1_client_init()
447 conn = (struct tlsv1_client *)os_zalloc(sizeof(*conn)); in tlsv1_client_init()
483 void tlsv1_client_deinit(struct tlsv1_client *conn) in tlsv1_client_deinit()
[all …]
Dtlsv1_client_write.c25 static size_t tls_client_cert_chain_der_len(struct tlsv1_client *conn) in tls_client_cert_chain_der_len()
46 u8 * tls_send_client_hello(struct tlsv1_client *conn, size_t *out_len) in tls_send_client_hello()
161 static int tls_write_client_certificate(struct tlsv1_client *conn, in tls_write_client_certificate()
240 static int tlsv1_key_x_anon_dh(struct tlsv1_client *conn, u8 **pos, u8 *end) in tlsv1_key_x_anon_dh()
356 static int tlsv1_key_x_rsa(struct tlsv1_client *conn, u8 **pos, u8 *end) in tlsv1_key_x_rsa()
403 static int tls_write_client_key_exchange(struct tlsv1_client *conn, in tls_write_client_key_exchange()
461 static int tls_write_client_certificate_verify(struct tlsv1_client *conn, in tls_write_client_certificate_verify()
639 static int tls_write_client_change_cipher_spec(struct tlsv1_client *conn, in tls_write_client_change_cipher_spec()
672 static int tls_write_client_finished(struct tlsv1_client *conn, in tls_write_client_finished()
763 static u8 * tls_send_client_key_exchange(struct tlsv1_client *conn, in tls_send_client_key_exchange()
[all …]
Dtlsv1_client_read.c23 static int tls_process_server_key_exchange(struct tlsv1_client *conn, u8 ct,
25 static int tls_process_certificate_request(struct tlsv1_client *conn, u8 ct,
27 static int tls_process_server_hello_done(struct tlsv1_client *conn, u8 ct,
31 static int tls_process_server_hello(struct tlsv1_client *conn, u8 ct, in tls_process_server_hello()
215 static int tls_process_certificate(struct tlsv1_client *conn, u8 ct, in tls_process_certificate()
411 static int tlsv1_process_diffie_hellman(struct tlsv1_client *conn, in tlsv1_process_diffie_hellman()
534 static int tls_process_server_key_exchange(struct tlsv1_client *conn, u8 ct, in tls_process_server_key_exchange()
624 static int tls_process_certificate_request(struct tlsv1_client *conn, u8 ct, in tls_process_certificate_request()
687 static int tls_process_server_hello_done(struct tlsv1_client *conn, u8 ct, in tls_process_server_hello_done()
743 static int tls_process_server_change_cipher_spec(struct tlsv1_client *conn, in tls_process_server_change_cipher_spec()
[all …]
Dtls_internal.c30 struct tlsv1_client *client;
/hal_espressif-3.6.0/components/wpa_supplicant/
Dcomponent.mk19 src/tls/tlsv1_client.o \
DCMakeLists.txt80 "src/tls/tlsv1_client.c"