Home
last modified time | relevance | path

Searched refs:SrtpProtectionProfile (Results 1 – 12 of 12) sorted by relevance

/webrtc/dtls/src/extension/
H A Dextension_use_srtp.rs10 pub enum SrtpProtectionProfile { enum
18 impl From<u16> for SrtpProtectionProfile { implementation
21 0x0001 => SrtpProtectionProfile::Srtp_Aes128_Cm_Hmac_Sha1_80, in from()
22 0x0002 => SrtpProtectionProfile::Srtp_Aes128_Cm_Hmac_Sha1_32, in from()
23 0x0007 => SrtpProtectionProfile::Srtp_Aead_Aes_128_Gcm, in from()
24 0x0008 => SrtpProtectionProfile::Srtp_Aead_Aes_256_Gcm, in from()
25 _ => SrtpProtectionProfile::Unsupported, in from()
36 pub(crate) protection_profiles: Vec<SrtpProtectionProfile>,
/webrtc/dtls/src/
H A Dlib.rs30 use extension::extension_use_srtp::SrtpProtectionProfile;
33 a: &[SrtpProtectionProfile], in find_matching_srtp_profile() argument
34 b: &[SrtpProtectionProfile], in find_matching_srtp_profile() argument
35 ) -> Result<SrtpProtectionProfile, ()> { in find_matching_srtp_profile() argument
H A Dconfig.rs4 use crate::extension::extension_use_srtp::SrtpProtectionProfile;
30 pub srtp_protection_profiles: Vec<SrtpProtectionProfile>,
H A Dstate.rs4 use super::extension::extension_use_srtp::SrtpProtectionProfile;
29 pub(crate) srtp_protection_profile: SrtpProtectionProfile, // Negotiated srtp_protection_profile
78 … srtp_protection_profile: SrtpProtectionProfile::Unsupported, // Negotiated srtp_protection_profile in default()
H A Dhandshaker.rs82 …pub(crate) local_srtp_protection_profiles: Vec<SrtpProtectionProfile>, // Available SRTPProtection…
/webrtc/dtls/src/conn/
H A Dconn_test.rs701 Vec<SrtpProtectionProfile>, in test_srtp_configuration()
702 Vec<SrtpProtectionProfile>, in test_srtp_configuration()
703 SrtpProtectionProfile, in test_srtp_configuration()
711 SrtpProtectionProfile::Unsupported, in test_srtp_configuration()
719 SrtpProtectionProfile::Srtp_Aes128_Cm_Hmac_Sha1_80, in test_srtp_configuration()
727 SrtpProtectionProfile::Unsupported, in test_srtp_configuration()
735 SrtpProtectionProfile::Unsupported, in test_srtp_configuration()
742 SrtpProtectionProfile::Srtp_Aes128_Cm_Hmac_Sha1_80, in test_srtp_configuration()
743 SrtpProtectionProfile::Srtp_Aes128_Cm_Hmac_Sha1_32, in test_srtp_configuration()
749 SrtpProtectionProfile::Srtp_Aes128_Cm_Hmac_Sha1_80, in test_srtp_configuration()
[all …]
H A Dmod.rs491 pub fn selected_srtpprotection_profile(&self) -> SrtpProtectionProfile { in selected_srtpprotection_profile() argument
/webrtc/dtls/src/extension/extension_use_srtp/
H A Dextension_use_srtp_test.rs9 protection_profiles: vec![SrtpProtectionProfile::Srtp_Aes128_Cm_Hmac_Sha1_80], in test_extension_use_srtp()
/webrtc/webrtc/src/api/setting_engine/
H A Dmod.rs6 use dtls::extension::extension_use_srtp::SrtpProtectionProfile;
77 pub(crate) srtp_protection_profiles: Vec<SrtpProtectionProfile>,
100 pub fn set_srtp_protection_profiles(&mut self, profiles: Vec<SrtpProtectionProfile>) { in set_srtp_protection_profiles() argument
/webrtc/webrtc/src/dtls_transport/
H A Dmod.rs11 use dtls::extension::extension_use_srtp::SrtpProtectionProfile;
44 pub(crate) fn default_srtp_protection_profiles() -> Vec<SrtpProtectionProfile> { in default_srtp_protection_profiles()
46 SrtpProtectionProfile::Srtp_Aead_Aes_128_Gcm, in default_srtp_protection_profiles()
47 SrtpProtectionProfile::Srtp_Aes128_Cm_Hmac_Sha1_80, in default_srtp_protection_profiles()
414 … dtls::extension::extension_use_srtp::SrtpProtectionProfile::Srtp_Aead_Aes_128_Gcm => { in start()
417 … dtls::extension::extension_use_srtp::SrtpProtectionProfile::Srtp_Aes128_Cm_Hmac_Sha1_80 => { in start()
/webrtc/dtls/src/flight/
H A Dflight3.rs235 && state.srtp_protection_profile == SrtpProtectionProfile::Unsupported in parse()
H A Dflight4.rs515 if state.srtp_protection_profile != SrtpProtectionProfile::Unsupported { in generate()