Home
last modified time | relevance | path

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

/external/wpa_supplicant_6/wpa_supplicant/src/tls/
Dtlsv1_record.c36 u16 cipher_suite) in tlsv1_record_set_cipher_suite() argument
42 cipher_suite); in tlsv1_record_set_cipher_suite()
43 rl->cipher_suite = cipher_suite; in tlsv1_record_set_cipher_suite()
45 suite = tls_get_cipher_suite(cipher_suite); in tlsv1_record_set_cipher_suite()
80 "0x%04x", rl->cipher_suite); in tlsv1_record_change_write_cipher()
81 rl->write_cipher_suite = rl->cipher_suite; in tlsv1_record_change_write_cipher()
114 "0x%04x", rl->cipher_suite); in tlsv1_record_change_read_cipher()
115 rl->read_cipher_suite = rl->cipher_suite; in tlsv1_record_change_read_cipher()
Dtlsv1_client_read.c40 u16 cipher_suite; in tls_process_server_hello() local
122 cipher_suite = WPA_GET_BE16(pos); in tls_process_server_hello()
125 if (cipher_suite == conn->cipher_suites[i]) in tls_process_server_hello()
130 "cipher suite 0x%04x", cipher_suite); in tls_process_server_hello()
136 if (conn->session_resumed && cipher_suite != conn->prev_cipher_suite) { in tls_process_server_hello()
139 "0x%04x)", cipher_suite, conn->prev_cipher_suite); in tls_process_server_hello()
145 if (tlsv1_record_set_cipher_suite(&conn->rl, cipher_suite) < 0) { in tls_process_server_hello()
153 conn->prev_cipher_suite = cipher_suite; in tls_process_server_hello()
534 if (!tls_server_key_exchange_allowed(conn->rl.cipher_suite)) { in tls_process_server_key_exchange()
543 suite = tls_get_cipher_suite(conn->rl.cipher_suite); in tls_process_server_key_exchange()
Dtlsv1_server_read.c40 u16 cipher_suite; in tls_process_client_hello() local
128 cipher_suite = 0; in tls_process_client_hello()
129 for (i = 0; !cipher_suite && i < conn->num_cipher_suites; i++) { in tls_process_client_hello()
134 if (!cipher_suite && tmp == conn->cipher_suites[i]) { in tls_process_client_hello()
135 cipher_suite = tmp; in tls_process_client_hello()
141 if (!cipher_suite) { in tls_process_client_hello()
149 if (tlsv1_record_set_cipher_suite(&conn->rl, cipher_suite) < 0) { in tls_process_client_hello()
157 conn->cipher_suite = cipher_suite; in tls_process_client_hello()
730 suite = tls_get_cipher_suite(conn->rl.cipher_suite); in tls_process_client_key_exchange()
Dtlsv1_record.h55 u16 cipher_suite; member
65 u16 cipher_suite);
Dtlsv1_server_write.c99 WPA_PUT_BE16(pos, conn->cipher_suite); in tls_write_server_hello()
167 suite = tls_get_cipher_suite(conn->rl.cipher_suite); in tls_write_server_certificate()
257 suite = tls_get_cipher_suite(conn->rl.cipher_suite); in tls_write_server_key_exchange()
263 if (!tls_server_key_exchange_allowed(conn->rl.cipher_suite)) { in tls_write_server_key_exchange()
Dtlsv1_server_i.h47 u16 cipher_suite; member
Dtlsv1_server.c434 switch (conn->rl.cipher_suite) { in tlsv1_server_get_cipher()
Dtlsv1_client.c443 switch (conn->rl.cipher_suite) { in tlsv1_client_get_cipher()
Dtlsv1_client_write.c386 suite = tls_get_cipher_suite(conn->rl.cipher_suite); in tls_write_client_key_exchange()
/external/wpa_supplicant/
Dtlsv1_common.c180 u16 cipher_suite) in tlsv1_record_set_cipher_suite() argument
186 cipher_suite); in tlsv1_record_set_cipher_suite()
187 rl->cipher_suite = cipher_suite; in tlsv1_record_set_cipher_suite()
189 suite = tls_get_cipher_suite(cipher_suite); in tlsv1_record_set_cipher_suite()
224 "0x%04x", rl->cipher_suite); in tlsv1_record_change_write_cipher()
225 rl->write_cipher_suite = rl->cipher_suite; in tlsv1_record_change_write_cipher()
258 "0x%04x", rl->cipher_suite); in tlsv1_record_change_read_cipher()
259 rl->read_cipher_suite = rl->cipher_suite; in tlsv1_record_change_read_cipher()
Dtlsv1_common.h212 u16 cipher_suite; member
224 u16 cipher_suite);
Dtlsv1_client.c254 u16 cipher_suite; in tls_process_server_hello() local
336 cipher_suite = WPA_GET_BE16(pos); in tls_process_server_hello()
339 if (cipher_suite == conn->cipher_suites[i]) in tls_process_server_hello()
344 "cipher suite 0x%04x", cipher_suite); in tls_process_server_hello()
350 if (conn->session_resumed && cipher_suite != conn->prev_cipher_suite) { in tls_process_server_hello()
353 "0x%04x)", cipher_suite, conn->prev_cipher_suite); in tls_process_server_hello()
359 if (tlsv1_record_set_cipher_suite(&conn->rl, cipher_suite) < 0) { in tls_process_server_hello()
367 conn->prev_cipher_suite = cipher_suite; in tls_process_server_hello()
409 suite = tls_get_cipher_suite(conn->rl.cipher_suite); in tls_server_key_exchange_allowed()
763 suite = tls_get_cipher_suite(conn->rl.cipher_suite); in tls_process_server_key_exchange()
[all …]
/external/chromium/net/third_party/nss/ssl/
Dsslimpl.h301 unsigned int cipher_suite : 16; member
306 ssl3CipherSuite cipher_suite;
665 ssl3CipherSuite cipher_suite; member
758 ssl3CipherSuite cipher_suite; member
862 ssl3CipherSuite cipher_suite; member
Dssl3con.c593 if (cipher_suite_defs[i].cipher_suite == suite) in ssl_LookupCipherSuiteDef()
609 if (suites[i].cipher_suite == suite) in ssl_LookupCipherSuiteCfg()
654 cipher_def = ssl_LookupCipherSuiteDef(suite->cipher_suite); in ssl3_config_match_init()
1215 ssl3CipherSuite suite = ss->ssl3.hs.cipher_suite; in ssl3_SetupPendingCipherSpec()
3936 rv = ssl3_AppendHandshakeNumber(ss, suite->cipher_suite, in ssl3_SendClientHello()
4873 if ((temp == suite->cipher_suite) && in ssl3_HandleServerHello()
4884 ss->ssl3.hs.cipher_suite = (ssl3CipherSuite)temp; in ssl3_HandleServerHello()
4949 sid->u.ssl3.cipherSuite == ss->ssl3.hs.cipher_suite) do { in ssl3_HandleServerHello()
6037 if (suite->cipher_suite == sid->u.ssl3.cipherSuite) in ssl3_HandleClientHello()
6057 if ((suites.data[i] == MSB(suite->cipher_suite)) && in ssl3_HandleClientHello()
[all …]
Dssl3prot.h190 ssl3CipherSuite cipher_suite; member
Dssl3ext.c682 rv = ssl3_AppendNumberToItem(&plaintext, ss->ssl3.hs.cipher_suite, in ssl3_SendNewSessionTicket()
1082 parsed_session_ticket->cipher_suite = (ssl3CipherSuite)temp; in ssl3_ServerHandleSessionTicketXtn()
1177 sid->u.ssl3.cipherSuite = parsed_session_ticket->cipher_suite; in ssl3_ServerHandleSessionTicketXtn()
Dsslinfo.c94 inf.cipherSuite = ss->ssl3.hs.cipher_suite; in SSL_GetChannelInfo()