Home
last modified time | relevance | path

Searched refs:crypto_suite (Results 1 – 7 of 7) sorted by relevance

/external/webrtc/webrtc/base/
Dsslstreamadapter.cc33 std::string SrtpCryptoSuiteToName(int crypto_suite) { in SrtpCryptoSuiteToName() argument
34 if (crypto_suite == SRTP_AES128_CM_SHA1_32) in SrtpCryptoSuiteToName()
36 if (crypto_suite == SRTP_AES128_CM_SHA1_80) in SrtpCryptoSuiteToName()
41 int SrtpCryptoSuiteFromName(const std::string& crypto_suite) { in SrtpCryptoSuiteFromName() argument
42 if (crypto_suite == CS_AES_CM_128_HMAC_SHA1_32) in SrtpCryptoSuiteFromName()
44 if (crypto_suite == CS_AES_CM_128_HMAC_SHA1_80) in SrtpCryptoSuiteFromName()
75 bool SSLStreamAdapter::GetDtlsSrtpCryptoSuite(int* crypto_suite) { in GetDtlsSrtpCryptoSuite() argument
Dsslstreamadapter.h41 std::string SrtpCryptoSuiteToName(int crypto_suite);
44 int SrtpCryptoSuiteFromName(const std::string& crypto_suite);
185 virtual bool GetDtlsSrtpCryptoSuite(int* crypto_suite);
Dopensslstreamadapter.h91 static std::string SslCipherSuiteToName(int crypto_suite);
105 bool GetDtlsSrtpCryptoSuite(int* crypto_suite) override;
Dopensslstreamadapter.cc451 bool OpenSSLStreamAdapter::GetDtlsSrtpCryptoSuite(int* crypto_suite) { in GetDtlsSrtpCryptoSuite() argument
463 *crypto_suite = srtp_profile->id; in GetDtlsSrtpCryptoSuite()
464 ASSERT(!SrtpCryptoSuiteToName(*crypto_suite).empty()); in GetDtlsSrtpCryptoSuite()
/external/webrtc/webrtc/p2p/base/
Dfaketransportcontroller.h250 bool GetSrtpCryptoSuite(int* crypto_suite) override { in GetSrtpCryptoSuite() argument
252 *crypto_suite = chosen_crypto_suite_; in GetSrtpCryptoSuite()
Ddtlstransportchannel_unittest.cc220 int crypto_suite; in CheckSrtp() local
222 bool rv = (*it)->GetSrtpCryptoSuite(&crypto_suite); in CheckSrtp()
226 ASSERT_EQ(crypto_suite, expected_crypto_suite); in CheckSrtp()
/external/webrtc/talk/app/webrtc/
Dwebrtcsdp.cc2827 const std::string& crypto_suite = fields[1]; in ParseCryptoAttribute() local
2833 media_desc->AddCrypto(CryptoParams(tag, crypto_suite, key_params, in ParseCryptoAttribute()