Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/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
79 void tls_alert(struct tlsv1_client *conn, u8 level, u8 description); argument
80 void tlsv1_client_free_dh(struct tlsv1_client *conn);
82 int tls_derive_keys(struct tlsv1_client *conn,
84 u8 * tls_send_client_hello(struct tlsv1_client *conn, size_t *out_len);
85 u8 * tlsv1_client_send_alert(struct tlsv1_client *conn, u8 level,
87 u8 * tlsv1_client_handshake_write(struct tlsv1_client *conn, size_t *out_len,
89 int tlsv1_client_process_handshake(struct tlsv1_client *conn, u8 ct,
97 enum tls_ocsp_result tls_process_ocsp_response(struct tlsv1_client *conn,
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()
51 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()
486 void tlsv1_client_deinit(struct tlsv1_client *conn) in tlsv1_client_deinit()
507 int tlsv1_client_established(struct tlsv1_client *conn) in tlsv1_client_established()
[all …]
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()
261 static int tls_write_client_certificate(struct tlsv1_client *conn, in tls_write_client_certificate()
345 static int tlsv1_key_x_dh(struct tlsv1_client *conn, u8 **pos, u8 *end) in tlsv1_key_x_dh()
468 static int tlsv1_key_x_rsa(struct tlsv1_client *conn, u8 **pos, u8 *end) in tlsv1_key_x_rsa()
515 static int tls_write_client_key_exchange(struct tlsv1_client *conn, in tls_write_client_key_exchange()
573 static int tls_write_client_certificate_verify(struct tlsv1_client *conn, in tls_write_client_certificate_verify()
745 static int tls_write_client_change_cipher_spec(struct tlsv1_client *conn, in tls_write_client_change_cipher_spec()
778 static int tls_write_client_finished(struct tlsv1_client *conn, in tls_write_client_finished()
869 static u8 * tls_send_client_key_exchange(struct tlsv1_client *conn, in tls_send_client_key_exchange()
[all …]
Dtlsv1_client_read.c22 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()
320 static void tls_cert_chain_failure_event(struct tlsv1_client *conn, int depth, in tls_cert_chain_failure_event()
346 static int tls_process_certificate(struct tlsv1_client *conn, u8 ct, in tls_process_certificate()
656 static int tlsv1_process_diffie_hellman(struct tlsv1_client *conn, in tlsv1_process_diffie_hellman()
[all …]
DMakefile24 tlsv1_client.o \
Dtlsv1_client_ocsp.c110 static int tls_process_ocsp_single_response(struct tlsv1_client *conn, in tls_process_ocsp_single_response()
318 tls_process_ocsp_responses(struct tlsv1_client *conn, in tls_process_ocsp_responses()
353 tls_process_basic_ocsp_response(struct tlsv1_client *conn, in tls_process_basic_ocsp_response()
679 enum tls_ocsp_result tls_process_ocsp_response(struct tlsv1_client *conn, in tls_process_ocsp_response()
/external/wpa_supplicant_8/src/crypto/
Dtls_internal.c34 struct tlsv1_client *client;