srtpfilter_unittest.cc | 529 rtcp_len_ = sizeof(kRtcpReport); 531 memcpy(rtcp_packet_, kRtcpReport, rtcp_len_); 543 EXPECT_TRUE(s1_.ProtectRtcp(rtcp_packet_, rtcp_len_, 545 EXPECT_EQ(out_len, rtcp_len_ + 4 + rtcp_auth_tag_len(cs)); // NOLINT 546 EXPECT_NE(0, memcmp(rtcp_packet_, kRtcpReport, rtcp_len_)); 547 rtcp_len_ = out_len; 557 EXPECT_TRUE(s2_.UnprotectRtcp(rtcp_packet_, rtcp_len_, &out_len)); 566 int rtcp_len_; member in class:SrtpSessionTest 619 EXPECT_FALSE(s2_.UnprotectRtcp(rtcp_packet_, rtcp_len_, &out_len)); 628 EXPECT_FALSE(s2_.UnprotectRtcp(rtcp_packet_, rtcp_len_, &out_len)) [all...] |