Home
last modified time | relevance | path

Searched refs:ProtectionProfile (Results 1 – 11 of 11) sorted by relevance

/webrtc/srtp/src/
H A Dprotection_profile.rs4 pub enum ProtectionProfile { enum
10 impl ProtectionProfile { impl
13 ProtectionProfile::Aes128CmHmacSha1_80 | ProtectionProfile::AeadAes128Gcm => 16, in key_len()
19 ProtectionProfile::Aes128CmHmacSha1_80 => 14, in salt_len()
20 ProtectionProfile::AeadAes128Gcm => 12, in salt_len()
26 ProtectionProfile::Aes128CmHmacSha1_80 => 10, //CIPHER_AES_CM_HMAC_SHA1AUTH_TAG_LEN, in auth_tag_len()
27 ProtectionProfile::AeadAes128Gcm => 16, //CIPHER_AEAD_AES_GCM_AUTH_TAG_LEN, in auth_tag_len()
33 ProtectionProfile::Aes128CmHmacSha1_80 => 20, in auth_key_len()
34 ProtectionProfile::AeadAes128Gcm => 0, in auth_key_len()
H A Dconfig.rs23 pub profile: ProtectionProfile,
H A Dkey_derivation.rs147 let auth_key_len = ProtectionProfile::Aes128CmHmacSha1_80.auth_key_len(); in test_valid_session_keys()
/webrtc/srtp/src/context/
H A Dsrtcp_test.rs101 ProtectionProfile::Aes128CmHmacSha1_80, in test_rtcp_lifecycle()
108 ProtectionProfile::Aes128CmHmacSha1_80, in test_rtcp_lifecycle()
133 let auth_tag_len = ProtectionProfile::Aes128CmHmacSha1_80.auth_tag_len(); in test_rtcp_invalid_auth_tag()
138 ProtectionProfile::Aes128CmHmacSha1_80, in test_rtcp_invalid_auth_tag()
169 ProtectionProfile::Aes128CmHmacSha1_80, in test_rtcp_replay_detector_separation()
215 ProtectionProfile::Aes128CmHmacSha1_80, in test_encrypt_rtcp_separation()
220 let auth_tag_len = ProtectionProfile::Aes128CmHmacSha1_80.auth_tag_len(); in test_encrypt_rtcp_separation()
225 ProtectionProfile::Aes128CmHmacSha1_80, in test_encrypt_rtcp_separation()
H A Dcontext_test.rs7 const CIPHER_CONTEXT_ALGO: ProtectionProfile = ProtectionProfile::Aes128CmHmacSha1_80;
240 ProtectionProfile::AeadAes128Gcm, in test_encrypt_rtp()
258 ProtectionProfile::AeadAes128Gcm, in test_decrypt_rtp()
276 ProtectionProfile::AeadAes128Gcm, in test_encrypt_rtcp()
294 ProtectionProfile::AeadAes128Gcm, in test_decrypt_rtcp()
H A Dsrtp_test.rs72 ProtectionProfile::Aes128CmHmacSha1_80, in build_test_context()
92 ProtectionProfile::Aes128CmHmacSha1_80, in test_rtp_invalid_auth()
124 let auth_tag_len = ProtectionProfile::Aes128CmHmacSha1_80.auth_tag_len(); in test_rtp_lifecyle()
H A Dmod.rs117 profile: ProtectionProfile, in new() argument
131 ProtectionProfile::Aes128CmHmacSha1_80 => { in new()
135 ProtectionProfile::AeadAes128Gcm => { in new()
/webrtc/srtp/src/session/
H A Dsession_rtcp_test.rs16 profile: ProtectionProfile::Aes128CmHmacSha1_80, in build_session_srtcp_pair()
42 profile: ProtectionProfile::Aes128CmHmacSha1_80, in build_session_srtcp_pair()
156 let auth_tag_size = ProtectionProfile::Aes128CmHmacSha1_80.auth_tag_len(); in get_sender_ssrc()
H A Dsession_rtp_test.rs20 profile: ProtectionProfile::Aes128CmHmacSha1_80, in build_session_srtp_pair()
46 profile: ProtectionProfile::Aes128CmHmacSha1_80, in build_session_srtp_pair()
/webrtc/webrtc/src/dtls_transport/
H A Dmod.rs15 use srtp::protection_profile::ProtectionProfile;
70 pub(crate) srtp_protection_profile: Mutex<ProtectionProfile>,
415 srtp::protection_profile::ProtectionProfile::AeadAes128Gcm in start()
418 srtp::protection_profile::ProtectionProfile::Aes128CmHmacSha1_80 in start()
/webrtc/srtp/src/cipher/
H A Dcipher_aes_cm_hmac_sha1.rs63 let auth_key_len = ProtectionProfile::Aes128CmHmacSha1_80.auth_key_len(); in new()