/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...] |
chacha20_poly1305_encrypter_test.cc | 42 // EncryptWithNonce wraps the |Encrypt| method of |encrypter| to allow passing 44 QuicData* EncryptWithNonce(ChaCha20Poly1305Encrypter* encrypter, 48 size_t ciphertext_size = encrypter->GetCiphertextSize(plaintext.length()); 51 if (!encrypter->Encrypt(nonce, associated_data, plaintext, 78 ChaCha20Poly1305Encrypter encrypter; local 79 ASSERT_TRUE(encrypter.SetKey(key)); 81 &encrypter, iv, 82 // This deliberately tests that the encrypter can handle an AAD that 94 ChaCha20Poly1305Encrypter encrypter; local 95 EXPECT_EQ(1000u, encrypter.GetMaxPlaintextSize(1012)) 101 ChaCha20Poly1305Encrypter encrypter; local [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, 255 Aes128Gcm12Encrypter encrypter; local 256 ASSERT_TRUE(encrypter.SetKey(key)); 258 &encrypter, iv, 259 // This deliberately tests that the encrypter can handle an AAD that 281 Aes128Gcm12Encrypter encrypter; local 282 EXPECT_EQ(1000u, encrypter.GetMaxPlaintextSize(1012)) 288 Aes128Gcm12Encrypter encrypter; local [all...] |
crypto_handshake.h | 85 // A CrypterPair contains the encrypter and decrypter for an encryption level. 89 scoped_ptr<QuicEncrypter> encrypter; member in struct:net::CrypterPair
|
/external/chromium_org/net/quic/ |
quic_connection.cc | 1640 const QuicEncrypter* QuicConnection::encrypter(EncryptionLevel level) const { function in class:net::QuicConnection [all...] |
quic_framer.cc | 1682 const QuicEncrypter* QuicFramer::encrypter(EncryptionLevel level) const { function in class:net::QuicFramer [all...] |