srtpfilter_unittest.cc | 530 memcpy(rtp_packet_, kPcmuFrame, rtp_len_); 535 EXPECT_TRUE(s1_.ProtectRtp(rtp_packet_, rtp_len_, 536 sizeof(rtp_packet_), &out_len)); 538 EXPECT_NE(0, memcmp(rtp_packet_, kPcmuFrame, rtp_len_)); 551 EXPECT_TRUE(s2_.UnprotectRtp(rtp_packet_, rtp_len_, &out_len)); 553 EXPECT_EQ(0, memcmp(rtp_packet_, kPcmuFrame, out_len)); 563 char rtp_packet_[sizeof(kPcmuFrame) + 10]; member in class:SrtpSessionTest 616 rtp_packet_[0] = 0x12; 618 EXPECT_FALSE(s2_.UnprotectRtp(rtp_packet_, rtp_len_, &out_len)); 627 EXPECT_FALSE(s2_.UnprotectRtp(rtp_packet_, rtp_len_, &out_len)) [all...] |