Home
last modified time | relevance | path

Searched refs:cryptos (Results 1 – 14 of 14) sorted by relevance

/external/webrtc/pc/
Djsep_transport.cc38 const std::vector<CryptoParams>& cryptos, in JsepTransportDescription() argument
43 cryptos(cryptos), in JsepTransportDescription()
51 cryptos(from.cryptos), in JsepTransportDescription()
64 cryptos = from.cryptos; in operator =()
183 if (!SetSdes(jsep_description.cryptos, in SetLocalJsepTransportDescription()
277 if (!SetSdes(jsep_description.cryptos, in SetRemoteJsepTransportDescription()
512 bool JsepTransport::SetSdes(const std::vector<CryptoParams>& cryptos, in SetSdes() argument
518 ret = sdes_negotiator_.Process(cryptos, type, source); in SetSdes()
Dpeer_connection_crypto_unittest.cc134 return !content->media_description()->cryptos().empty(); in HaveSdesCryptos()
148 const auto& cryptos = content->media_description()->cryptos(); in HaveSdesGcmCryptos() local
149 if (cryptos.size() != num_crypto_suites) { in HaveSdesGcmCryptos()
152 for (size_t i = 0; i < cryptos.size(); ++i) { in HaveSdesGcmCryptos()
153 if (cryptos[i].key_params.size() == 67U && in HaveSdesGcmCryptos()
154 cryptos[i].cipher_suite == "AEAD_AES_256_GCM") in HaveSdesGcmCryptos()
341 auto cryptos = content.media_description()->cryptos(); in TEST_P() local
342 cryptos.erase(cryptos.begin()); // Assumes that non-GCM is the default. in TEST_P()
343 content.media_description()->set_cryptos(cryptos); in TEST_P()
Dsrtp_filter.cc33 bool SrtpFilter::Process(const std::vector<CryptoParams>& cryptos, in Process() argument
39 ret = SetOffer(cryptos, source); in Process()
42 ret = SetProvisionalAnswer(cryptos, source); in Process()
45 ret = SetAnswer(cryptos, source); in Process()
Dmedia_session.cc193 void AddMediaCryptos(const CryptoParamsVec& cryptos, in AddMediaCryptos() argument
195 for (const CryptoParams& crypto : cryptos) { in AddMediaCryptos()
202 CryptoParamsVec cryptos; in CreateMediaCryptos() local
204 if (!AddCryptoParams(crypto_suite, &cryptos)) { in CreateMediaCryptos()
208 AddMediaCryptos(cryptos, media); in CreateMediaCryptos()
216 return &content->media_description()->cryptos(); in GetCryptos()
219 bool FindMatchingCrypto(const CryptoParamsVec& cryptos, in FindMatchingCrypto() argument
223 cryptos, [&crypto](const CryptoParams& c) { return crypto.Matches(c); }); in FindMatchingCrypto()
224 if (it == cryptos.end()) { in FindMatchingCrypto()
296 const CryptoParamsVec& cryptos = offer->cryptos(); in SelectCrypto() local
[all …]
Dmedia_session_unittest.cc40 ASSERT_EQ(s, cd->cryptos().size()); \
41 ASSERT_EQ(cs, cd->cryptos()[0].cipher_suite)
417 void PreferGcmCryptoParameters(CryptoParamsVec* cryptos) { in PreferGcmCryptoParameters() argument
418 cryptos->erase( in PreferGcmCryptoParameters()
419 std::remove_if(cryptos->begin(), cryptos->end(), in PreferGcmCryptoParameters()
424 cryptos->end()); in PreferGcmCryptoParameters()
627 EXPECT_TRUE(CompareCryptoParams(audio_media_desc->cryptos(), in TestCryptoWithBundle()
628 video_media_desc->cryptos())); in TestCryptoWithBundle()
629 EXPECT_EQ(1u, audio_media_desc->cryptos().size()); in TestCryptoWithBundle()
631 audio_media_desc->cryptos()[0].cipher_suite); in TestCryptoWithBundle()
[all …]
Djsep_transport.h53 const std::vector<CryptoParams>& cryptos,
63 std::vector<CryptoParams> cryptos; member
263 bool SetSdes(const std::vector<CryptoParams>& cryptos,
Djsep_transport_unittest.cc929 offer_desc.cryptos.push_back(cricket::CryptoParams( in TEST_F()
938 answer_desc.cryptos.push_back(cricket::CryptoParams( in TEST_F()
955 offer_desc.cryptos.push_back(cricket::CryptoParams( in TEST_F()
979 offer_desc.cryptos.push_back(cricket::CryptoParams( in TEST_F()
988 answer_desc.cryptos.push_back(cricket::CryptoParams( in TEST_F()
1174 offer_desc.cryptos.push_back(sdes_param); in TEST_P()
1188 answer_desc.cryptos.push_back(sdes_param); in TEST_P()
Dsrtp_filter.h57 bool Process(const std::vector<CryptoParams>& cryptos,
Dsession_description.h130 virtual const std::vector<CryptoParams>& cryptos() const { return cryptos_; } in cryptos() function
134 virtual void set_cryptos(const std::vector<CryptoParams>& cryptos) { in set_cryptos() argument
135 cryptos_ = cryptos; in set_cryptos()
Djsep_transport_controller.cc849 rtcp_mux_enabled, content_desc->cryptos(), encrypted_extension_ids, in CreateJsepTransportDescription()
968 if (certificate_ && !content_desc->cryptos().empty()) { in MaybeCreateJsepTransport()
1000 } else if (!content_desc->cryptos().empty()) { in MaybeCreateJsepTransport()
Dwebrtc_sdp_unittest.cc1392 EXPECT_EQ(cd1->cryptos().size(), cd2->cryptos().size()); in CompareMediaContentDescription()
1393 if (cd1->cryptos().size() != cd2->cryptos().size()) { in CompareMediaContentDescription()
1397 for (size_t i = 0; i < cd1->cryptos().size(); ++i) { in CompareMediaContentDescription()
1398 const CryptoParams c1 = cd1->cryptos().at(i); in CompareMediaContentDescription()
1399 const CryptoParams c2 = cd2->cryptos().at(i); in CompareMediaContentDescription()
Dwebrtc_sdp.cc1638 for (const CryptoParams& crypto_params : media_desc->cryptos()) { in BuildRtpContentAttributes()
Dpeer_connection.cc495 if (media->cryptos().empty()) { in VerifyCrypto()
/external/kotlinx.coroutines/benchmarks/src/jmh/resources/
Dospd.txt.gz