Searched refs:tail_offset (Results 1 – 2 of 2) sorted by relevance
162 let tail_offset = input.len() - (self.auth_tag_len() + SRTCP_INDEX_SIZE); in get_rtcp_index() localVariable163 (BigEndian::read_u32(&input[tail_offset..tail_offset + SRTCP_INDEX_SIZE]) & !(1 << 31)) in get_rtcp_index()290 let tail_offset = encrypted.len() - (self.auth_tag_len() + SRTCP_INDEX_SIZE); in decrypt_rtcp() localVariable292 let mut writer = BytesMut::with_capacity(tail_offset); in decrypt_rtcp()294 writer.extend_from_slice(&encrypted[0..tail_offset]); in decrypt_rtcp()296 let is_encrypted = encrypted[tail_offset] >> 7; in decrypt_rtcp()
204 let tail_offset = encrypted.len() - (auth_tag_len + SRTCP_INDEX_SIZE); in get_rtcp_index() localVariable205 let reader = &mut encrypted.slice(tail_offset..tail_offset + SRTCP_INDEX_SIZE); in get_rtcp_index()