Home
last modified time | relevance | path

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

12

/external/webrtc/talk/media/base/
Dcryptoparams.h42 : tag(t), cipher_suite(cs), key_params(kp), session_params(sp) {} in CryptoParams()
45 return (tag == params.tag && cipher_suite == params.cipher_suite); in Matches()
49 std::string cipher_suite; member
/external/wpa_supplicant_8/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_record.h51 u16 cipher_suite; member
61 u16 cipher_suite);
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_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()
1077 if (!tls_server_key_exchange_allowed(conn->rl.cipher_suite)) { in tls_process_server_key_exchange()
1086 suite = tls_get_cipher_suite(conn->rl.cipher_suite); in tls_process_server_key_exchange()
Dtlsv1_server_i.h43 u16 cipher_suite; member
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.c533 switch (conn->rl.cipher_suite) { in tlsv1_server_get_cipher()
Dtlsv1_client.c585 switch (conn->rl.cipher_suite) { in tlsv1_client_get_cipher()
Dtlsv1_client_write.c526 suite = tls_get_cipher_suite(conn->rl.cipher_suite); in tls_write_client_key_exchange()
/external/webrtc/webrtc/base/
Dsslstreamadapter.cc57 bool SSLStreamAdapter::GetSslCipherSuite(int* cipher_suite) { in GetSslCipherSuite() argument
94 std::string SSLStreamAdapter::SslCipherSuiteToName(int cipher_suite) { in SslCipherSuiteToName() argument
95 return OpenSSLStreamAdapter::SslCipherSuiteToName(cipher_suite); in SslCipherSuiteToName()
Dsslstreamadapter.h162 virtual bool GetSslCipherSuite(int* cipher_suite);
201 static std::string SslCipherSuiteToName(int cipher_suite);
Dopensslstreamadapter.cc356 std::string OpenSSLStreamAdapter::SslCipherSuiteToName(int cipher_suite) { in SslCipherSuiteToName() argument
358 const SSL_CIPHER* ssl_cipher = SSL_get_cipher_by_value(cipher_suite); in SslCipherSuiteToName()
369 if (cipher_suite == static_cast<int>(entry->openssl_id)) { in SslCipherSuiteToName()
377 bool OpenSSLStreamAdapter::GetSslCipherSuite(int* cipher_suite) { in GetSslCipherSuite() argument
386 *cipher_suite = static_cast<uint16_t>(SSL_CIPHER_get_id(current_cipher)); in GetSslCipherSuite()
/external/webrtc/talk/session/media/
Dsrtpfilter.cc415 if (applied_send_params_.cipher_suite == send_params.cipher_suite && in ApplyParams()
417 applied_recv_params_.cipher_suite == recv_params.cipher_suite && in ApplyParams()
432 rtc::SrtpCryptoSuiteFromName(send_params.cipher_suite), send_key, in ApplyParams()
435 rtc::SrtpCryptoSuiteFromName(recv_params.cipher_suite), recv_key, in ApplyParams()
440 << " send cipher_suite " << send_params.cipher_suite in ApplyParams()
441 << " recv cipher_suite " << recv_params.cipher_suite; in ApplyParams()
Dsrtpfilter_unittest.cc158 offer[1].cipher_suite = CS_AES_CM_128_HMAC_SHA1_32; in TEST_F()
160 answer[0].cipher_suite = CS_AES_CM_128_HMAC_SHA1_32; in TEST_F()
248 answer[1].cipher_suite = CS_AES_CM_128_HMAC_SHA1_32; in TEST_F()
258 offer[0].cipher_suite = answer[0].cipher_suite = "FOO"; in TEST_F()
279 answer[0].cipher_suite = "FOO"; in TEST_F()
358 offer[1].cipher_suite = CS_AES_CM_128_HMAC_SHA1_32; in TEST_F()
369 offer[1].cipher_suite = CS_AES_CM_128_HMAC_SHA1_32; in TEST_F()
371 answer[0].cipher_suite = CS_AES_CM_128_HMAC_SHA1_32; in TEST_F()
386 offer[0].cipher_suite = CS_AES_CM_128_HMAC_SHA1_32; in TEST_F()
388 answer[0].cipher_suite = CS_AES_CM_128_HMAC_SHA1_32; in TEST_F()
[all …]
Dmediasession.cc108 out->cipher_suite = cipher; in CreateCryptoParams()
115 static bool AddCryptoParams(const std::string& cipher_suite, in AddCryptoParams() argument
120 return CreateCryptoParams(size, cipher_suite, &out->at(size)); in AddCryptoParams()
221 if (rtc::CS_AES_CM_128_HMAC_SHA1_80 == i->cipher_suite || in SelectCrypto()
222 (rtc::CS_AES_CM_128_HMAC_SHA1_32 == i->cipher_suite && audio && in SelectCrypto()
224 return CreateCryptoParams(i->tag, i->cipher_suite, crypto); in SelectCrypto()
618 if (it->cipher_suite == crypto.cipher_suite) { in CryptoNotFound()
Dmediasession_unittest.cc47 ASSERT_EQ(std::string(cs), cd->cryptos()[0].cipher_suite)
278 if (c1[i].tag != c2[i].tag || c1[i].cipher_suite != c2[i].cipher_suite || in CompareCryptoParams()
411 audio_media_desc->cryptos()[0].cipher_suite); in TestCryptoWithBundle()
/external/wpa_supplicant_8/src/pae/
Dieee802_1x_cp.c46 u64 cipher_suite; member
98 sm->current_cipher_suite != sm->cipher_suite; in changed_cipher()
196 sm->current_cipher_suite = sm->cipher_suite; in SM_STATE()
466 sm->cipher_suite = default_cs_id; in ieee802_1x_cp_sm_init()
600 sm->cipher_suite = cs; in ieee802_1x_cp_set_ciphersuite()
/external/boringssl/src/ssl/
Dtls13_client.cc76 uint16_t server_version, cipher_suite; in do_read_hello_retry_request() local
82 !CBS_get_u16(&body, &cipher_suite) || in do_read_hello_retry_request()
98 const SSL_CIPHER *cipher = SSL_get_cipher_by_value(cipher_suite); in do_read_hello_retry_request()
228 uint16_t cipher_suite; in do_read_server_hello() local
234 !CBS_get_u16(&body, &cipher_suite) || in do_read_server_hello()
261 const SSL_CIPHER *cipher = SSL_get_cipher_by_value(cipher_suite); in do_read_server_hello()
Dtls13_server.cc148 uint16_t cipher_suite; in choose_tls13_cipher() local
149 if (!CBS_get_u16(&cipher_suites, &cipher_suite)) { in choose_tls13_cipher()
154 const SSL_CIPHER *candidate = SSL_get_cipher_by_value(cipher_suite); in choose_tls13_cipher()
Dhandshake_server.cc279 uint16_t cipher_suite; in ssl_parse_client_cipher_list() local
281 if (!CBS_get_u16(&cipher_suites, &cipher_suite)) { in ssl_parse_client_cipher_list()
286 const SSL_CIPHER *c = SSL_get_cipher_by_value(cipher_suite); in ssl_parse_client_cipher_list()
Dhandshake_client.cc549 uint16_t server_version, cipher_suite; in do_read_server_hello() local
555 !CBS_get_u16(&server_hello, &cipher_suite) || in do_read_server_hello()
663 const SSL_CIPHER *cipher = SSL_get_cipher_by_value(cipher_suite); in do_read_server_hello()
/external/webrtc/webrtc/p2p/base/
Dfaketransportcontroller.h258 bool GetSslCipherSuite(int* cipher_suite) override { return false; } in GetSslCipherSuite() argument
/external/wpa_supplicant_8/src/crypto/
Dtls_openssl.c279 u16 cipher_suite; member
1443 conn->cipher_suite = WPA_GET_BE16(pos); in check_server_hello()
1445 conn->cipher_suite); in check_server_hello()
1461 if (conn->cipher_suite != 0x9f) in check_server_key_exchange()
2834 if (conn->cipher_suite != 0x9f) in suiteb_cert_cb()
/external/grpc-grpc-java/services/src/main/proto/grpc/channelz/v1/
Dchannelz.proto326 oneof cipher_suite { oneof

12