Searched refs:crypto_suite (Results 1 – 10 of 10) sorted by relevance
/external/webrtc/rtc_base/ |
D | ssl_stream_adapter.cc | 27 std::string SrtpCryptoSuiteToName(int crypto_suite) { in SrtpCryptoSuiteToName() argument 28 switch (crypto_suite) { in SrtpCryptoSuiteToName() 42 int SrtpCryptoSuiteFromName(const std::string& crypto_suite) { in SrtpCryptoSuiteFromName() argument 43 if (crypto_suite == CS_AES_CM_128_HMAC_SHA1_32) in SrtpCryptoSuiteFromName() 45 if (crypto_suite == CS_AES_CM_128_HMAC_SHA1_80) in SrtpCryptoSuiteFromName() 47 if (crypto_suite == CS_AEAD_AES_128_GCM) in SrtpCryptoSuiteFromName() 49 if (crypto_suite == CS_AEAD_AES_256_GCM) in SrtpCryptoSuiteFromName() 54 bool GetSrtpKeyAndSaltLengths(int crypto_suite, in GetSrtpKeyAndSaltLengths() argument 57 switch (crypto_suite) { in GetSrtpKeyAndSaltLengths() 83 bool IsGcmCryptoSuite(int crypto_suite) { in IsGcmCryptoSuite() argument [all …]
|
D | ssl_stream_adapter.h | 62 std::string SrtpCryptoSuiteToName(int crypto_suite); 65 int SrtpCryptoSuiteFromName(const std::string& crypto_suite); 69 bool GetSrtpKeyAndSaltLengths(int crypto_suite, 74 bool IsGcmCryptoSuite(int crypto_suite); 77 bool IsGcmCryptoSuiteName(const std::string& crypto_suite); 229 virtual bool GetDtlsSrtpCryptoSuite(int* crypto_suite);
|
D | openssl_stream_adapter.h | 95 static std::string SslCipherSuiteToName(int crypto_suite); 111 bool GetDtlsSrtpCryptoSuite(int* crypto_suite) override;
|
D | openssl_stream_adapter.cc | 468 bool OpenSSLStreamAdapter::GetDtlsSrtpCryptoSuite(int* crypto_suite) { in GetDtlsSrtpCryptoSuite() argument 481 *crypto_suite = srtp_profile->id; in GetDtlsSrtpCryptoSuite() 482 RTC_DCHECK(!SrtpCryptoSuiteToName(*crypto_suite).empty()); in GetDtlsSrtpCryptoSuite()
|
/external/webrtc/p2p/base/ |
D | fake_dtls_transport.h | 180 bool GetSrtpCryptoSuite(int* crypto_suite) override { in GetSrtpCryptoSuite() argument 184 *crypto_suite = crypto_suite_; in GetSrtpCryptoSuite() 187 void SetSrtpCryptoSuite(int crypto_suite) { crypto_suite_ = crypto_suite; } in SetSrtpCryptoSuite() argument
|
D | dtls_transport_unittest.cc | 135 int crypto_suite; in CheckSrtp() local 136 bool rv = dtls_transport_->GetSrtpCryptoSuite(&crypto_suite); in CheckSrtp() 139 ASSERT_EQ(crypto_suite, expected_crypto_suite); in CheckSrtp()
|
/external/wpa_supplicant_8/src/ap/ |
D | dpp_hostapd.c | 1853 u8 crypto_suite; in hostapd_dpp_rx_action() local 1865 crypto_suite = *buf++; in hostapd_dpp_rx_action() 1872 crypto_suite, type, MAC2STR(src), freq); in hostapd_dpp_rx_action() 1873 if (crypto_suite != 1) { in hostapd_dpp_rx_action() 1875 crypto_suite); in hostapd_dpp_rx_action()
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | dpp_supplicant.c | 2850 u8 crypto_suite; in wpas_dpp_rx_action() local 2862 crypto_suite = *buf++; in wpas_dpp_rx_action() 2869 crypto_suite, type, MAC2STR(src), freq); in wpas_dpp_rx_action() 2870 if (crypto_suite != 1) { in wpas_dpp_rx_action() 2872 crypto_suite); in wpas_dpp_rx_action()
|
/external/webrtc/pc/ |
D | media_session.cc | 203 for (const std::string& crypto_suite : crypto_suites) { in CreateMediaCryptos() local 204 if (!AddCryptoParams(crypto_suite, &cryptos)) { in CreateMediaCryptos()
|
D | webrtc_sdp.cc | 3489 const std::string& crypto_suite = fields[1]; in ParseCryptoAttribute() local 3496 CryptoParams(tag, crypto_suite, key_params, session_params)); in ParseCryptoAttribute()
|