/external/chromium_org/net/quic/crypto/ |
null_encrypter_test.cc | 26 NullEncrypter encrypter; local 28 encrypter.EncryptPacket(0, "hello world!", "goodbye!")); 37 NullEncrypter encrypter; local 38 EXPECT_EQ(1000u, encrypter.GetMaxPlaintextSize(1012)); 39 EXPECT_EQ(100u, encrypter.GetMaxPlaintextSize(112)); 40 EXPECT_EQ(10u, encrypter.GetMaxPlaintextSize(22)); 44 NullEncrypter encrypter; local 45 EXPECT_EQ(1012u, encrypter.GetCiphertextSize(1000)); 46 EXPECT_EQ(112u, encrypter.GetCiphertextSize(100)); 47 EXPECT_EQ(22u, encrypter.GetCiphertextSize(10)) [all...] |
aes_128_gcm_12_encrypter_test.cc | 209 // EncryptWithNonce wraps the |Encrypt| method of |encrypter| to allow passing 211 QuicData* EncryptWithNonce(Aes128Gcm12Encrypter* encrypter, 215 size_t ciphertext_size = encrypter->GetCiphertextSize(plaintext.length()); 218 if (!encrypter->Encrypt(nonce, associated_data, plaintext, 256 Aes128Gcm12Encrypter encrypter; local 257 ASSERT_TRUE(encrypter.SetKey(key)); 259 &encrypter, iv, 283 Aes128Gcm12Encrypter encrypter; local 284 EXPECT_EQ(1000u, encrypter.GetMaxPlaintextSize(1012)); 285 EXPECT_EQ(100u, encrypter.GetMaxPlaintextSize(112)) 290 Aes128Gcm12Encrypter encrypter; local [all...] |
crypto_handshake.h | 146 // A CrypterPair contains the encrypter and decrypter for an encryption level. 150 scoped_ptr<QuicEncrypter> encrypter; member in struct:net::CrypterPair
|
/external/chromium_org/net/quic/ |
quic_connection.cc | 1415 const QuicEncrypter* QuicConnection::encrypter(EncryptionLevel level) const { function in class:net::QuicConnection [all...] |
quic_framer.cc | 1485 const QuicEncrypter* QuicFramer::encrypter(EncryptionLevel level) const { function in class:net::QuicFramer [all...] |