Lines Matching refs:cryptos
123 void AddMediaCryptos(const CryptoParamsVec& cryptos, in AddMediaCryptos() argument
125 for (CryptoParamsVec::const_iterator crypto = cryptos.begin(); in AddMediaCryptos()
126 crypto != cryptos.end(); ++crypto) { in AddMediaCryptos()
133 CryptoParamsVec cryptos; in CreateMediaCryptos() local
136 if (!AddCryptoParams(*it, &cryptos)) { in CreateMediaCryptos()
140 AddMediaCryptos(cryptos, media); in CreateMediaCryptos()
149 return &media->cryptos(); in GetCryptos()
152 bool FindMatchingCrypto(const CryptoParamsVec& cryptos, in FindMatchingCrypto() argument
155 for (CryptoParamsVec::const_iterator it = cryptos.begin(); in FindMatchingCrypto()
156 it != cryptos.end(); ++it) { in FindMatchingCrypto()
217 const CryptoParamsVec& cryptos = offer->cryptos(); in SelectCrypto() local
219 for (CryptoParamsVec::const_iterator i = cryptos.begin(); in SelectCrypto()
220 i != cryptos.end(); ++i) { in SelectCrypto()
593 CryptoParamsVec* cryptos) { in GetCryptosByName() argument
594 if (!sdesc || !cryptos) { in GetCryptosByName()
605 *cryptos = media_desc->cryptos(); in GetCryptosByName()
694 CryptoParamsVec cryptos; in UpdateCryptoParamsForBundle() local
695 if (!GetCryptosByName(sdesc, *it, &cryptos)) { in UpdateCryptoParamsForBundle()
698 PruneCryptos(cryptos, &common_cryptos); in UpdateCryptoParamsForBundle()
785 if (offer->cryptos().empty()) { in CreateMediaContentOffer()
793 if (offer->crypto_required() == CT_SDES && offer->cryptos().empty()) { in CreateMediaContentOffer()
1065 if (answer->cryptos().empty() && in CreateMediaContentAnswer()
1124 if (!desc->cryptos().empty()) in SetMediaProtocol()