Searched refs:decrypter (Results 1 - 13 of 13) sorted by relevance

/external/chromium_org/net/quic/crypto/
H A Dnull_decrypter_test.cc24 NullDecrypter decrypter; local
25 scoped_ptr<QuicData> decrypted(decrypter.DecryptPacket(
43 NullDecrypter decrypter; local
44 scoped_ptr<QuicData> decrypted(decrypter.DecryptPacket(
58 NullDecrypter decrypter; local
59 scoped_ptr<QuicData> decrypted(decrypter.DecryptPacket(
H A Dcrypto_utils.cc88 out->decrypter.reset(QuicDecrypter::Create(aead));
104 out->decrypter->SetKey(hkdf.client_write_key());
105 out->decrypter->SetNoncePrefix(hkdf.client_write_iv());
109 out->decrypter->SetKey(hkdf.server_write_key());
110 out->decrypter->SetNoncePrefix(hkdf.server_write_iv());
H A Daes_128_gcm_12_decrypter_test.cc294 // DecryptWithNonce wraps the |Decrypt| method of |decrypter| to allow passing
296 QuicData* DecryptWithNonce(Aes128Gcm12Decrypter* decrypter, argument
303 if (!decrypter->Decrypt(nonce, associated_data, ciphertext,
363 Aes128Gcm12Decrypter decrypter; local
364 ASSERT_TRUE(decrypter.SetKey(StringPiece(key, key_len)));
368 &decrypter, StringPiece(iv, iv_len),
H A Dcrypto_handshake.h149 // A CrypterPair contains the encrypter and decrypter for an encryption level.
154 scoped_ptr<QuicDecrypter> decrypter; member in struct:net::CrypterPair
H A Dcrypto_server_config.cc443 scoped_ptr<QuicData> cetv_plaintext(crypters.decrypter->DecryptPacket(
/external/chromium_org/net/quic/
H A Dquic_crypto_server_stream.cc76 // Set the decrypter immediately so that we no longer accept unencrypted
79 crypto_negotiated_params_.initial_crypters.decrypter.release());
88 crypto_negotiated_params_.forward_secure_crypters.decrypter.release(),
H A Dquic_framer.h296 // SetDecrypter sets the primary decrypter, replacing any that already exists,
297 // and takes ownership. If an alternative decrypter is in place then the
299 // packets will be using the new decrypter and the previous decrypter is not
301 void SetDecrypter(QuicDecrypter* decrypter);
303 // SetAlternativeDecrypter sets a decrypter that may be used to decrypt
305 // then the first time that the decrypter is successful it will replace the
306 // primary decrypter. Otherwise both decrypters will remain active and the
307 // primary decrypter will be the one last used.
308 void SetAlternativeDecrypter(QuicDecrypter* decrypter,
[all...]
H A Dquic_crypto_client_stream.cc205 crypto_negotiated_params_.initial_crypters.decrypter.release(),
309 // decrypter latched and became the primary decrypter. That happens
326 // decrypter latched and became the primary decrypter. That happens
350 // TODO(agl): we don't currently latch this decrypter because the idea
355 crypters->decrypter.release(), false /* don't latch */);
H A Dquic_connection.h366 // SetDecrypter sets the primary decrypter, replacing any that already exists,
367 // and takes ownership. If an alternative decrypter is in place then the
369 // packets will be using the new decrypter and the previous decrypter is now
371 void SetDecrypter(QuicDecrypter* decrypter);
373 // SetAlternativeDecrypter sets a decrypter that may be used to decrypt
375 // then the first time that the decrypter is successful it will replace the
376 // primary decrypter. Otherwise both decrypters will remain active and the
377 // primary decrypter will be the one last used.
378 void SetAlternativeDecrypter(QuicDecrypter* decrypter,
[all...]
H A Dquic_connection.cc1406 void QuicConnection::SetDecrypter(QuicDecrypter* decrypter) { argument
1407 framer_.SetDecrypter(decrypter);
1410 void QuicConnection::SetAlternativeDecrypter(QuicDecrypter* decrypter, argument
1412 framer_.SetAlternativeDecrypter(decrypter, latch_once_used);
1415 const QuicDecrypter* QuicConnection::decrypter() const { function in class:net::QuicConnection
1416 return framer_.decrypter();
H A Dquic_framer.cc1317 void QuicFramer::SetDecrypter(QuicDecrypter* decrypter) { argument
1319 decrypter_.reset(decrypter);
1322 void QuicFramer::SetAlternativeDecrypter(QuicDecrypter* decrypter, argument
1324 alternative_decrypter_.reset(decrypter);
1328 const QuicDecrypter* QuicFramer::decrypter() const { function in class:net::QuicFramer
1428 // Switch to the alternative decrypter and latch so that we cannot
1432 // Switch the alternative decrypter so that we use it first next time.
/external/chromium_org/net/quic/test_tools/
H A Dcrypto_test_utils.cc318 client->session()->connection()->decrypter());
326 server->session()->connection()->decrypter());
/external/chromium_org/crypto/
H A Dopenpgp_symmetric_encryption.cc776 Decrypter decrypter; local
778 Result reader = decrypter.Decrypt(encrypted, passphrase, &result);

Completed in 153 milliseconds