Home
last modified time | relevance | path

Searched refs:crypto_suite (Results 1 – 9 of 9) 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/wpa_supplicant_8/src/ap/
Ddpp_hostapd.c1178 u8 crypto_suite; in hostapd_dpp_rx_action() local
1189 crypto_suite = *buf++; in hostapd_dpp_rx_action()
1196 crypto_suite, type, MAC2STR(src), freq); in hostapd_dpp_rx_action()
1197 if (crypto_suite != 1) { in hostapd_dpp_rx_action()
1199 crypto_suite); in hostapd_dpp_rx_action()
/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/wpa_supplicant_8/wpa_supplicant/
Ddpp_supplicant.c1561 u8 crypto_suite; in wpas_dpp_rx_action() local
1572 crypto_suite = *buf++; in wpas_dpp_rx_action()
1579 crypto_suite, type, MAC2STR(src), freq); in wpas_dpp_rx_action()
1580 if (crypto_suite != 1) { in wpas_dpp_rx_action()
1582 crypto_suite); in wpas_dpp_rx_action()
/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()