Searched refs:ProtectionProfile (Results 1 – 11 of 11) sorted by relevance
| /webrtc/srtp/src/ |
| H A D | protection_profile.rs | 4 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 D | config.rs | 23 pub profile: ProtectionProfile,
|
| H A D | key_derivation.rs | 147 let auth_key_len = ProtectionProfile::Aes128CmHmacSha1_80.auth_key_len(); in test_valid_session_keys()
|
| /webrtc/srtp/src/context/ |
| H A D | srtcp_test.rs | 101 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 D | context_test.rs | 7 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 D | srtp_test.rs | 72 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 D | mod.rs | 117 profile: ProtectionProfile, in new() argument 131 ProtectionProfile::Aes128CmHmacSha1_80 => { in new() 135 ProtectionProfile::AeadAes128Gcm => { in new()
|
| /webrtc/srtp/src/session/ |
| H A D | session_rtcp_test.rs | 16 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 D | session_rtp_test.rs | 20 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 D | mod.rs | 15 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 D | cipher_aes_cm_hmac_sha1.rs | 63 let auth_key_len = ProtectionProfile::Aes128CmHmacSha1_80.auth_key_len(); in new()
|