Home
last modified time | relevance | path

Searched refs:decrypter (Results 1 – 14 of 14) sorted by relevance

/external/chromium_org/net/quic/crypto/
Dnull_decrypter_test.cc28 NullDecrypter decrypter; in TEST_F() local
30 decrypter.DecryptPacket(0, "hello world!", StringPiece(data, len))); in TEST_F()
47 NullDecrypter decrypter; in TEST_F() local
49 decrypter.DecryptPacket(0, "hello world!", StringPiece(data, len))); in TEST_F()
62 NullDecrypter decrypter; in TEST_F() local
64 decrypter.DecryptPacket(0, "hello world!", StringPiece(data, len))); in TEST_F()
Dchacha20_poly1305_decrypter_test.cc73 QuicData* DecryptWithNonce(ChaCha20Poly1305Decrypter* decrypter, in DecryptWithNonce() argument
80 if (!decrypter->Decrypt(nonce, associated_data, ciphertext, in DecryptWithNonce()
112 ChaCha20Poly1305Decrypter decrypter; in TEST() local
113 ASSERT_TRUE(decrypter.SetKey(key)); in TEST()
115 &decrypter, iv, in TEST()
Daes_128_gcm_12_decrypter_test.cc255 QuicData* DecryptWithNonce(Aes128Gcm12Decrypter* decrypter, in DecryptWithNonce() argument
262 if (!decrypter->Decrypt(nonce, associated_data, ciphertext, in DecryptWithNonce()
313 Aes128Gcm12Decrypter decrypter; in TEST() local
314 ASSERT_TRUE(decrypter.SetKey(key)); in TEST()
317 &decrypter, iv, in TEST()
Dcrypto_utils.cc90 crypters->decrypter.reset(QuicDecrypter::Create(aead)); in DeriveKeys()
108 !crypters->decrypter->SetKey(hkdf.client_write_key()) || in DeriveKeys()
109 !crypters->decrypter->SetNoncePrefix(hkdf.client_write_iv())) { in DeriveKeys()
115 !crypters->decrypter->SetKey(hkdf.server_write_key()) || in DeriveKeys()
116 !crypters->decrypter->SetNoncePrefix(hkdf.server_write_iv())) { in DeriveKeys()
Dcrypto_secret_boxer.cc85 scoped_ptr<QuicDecrypter> decrypter(QuicDecrypter::Create(kAESG)); in Unbox() local
86 if (!decrypter->SetKey(key_)) { in Unbox()
90 if (!decrypter->Decrypt(StringPiece(nonce, kBoxNonceSize), StringPiece(), in Unbox()
Dcrypto_handshake.h90 scoped_ptr<QuicDecrypter> decrypter; member
Dquic_crypto_server_config.cc693 scoped_ptr<QuicData> cetv_plaintext(crypters.decrypter->DecryptPacket( in ProcessClientHello()
/external/chromium_org/net/quic/
Dquic_framer.h334 void SetDecrypter(QuicDecrypter* decrypter, EncryptionLevel level);
342 void SetAlternativeDecrypter(QuicDecrypter* decrypter,
346 const QuicDecrypter* decrypter() const;
Dquic_crypto_server_stream.cc128 crypto_negotiated_params_.initial_crypters.decrypter.release(), in FinishProcessingHandshakeMessage()
147 crypto_negotiated_params_.forward_secure_crypters.decrypter.release(), in FinishProcessingHandshakeMessage()
Dquic_connection.h481 void SetDecrypter(QuicDecrypter* decrypter, EncryptionLevel level);
489 void SetAlternativeDecrypter(QuicDecrypter* decrypter,
493 const QuicDecrypter* decrypter() const;
Dquic_crypto_client_stream.cc265 crypto_negotiated_params_.initial_crypters.decrypter.release(), in DoHandshakeLoop()
424 crypters->decrypter.release(), ENCRYPTION_FORWARD_SECURE, in DoHandshakeLoop()
Dquic_connection.cc1649 void QuicConnection::SetDecrypter(QuicDecrypter* decrypter, in SetDecrypter() argument
1651 framer_.SetDecrypter(decrypter, level); in SetDecrypter()
1654 void QuicConnection::SetAlternativeDecrypter(QuicDecrypter* decrypter, in SetAlternativeDecrypter() argument
1657 framer_.SetAlternativeDecrypter(decrypter, level, latch_once_used); in SetAlternativeDecrypter()
1660 const QuicDecrypter* QuicConnection::decrypter() const { in decrypter() function in net::QuicConnection
1661 return framer_.decrypter(); in decrypter()
Dquic_framer.cc1651 void QuicFramer::SetDecrypter(QuicDecrypter* decrypter, in SetDecrypter() argument
1655 decrypter_.reset(decrypter); in SetDecrypter()
1659 void QuicFramer::SetAlternativeDecrypter(QuicDecrypter* decrypter, in SetAlternativeDecrypter() argument
1662 alternative_decrypter_.reset(decrypter); in SetAlternativeDecrypter()
1667 const QuicDecrypter* QuicFramer::decrypter() const { in decrypter() function in net::QuicFramer
/external/chromium_org/net/quic/test_tools/
Dcrypto_test_utils.cc421 client->session()->connection()->decrypter()); in CompareClientAndServerKeys()
429 server->session()->connection()->decrypter()); in CompareClientAndServerKeys()