Searched refs:CryptoParams (Results 1 – 11 of 11) sorted by relevance
/external/webrtc/talk/session/media/ |
D | srtpfilter_unittest.cc | 45 using cricket::CryptoParams; 60 static const cricket::CryptoParams kTestCryptoParams1( 62 static const cricket::CryptoParams kTestCryptoParams2( 78 static std::vector<CryptoParams> MakeVector(const CryptoParams& params) { in MakeVector() 79 std::vector<CryptoParams> vec; in MakeVector() 83 void TestSetParams(const std::vector<CryptoParams>& params1, in TestSetParams() 84 const std::vector<CryptoParams>& params2) { in TestSetParams() 154 std::vector<CryptoParams> offer(MakeVector(kTestCryptoParams1)); in TEST_F() 155 std::vector<CryptoParams> answer(MakeVector(kTestCryptoParams2)); in TEST_F() 169 std::vector<CryptoParams> offer, answer; in TEST_F() [all …]
|
D | srtpfilter.h | 91 bool SetOffer(const std::vector<CryptoParams>& offer_params, 95 bool SetProvisionalAnswer(const std::vector<CryptoParams>& answer_params, 102 bool SetAnswer(const std::vector<CryptoParams>& answer_params, 147 bool StoreParams(const std::vector<CryptoParams>& params, 150 bool DoSetAnswer(const std::vector<CryptoParams>& answer_params, 154 bool NegotiateParams(const std::vector<CryptoParams>& answer_params, 155 CryptoParams* selected_params); 156 bool ApplyParams(const CryptoParams& send_params, 157 const CryptoParams& recv_params); 186 std::vector<CryptoParams> offer_params_; [all …]
|
D | srtpfilter.cc | 129 bool SrtpFilter::SetOffer(const std::vector<CryptoParams>& offer_params, in SetOffer() 138 bool SrtpFilter::SetAnswer(const std::vector<CryptoParams>& answer_params, in SetAnswer() 144 const std::vector<CryptoParams>& answer_params, in SetProvisionalAnswer() 304 bool SrtpFilter::StoreParams(const std::vector<CryptoParams>& params, in StoreParams() 327 bool SrtpFilter::DoSetAnswer(const std::vector<CryptoParams>& answer_params, in DoSetAnswer() 349 CryptoParams selected_params; in DoSetAnswer() 352 const CryptoParams& send_params = in DoSetAnswer() 354 const CryptoParams& recv_params = in DoSetAnswer() 372 applied_send_params_ = CryptoParams(); in CreateSrtpSessions() 374 applied_recv_params_ = CryptoParams(); in CreateSrtpSessions() [all …]
|
D | mediasession.h | 54 typedef std::vector<CryptoParams> CryptoParamsVec; 202 const std::vector<CryptoParams>& cryptos() const { return cryptos_; } in cryptos() 203 void AddCrypto(const CryptoParams& params) { in AddCrypto() 206 void set_cryptos(const std::vector<CryptoParams>& cryptos) { in set_cryptos() 299 std::vector<CryptoParams> cryptos_;
|
D | channel.h | 62 struct CryptoParams; 279 bool CheckSrtpConfig(const std::vector<CryptoParams>& cryptos, 282 bool SetSrtp_w(const std::vector<CryptoParams>& params,
|
D | mediasession.cc | 100 CryptoParams *out) { in CreateCryptoParams() 153 const CryptoParams& crypto, in FindMatchingCrypto() 154 CryptoParams* out) { in FindMatchingCrypto() 215 CryptoParams *crypto) { in SelectCrypto() 611 static bool CryptoNotFound(const CryptoParams crypto, in CryptoNotFound() 1056 CryptoParams crypto; in CreateMediaContentAnswer()
|
D | channel_unittest.cc | 1819 audio->AddCrypto(cricket::CryptoParams( in CreateContent() 1891 video->AddCrypto(cricket::CryptoParams( in CreateContent() 2607 data->AddCrypto(cricket::CryptoParams( in CreateContent()
|
D | channel.cc | 1018 bool BaseChannel::CheckSrtpConfig(const std::vector<CryptoParams>& cryptos, in CheckSrtpConfig() 1030 bool BaseChannel::SetSrtp_w(const std::vector<CryptoParams>& cryptos, in SetSrtp_w()
|
/external/webrtc/talk/media/base/ |
D | cryptoparams.h | 36 struct CryptoParams { struct 37 CryptoParams() : tag(0) {} in CryptoParams() argument 38 CryptoParams(int t, in CryptoParams() function 44 bool Matches(const CryptoParams& params) const { in Matches() argument
|
/external/webrtc/talk/app/webrtc/ |
D | webrtcsdp_unittest.cc | 52 using cricket::CryptoParams; 586 video->AddCrypto(CryptoParams(1, "AES_CM_128_HMAC_SHA1_80", in WebRtcSdpTest() 734 audio->AddCrypto(CryptoParams(1, "AES_CM_128_HMAC_SHA1_32", in CreateAudioContentDescription() 763 const CryptoParams c1 = cd1->cryptos().at(i); in CompareMediaContentDescription() 764 const CryptoParams c2 = cd2->cryptos().at(i); in CompareMediaContentDescription() 1052 audio_desc_->set_cryptos(std::vector<CryptoParams>()); in RemoveCryptos() 1053 video_desc_->set_cryptos(std::vector<CryptoParams>()); in RemoveCryptos() 1131 data_desc_->AddCrypto(CryptoParams( in AddRtpDataChannel()
|
D | webrtcsdp.cc | 59 using cricket::CryptoParams; 1418 for (std::vector<CryptoParams>::const_iterator it = in BuildRtpContentAttributes() 2833 media_desc->AddCrypto(CryptoParams(tag, crypto_suite, key_params, in ParseCryptoAttribute()
|