Home
last modified time | relevance | path

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

12

/external/chromium/net/base/
Dssl_cipher_suite_names.cc27 uint16 cipher_suite, encoded; member
304 if (a->cipher_suite < b->cipher_suite) { in CipherSuiteCmp()
306 } else if (a->cipher_suite == b->cipher_suite) { in CipherSuiteCmp()
315 const char** mac_str, uint16 cipher_suite) { in SSLCipherSuiteToStrings() argument
319 desired.cipher_suite = cipher_suite; in SSLCipherSuiteToStrings()
Dssl_cipher_suite_names.h21 uint16 cipher_suite);
/external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/
DServerHelloTest.java34 CipherSuite cipher_suite = CipherSuite.TLS_DH_DSS_WITH_DES_CBC_SHA; in testServerHello() local
37 server_version, session_id, cipher_suite, (byte) 0); in testServerHello()
45 assertEquals("incorrect CertificateRequest", cipher_suite, in testServerHello()
46 message.cipher_suite); in testServerHello()
64 assertEquals("incorrect message decoding", message.cipher_suite, in testServerHello()
65 message_2.cipher_suite); in testServerHello()
DClientHelloTest.java41 CipherSuite[] cipher_suite = new CipherSuite[] { in testClientHello() local
44 ses_id, cipher_suite); in testClientHello()
DServerHandshakeImplTest.java69 CipherSuite[] cipher_suite = new CipherSuite[] { in testUnwrap() local
72 ses_id, cipher_suite); in testUnwrap()
/external/chromium/third_party/libjingle/source/talk/session/phone/
Dcryptoparams.h40 : tag(t), cipher_suite(cs), key_params(kp), session_params(sp) {} in CryptoParams()
43 return (tag == params.tag && cipher_suite == params.cipher_suite); in Matches()
47 std::string cipher_suite; member
Dsrtpfilter.cc198 ret = (send_session_.SetSend(send_params.cipher_suite, in ApplyParams()
200 recv_session_.SetRecv(recv_params.cipher_suite, in ApplyParams()
207 << " send cipher_suite " << send_params.cipher_suite in ApplyParams()
208 << " recv cipher_suite " << recv_params.cipher_suite; in ApplyParams()
Dmediasessionclient.cc107 out->cipher_suite = cipher; in CreateCryptoParams()
112 bool AddCryptoParams(const std::string& cipher_suite, CryptoParamsVec *out) { in AddCryptoParams() argument
116 return CreateCryptoParams(size, cipher_suite, &out->at(size)); in AddCryptoParams()
245 if (CS_AES_CM_128_HMAC_SHA1_80 == i->cipher_suite || in SelectCrypto()
246 (CS_AES_CM_128_HMAC_SHA1_32 == i->cipher_suite && audio)) { in SelectCrypto()
247 return CreateCryptoParams(i->tag, i->cipher_suite, crypto); in SelectCrypto()
817 crypto_elem->AddAttr(QN_CRYPTO_SUITE, i->cipher_suite); in CreateJingleEncryptionElem()
/external/wpa_supplicant_8/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()
535 if (!tls_server_key_exchange_allowed(conn->rl.cipher_suite)) { in tls_process_server_key_exchange()
544 suite = tls_get_cipher_suite(conn->rl.cipher_suite); in tls_process_server_key_exchange()
Dtlsv1_record.h55 u16 cipher_suite; member
65 u16 cipher_suite);
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()
726 suite = tls_get_cipher_suite(conn->rl.cipher_suite); in tls_process_client_key_exchange()
Dtlsv1_server_write.c100 WPA_PUT_BE16(pos, conn->cipher_suite); in tls_write_server_hello()
168 suite = tls_get_cipher_suite(conn->rl.cipher_suite); in tls_write_server_certificate()
256 suite = tls_get_cipher_suite(conn->rl.cipher_suite); in tls_write_server_key_exchange()
262 if (!tls_server_key_exchange_allowed(conn->rl.cipher_suite)) { in tls_write_server_key_exchange()
Dtlsv1_server_i.h47 u16 cipher_suite; member
/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_record.h55 u16 cipher_suite; member
65 u16 cipher_suite);
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_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
/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/chrome/browser/
Dpage_info_model.cc206 uint16 cipher_suite = in PageInfoModel() local
208 if (ssl.security_bits() > 0 && cipher_suite) { in PageInfoModel()
224 net::SSLCipherSuiteToStrings(&key_exchange, &cipher, &mac, cipher_suite); in PageInfoModel()
/external/chromium/net/socket/
Dssl_client_socket_mac.cc462 bool operator()(SSLCipherSuite cipher_suite) const { in operator ()()
465 static_cast<uint16>(cipher_suite)); in operator ()()

12