/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_utils.cc | 87 out->encrypter.reset(QuicEncrypter::Create(aead)); 89 size_t key_bytes = out->encrypter->GetKeySize(); 90 size_t nonce_prefix_bytes = out->encrypter->GetNoncePrefixSize(); 102 if (!out->encrypter->SetKey(hkdf.server_write_key()) || 103 !out->encrypter->SetNoncePrefix(hkdf.server_write_iv()) || 109 if (!out->encrypter->SetKey(hkdf.client_write_key()) || 110 !out->encrypter->SetNoncePrefix(hkdf.client_write_iv()) ||
|
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
|
quic_crypto_client_config.cc | 445 scoped_ptr<QuicData> cetv_ciphertext(crypters.encrypter->EncryptPacket(
|
/external/chromium_org/net/quic/ |
quic_crypto_server_stream.cc | 104 crypto_negotiated_params_.initial_crypters.encrypter.release()); 115 crypto_negotiated_params_.forward_secure_crypters.encrypter.release());
|
quic_crypto_client_stream.cc | 232 crypto_negotiated_params_.initial_crypters.encrypter.release()); 381 ENCRYPTION_FORWARD_SECURE, crypters->encrypter.release());
|
quic_framer.h | 333 // Changes the encrypter used for level |level| to |encrypter|. The function 334 // takes ownership of |encrypter|. 335 void SetEncrypter(EncryptionLevel level, QuicEncrypter* encrypter); 336 const QuicEncrypter* encrypter(EncryptionLevel level) const;
|
quic_connection.h | 370 // initially encrypted packets when the initial encrypter changes. 373 // Changes the encrypter used for level |level| to |encrypter|. The function 374 // takes ownership of |encrypter|. 375 void SetEncrypter(EncryptionLevel level, QuicEncrypter* encrypter); 376 const QuicEncrypter* encrypter(EncryptionLevel level) const;
|
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...] |
/external/chromium_org/net/quic/test_tools/ |
crypto_test_utils.cc | 330 client->session()->connection()->encrypter(ENCRYPTION_INITIAL)); 334 client->session()->connection()->encrypter(ENCRYPTION_FORWARD_SECURE)); 338 server->session()->connection()->encrypter(ENCRYPTION_INITIAL)); 342 server->session()->connection()->encrypter(ENCRYPTION_FORWARD_SECURE));
|