Home
last modified time | relevance | path

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

/trueos/contrib/wpa/src/tls/
HDtlsv1_record.c31 u16 cipher_suite) in tlsv1_record_set_cipher_suite() argument
37 cipher_suite); in tlsv1_record_set_cipher_suite()
38 rl->cipher_suite = cipher_suite; in tlsv1_record_set_cipher_suite()
40 suite = tls_get_cipher_suite(cipher_suite); in tlsv1_record_set_cipher_suite()
78 "0x%04x", rl->cipher_suite); in tlsv1_record_change_write_cipher()
79 rl->write_cipher_suite = rl->cipher_suite; in tlsv1_record_change_write_cipher()
112 "0x%04x", rl->cipher_suite); in tlsv1_record_change_read_cipher()
113 rl->read_cipher_suite = rl->cipher_suite; in tlsv1_record_change_read_cipher()
HDtlsv1_client_read.c35 u16 cipher_suite; in tls_process_server_hello() local
123 cipher_suite = WPA_GET_BE16(pos); in tls_process_server_hello()
126 if (cipher_suite == conn->cipher_suites[i]) in tls_process_server_hello()
131 "cipher suite 0x%04x", cipher_suite); in tls_process_server_hello()
137 if (conn->session_resumed && cipher_suite != conn->prev_cipher_suite) { in tls_process_server_hello()
140 "0x%04x)", cipher_suite, conn->prev_cipher_suite); in tls_process_server_hello()
146 if (tlsv1_record_set_cipher_suite(&conn->rl, cipher_suite) < 0) { in tls_process_server_hello()
154 conn->prev_cipher_suite = cipher_suite; in tls_process_server_hello()
536 if (!tls_server_key_exchange_allowed(conn->rl.cipher_suite)) { in tls_process_server_key_exchange()
545 suite = tls_get_cipher_suite(conn->rl.cipher_suite); in tls_process_server_key_exchange()
HDtlsv1_record.h51 u16 cipher_suite; member
61 u16 cipher_suite);
HDtlsv1_server_read.c35 u16 cipher_suite; in tls_process_client_hello() local
138 cipher_suite = 0; in tls_process_client_hello()
139 for (i = 0; !cipher_suite && i < conn->num_cipher_suites; i++) { in tls_process_client_hello()
144 if (!cipher_suite && tmp == conn->cipher_suites[i]) { in tls_process_client_hello()
145 cipher_suite = tmp; in tls_process_client_hello()
151 if (!cipher_suite) { in tls_process_client_hello()
159 if (tlsv1_record_set_cipher_suite(&conn->rl, cipher_suite) < 0) { in tls_process_client_hello()
167 conn->cipher_suite = cipher_suite; in tls_process_client_hello()
744 suite = tls_get_cipher_suite(conn->rl.cipher_suite); in tls_process_client_key_exchange()
HDtlsv1_server_write.c95 WPA_PUT_BE16(pos, conn->cipher_suite); in tls_write_server_hello()
164 suite = tls_get_cipher_suite(conn->rl.cipher_suite); in tls_write_server_certificate()
253 suite = tls_get_cipher_suite(conn->rl.cipher_suite); in tls_write_server_key_exchange()
259 if (!tls_server_key_exchange_allowed(conn->rl.cipher_suite)) { in tls_write_server_key_exchange()
HDtlsv1_server_i.h41 u16 cipher_suite; member
HDtlsv1_server.c466 switch (conn->rl.cipher_suite) { in tlsv1_server_get_cipher()
HDtlsv1_client.c555 switch (conn->rl.cipher_suite) { in tlsv1_client_get_cipher()
HDtlsv1_client_write.c379 suite = tls_get_cipher_suite(conn->rl.cipher_suite); in tls_write_client_key_exchange()