Home
last modified time | relevance | path

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

/netbsd/src/external/bsd/wpa/dist/src/tls/
Dtlsv1_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()
Dtlsv1_server_read.c126 u16 cipher_suite; in tls_process_client_hello() local
251 cipher_suite = 0; in tls_process_client_hello()
252 for (i = 0; !cipher_suite && i < conn->num_cipher_suites; i++) { in tls_process_client_hello()
259 if (!cipher_suite && tmp == conn->cipher_suites[i]) { in tls_process_client_hello()
260 cipher_suite = tmp; in tls_process_client_hello()
266 if (!cipher_suite) { in tls_process_client_hello()
273 if (tlsv1_record_set_cipher_suite(&conn->rl, cipher_suite) < 0) { in tls_process_client_hello()
281 conn->cipher_suite = cipher_suite; in tls_process_client_hello()
862 suite = tls_get_cipher_suite(conn->rl.cipher_suite); in tls_process_client_key_exchange()
Dtlsv1_record.h51 u16 cipher_suite; member
61 u16 cipher_suite);
Dtlsv1_client_read.c83 u16 cipher_suite; in tls_process_server_hello() local
172 cipher_suite = WPA_GET_BE16(pos); in tls_process_server_hello()
175 if (cipher_suite == conn->cipher_suites[i]) in tls_process_server_hello()
180 "cipher suite 0x%04x", cipher_suite); in tls_process_server_hello()
186 if (conn->session_resumed && cipher_suite != conn->prev_cipher_suite) { in tls_process_server_hello()
189 "0x%04x)", cipher_suite, conn->prev_cipher_suite); in tls_process_server_hello()
195 if (tlsv1_record_set_cipher_suite(&conn->rl, cipher_suite) < 0) { in tls_process_server_hello()
203 conn->prev_cipher_suite = cipher_suite; in tls_process_server_hello()
1086 if (!tls_server_key_exchange_allowed(conn->rl.cipher_suite)) { in tls_process_server_key_exchange()
1095 suite = tls_get_cipher_suite(conn->rl.cipher_suite); in tls_process_server_key_exchange()
Dtlsv1_server_write.c98 WPA_PUT_BE16(pos, conn->cipher_suite); in tls_write_server_hello()
197 suite = tls_get_cipher_suite(conn->rl.cipher_suite); in tls_write_server_certificate()
380 suite = tls_get_cipher_suite(conn->rl.cipher_suite); in tls_write_server_key_exchange()
386 if (!tls_server_key_exchange_allowed(conn->rl.cipher_suite)) { in tls_write_server_key_exchange()
Dtlsv1_server_i.h43 u16 cipher_suite; member
Dtlsv1_server.c533 switch (conn->rl.cipher_suite) { in tlsv1_server_get_cipher()
Dtlsv1_client.c609 switch (conn->rl.cipher_suite) { in tlsv1_client_get_cipher()
Dtlsv1_client_write.c514 suite = tls_get_cipher_suite(conn->rl.cipher_suite); in tls_write_client_key_exchange()
/netbsd/src/sys/net80211/
Dieee80211_output.c1084 static const u_int8_t cipher_suite[][4] = { in ieee80211_setup_wpa_ie() local
1115 ADDSELECTOR(frm, cipher_suite[rsn->rsn_mcastcipher]); in ieee80211_setup_wpa_ie()
1122 ADDSELECTOR(frm, cipher_suite[IEEE80211_CIPHER_AES_CCM]); in ieee80211_setup_wpa_ie()
1126 ADDSELECTOR(frm, cipher_suite[IEEE80211_CIPHER_TKIP]); in ieee80211_setup_wpa_ie()
1169 static const u_int8_t cipher_suite[][4] = { in ieee80211_setup_rsn_ie() local
1198 ADDSELECTOR(frm, cipher_suite[rsn->rsn_mcastcipher]); in ieee80211_setup_rsn_ie()
1205 ADDSELECTOR(frm, cipher_suite[IEEE80211_CIPHER_AES_CCM]); in ieee80211_setup_rsn_ie()
1209 ADDSELECTOR(frm, cipher_suite[IEEE80211_CIPHER_TKIP]); in ieee80211_setup_rsn_ie()
/netbsd/src/external/bsd/wpa/dist/src/drivers/
Ddriver_macsec_linux.c90 u64 cipher_suite; member
519 drv->cipher_suite = cs; in macsec_drv_set_current_cipher_suite()
1187 cs = drv->cipher_suite; in macsec_drv_create_transmit_sc()
/netbsd/src/external/bsd/wpa/dist/src/crypto/
Dtls_openssl.c280 u16 cipher_suite; member
1524 conn->cipher_suite = WPA_GET_BE16(pos); in check_server_hello()
1526 conn->cipher_suite); in check_server_hello()
1542 if (conn->cipher_suite != 0x9f) in check_server_key_exchange()
3093 if (conn->cipher_suite != 0x9f) in suiteb_cert_cb()