Searched defs:encrypter (Results 1 - 6 of 6) sorted by relevance

/external/chromium_org/net/quic/crypto/
H A Dnull_encrypter_test.cc26 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
[all...]
H A Dchacha20_poly1305_encrypter_test.cc42 // EncryptWithNonce wraps the |Encrypt| method of |encrypter| to allow passing
44 QuicData* EncryptWithNonce(ChaCha20Poly1305Encrypter* encrypter, argument
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
101 ChaCha20Poly1305Encrypter encrypter; local
[all...]
H A Daes_128_gcm_12_encrypter_test.cc209 // EncryptWithNonce wraps the |Encrypt| method of |encrypter| to allow passing
211 QuicData* EncryptWithNonce(Aes128Gcm12Encrypter* encrypter, argument
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
288 Aes128Gcm12Encrypter encrypter; local
[all...]
H A Dcrypto_handshake.h85 // 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/
H A Dquic_connection.cc1636 QuicEncrypter* encrypter) {
1637 framer_.SetEncrypter(level, encrypter);
1640 const QuicEncrypter* QuicConnection::encrypter(EncryptionLevel level) const { function in class:net::QuicConnection
1641 return framer_.encrypter(level);
1635 SetEncrypter(EncryptionLevel level, QuicEncrypter* encrypter) argument
H A Dquic_framer.cc1676 QuicEncrypter* encrypter) {
1679 encrypter_[level].reset(encrypter);
1682 const QuicEncrypter* QuicFramer::encrypter(EncryptionLevel level) const { function in class:net::QuicFramer
1675 SetEncrypter(EncryptionLevel level, QuicEncrypter* encrypter) argument

Completed in 173 milliseconds