HomeSort by relevance Sort by last modified time
    Searched refs:encrypter (Results 1 - 12 of 12) sorted by null

  /external/chromium_org/net/quic/crypto/
null_encrypter_test.cc 24 NullEncrypter encrypter; local
26 encrypter.EncryptPacket(0, "hello world!", "goodbye!"));
34 NullEncrypter encrypter; local
35 EXPECT_EQ(1000u, encrypter.GetMaxPlaintextSize(1016));
36 EXPECT_EQ(100u, encrypter.GetMaxPlaintextSize(116));
37 EXPECT_EQ(10u, encrypter.GetMaxPlaintextSize(26));
41 NullEncrypter encrypter; local
42 EXPECT_EQ(1016u, encrypter.GetCiphertextSize(1000));
43 EXPECT_EQ(116u, encrypter.GetCiphertextSize(100));
44 EXPECT_EQ(26u, encrypter.GetCiphertextSize(10))
    [all...]
aes_128_gcm_12_encrypter_test.cc 246 // EncryptWithNonce wraps the |Encrypt| method of |encrypter| to allow passing
248 QuicData* EncryptWithNonce(Aes128Gcm12Encrypter* encrypter,
252 size_t ciphertext_size = encrypter->GetCiphertextSize(plaintext.length());
255 if (!encrypter->Encrypt(nonce, associated_data, plaintext,
307 Aes128Gcm12Encrypter encrypter; local
308 ASSERT_TRUE(encrypter.SetKey(StringPiece(key, key_len)));
310 &encrypter, StringPiece(iv, iv_len),
334 Aes128Gcm12Encrypter encrypter; local
335 EXPECT_EQ(1000u, encrypter.GetMaxPlaintextSize(1012));
336 EXPECT_EQ(100u, encrypter.GetMaxPlaintextSize(112))
341 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 out->encrypter->SetKey(hkdf.server_write_key());
103 out->encrypter->SetNoncePrefix(hkdf.server_write_iv());
107 out->encrypter->SetKey(hkdf.client_write_key());
108 out->encrypter->SetNoncePrefix(hkdf.client_write_iv());
crypto_handshake.h 149 // A CrypterPair contains the encrypter and decrypter for an encryption level.
153 scoped_ptr<QuicEncrypter> encrypter; member in struct:net::CrypterPair
crypto_handshake.cc 757 scoped_ptr<QuicData> cetv_ciphertext(crypters.encrypter->EncryptPacket(
  /external/chromium_org/net/quic/
quic_crypto_server_stream.cc 73 crypto_negotiated_params_.initial_crypters.encrypter.release());
84 crypto_negotiated_params_.forward_secure_crypters.encrypter.release());
quic_crypto_client_stream.cc 211 crypto_negotiated_params_.initial_crypters.encrypter.release());
357 ENCRYPTION_FORWARD_SECURE, crypters->encrypter.release());
quic_framer.h 314 // Changes the encrypter used for level |level| to |encrypter|. The function
315 // takes ownership of |encrypter|.
316 void SetEncrypter(EncryptionLevel level, QuicEncrypter* encrypter);
317 const QuicEncrypter* encrypter(EncryptionLevel level) const;
quic_connection.h 354 // with initial encryption when the initial encrypter changes.
357 // Changes the encrypter used for level |level| to |encrypter|. The function
358 // takes ownership of |encrypter|.
359 void SetEncrypter(EncryptionLevel level, QuicEncrypter* encrypter);
360 const QuicEncrypter* encrypter(EncryptionLevel level) const;
quic_connection.cc 1397 const QuicEncrypter* QuicConnection::encrypter(EncryptionLevel level) const { function in class:net::QuicConnection
    [all...]
quic_framer.cc 1343 const QuicEncrypter* QuicFramer::encrypter(EncryptionLevel level) const { function in class:net::QuicFramer
    [all...]
  /external/chromium_org/net/quic/test_tools/
crypto_test_utils.cc 316 client->session()->connection()->encrypter(ENCRYPTION_INITIAL));
320 client->session()->connection()->encrypter(ENCRYPTION_FORWARD_SECURE));
324 server->session()->connection()->encrypter(ENCRYPTION_INITIAL));
328 server->session()->connection()->encrypter(ENCRYPTION_FORWARD_SECURE));

Completed in 151 milliseconds