Searched refs:GetMaxPlaintextSize (Results 1 - 16 of 16) sorted by relevance

/external/chromium_org/net/quic/crypto/
H A Dnull_encrypter_test.cc36 TEST_F(NullEncrypterTest, GetMaxPlaintextSize) {
38 EXPECT_EQ(1000u, encrypter.GetMaxPlaintextSize(1012));
39 EXPECT_EQ(100u, encrypter.GetMaxPlaintextSize(112));
40 EXPECT_EQ(10u, encrypter.GetMaxPlaintextSize(22));
H A Dchacha20_poly1305_encrypter_test.cc93 TEST(ChaCha20Poly1305EncrypterTest, GetMaxPlaintextSize) {
95 EXPECT_EQ(1000u, encrypter.GetMaxPlaintextSize(1012));
96 EXPECT_EQ(100u, encrypter.GetMaxPlaintextSize(112));
97 EXPECT_EQ(10u, encrypter.GetMaxPlaintextSize(22));
H A Daes_128_gcm_12_encrypter_test.cc280 TEST(Aes128Gcm12EncrypterTest, GetMaxPlaintextSize) {
282 EXPECT_EQ(1000u, encrypter.GetMaxPlaintextSize(1012));
283 EXPECT_EQ(100u, encrypter.GetMaxPlaintextSize(112));
284 EXPECT_EQ(10u, encrypter.GetMaxPlaintextSize(22));
H A Dquic_encrypter.h73 virtual size_t GetMaxPlaintextSize(size_t ciphertext_size) const = 0;
H A Dnull_encrypter.cc51 size_t NullEncrypter::GetMaxPlaintextSize(size_t ciphertext_size) const { function in class:net::NullEncrypter
H A Dnull_encrypter.h34 virtual size_t GetMaxPlaintextSize(size_t ciphertext_size) const OVERRIDE;
H A Daead_base_encrypter.h54 virtual size_t GetMaxPlaintextSize(size_t ciphertext_size) const OVERRIDE;
H A Daead_base_encrypter_openssl.cc132 size_t AeadBaseEncrypter::GetMaxPlaintextSize(size_t ciphertext_size) const { function in class:net::AeadBaseEncrypter
H A Daead_base_encrypter_nss.cc142 size_t AeadBaseEncrypter::GetMaxPlaintextSize(size_t ciphertext_size) const { function in class:net::AeadBaseEncrypter
/external/chromium_org/net/quic/
H A Dquic_packet_creator_test.cc114 return creator_.max_packet_length() - client_framer_.GetMaxPlaintextSize(
465 EXPECT_EQ(client_framer_.GetMaxPlaintextSize(kDefaultMaxPacketSize),
490 EXPECT_EQ(client_framer_.GetMaxPlaintextSize(kDefaultMaxPacketSize)
493 EXPECT_EQ(client_framer_.GetMaxPlaintextSize(kDefaultMaxPacketSize),
731 EXPECT_EQ(client_framer_.GetMaxPlaintextSize(kDefaultMaxPacketSize)
734 EXPECT_EQ(client_framer_.GetMaxPlaintextSize(kDefaultMaxPacketSize),
761 EXPECT_EQ(client_framer_.GetMaxPlaintextSize(kDefaultMaxPacketSize)
764 EXPECT_EQ(client_framer_.GetMaxPlaintextSize(kDefaultMaxPacketSize),
906 client_framer_.GetMaxPlaintextSize(creator_.max_packet_length());
968 client_framer_.GetMaxPlaintextSize(creator
[all...]
H A Dquic_packet_creator.cc346 framer_->GetMaxPlaintextSize(max_packet_length_);
380 framer_->GetMaxPlaintextSize(max_packet_length_);
H A Dquic_framer.h361 size_t GetMaxPlaintextSize(size_t ciphertext_size);
H A Dquic_framer.cc1710 size_t QuicFramer::GetMaxPlaintextSize(size_t ciphertext_size) { function in class:net::QuicFramer
1717 size_t size = encrypter_[i]->GetMaxPlaintextSize(ciphertext_size);
H A Dquic_connection_test.cc123 virtual size_t GetMaxPlaintextSize(size_t ciphertext_size) const OVERRIDE {
H A Dquic_framer_test.cc134 virtual size_t GetMaxPlaintextSize(size_t ciphertext_size) const OVERRIDE {
/external/chromium_org/net/quic/test_tools/
H A Dquic_test_utils.cc66 const size_t max_plaintext_size = framer->GetMaxPlaintextSize(kMaxPacketSize);

Completed in 1736 milliseconds