Home
last modified time | relevance | path

Searched refs:CryptoTestUtils (Results 1 – 17 of 17) sorted by relevance

/external/chromium_org/net/quic/test_tools/
Dcrypto_test_utils.cc127 CryptoTestUtils::FakeClientOptions::FakeClientOptions() in FakeClientOptions()
133 int CryptoTestUtils::HandshakeWithFakeServer( in HandshakeWithFakeServer()
160 int CryptoTestUtils::HandshakeWithFakeClient( in HandshakeWithFakeClient()
198 void CryptoTestUtils::SetupCryptoServerConfigForTest( in SetupCryptoServerConfigForTest()
211 void CryptoTestUtils::CommunicateHandshakeMessages( in CommunicateHandshakeMessages()
233 pair<size_t, size_t> CryptoTestUtils::AdvanceHandshake( in AdvanceHandshake()
255 string CryptoTestUtils::GetValueForTag(const CryptoHandshakeMessage& message, in GetValueForTag()
320 CommonCertSets* CryptoTestUtils::MockCommonCertSets(StringPiece cert, in MockCommonCertSets()
326 void CryptoTestUtils::CompareClientAndServerKeys( in CompareClientAndServerKeys()
414 QuicTag CryptoTestUtils::ParseTag(const char* tagstr) { in ParseTag()
[all …]
Dcrypto_test_utils_chromium.cc40 ProofSource* CryptoTestUtils::ProofSourceForTesting() { in ProofSourceForTesting()
45 ProofVerifier* CryptoTestUtils::ProofVerifierForTesting() { in ProofVerifierForTesting()
Dcrypto_test_utils.h37 class CryptoTestUtils {
Dcrypto_test_utils_nss.cc132 ChannelIDSigner* CryptoTestUtils::ChannelIDSignerForTesting() { in ChannelIDSignerForTesting()
Dcrypto_test_utils_openssl.cc167 ChannelIDSigner* CryptoTestUtils::ChannelIDSignerForTesting() { in ChannelIDSignerForTesting()
/external/chromium_org/net/quic/
Dquic_crypto_server_stream_test.cc71 CryptoTestUtils::SetupCryptoServerConfigForTest( in QuicCryptoServerStreamTest()
99 return CryptoTestUtils::HandshakeWithFakeClient(connection_, &stream_, in CompleteCryptoHandshake()
111 CryptoTestUtils::FakeClientOptions client_options_;
159 CryptoTestUtils::CommunicateHandshakeMessages( in TEST_P()
194 pair<size_t, size_t> messages_moved = CryptoTestUtils::AdvanceHandshake( in TEST_P()
207 messages_moved = CryptoTestUtils::AdvanceHandshake( in TEST_P()
215 CryptoTestUtils::CommunicateHandshakeMessages( in TEST_P()
Dquic_crypto_server_stream.h22 class CryptoTestUtils; variable
49 friend class test::CryptoTestUtils;
Dquic_crypto_client_stream.h24 class CryptoTestUtils; variable
73 friend class test::CryptoTestUtils;
Dquic_crypto_stream_test.cc87 EXPECT_EQ("abc", CryptoTestUtils::GetValueForTag(message, 1)); in TEST_F()
88 EXPECT_EQ("def", CryptoTestUtils::GetValueForTag(message, 2)); in TEST_F()
Dquic_crypto_client_stream_test.cc37 CryptoTestUtils::HandshakeWithFakeServer(connection_, stream_.get()); in CompleteCryptoHandshake()
Dquic_client_session_test.cc90 CryptoTestUtils::HandshakeWithFakeServer( in CompleteCryptoHandshake()
/external/chromium_org/net/quic/crypto/
Dcrypto_framer_test.cc288 EXPECT_EQ("abcdef", CryptoTestUtils::GetValueForTag(message, 0x12345678)); in TEST()
289 EXPECT_EQ("ghijk", CryptoTestUtils::GetValueForTag(message, 0x12345679)); in TEST()
335 EXPECT_EQ("abcdef", CryptoTestUtils::GetValueForTag(message, 0x12345678)); in TEST()
336 EXPECT_EQ("ghijk", CryptoTestUtils::GetValueForTag(message, 0x12345679)); in TEST()
337 EXPECT_EQ("lmnopqr", CryptoTestUtils::GetValueForTag(message, 0x1234567A)); in TEST()
376 EXPECT_EQ("abcdef", CryptoTestUtils::GetValueForTag(message, 0x12345678)); in TEST()
377 EXPECT_EQ("ghijk", CryptoTestUtils::GetValueForTag(message, 0x12345679)); in TEST()
Dcrypto_server_test.cc30 config_.SetProofSource(CryptoTestUtils::ProofSourceForTesting()); in CryptoServerTest()
51 CryptoHandshakeMessage client_hello = CryptoTestUtils::Message( in SetUp()
163 CryptoTestUtils::BuildMessage(message_tag, ap); in InchoateClientHello()
239 ShouldFailMentioning("too small", CryptoTestUtils::Message( in TEST_F()
295 CryptoHandshakeMessage msg = CryptoTestUtils::Message( in TEST_F()
435 CryptoHandshakeMessage msg = CryptoTestUtils::Message( in TEST_F()
Dproof_test.cc31 scoped_ptr<ProofSource> source(CryptoTestUtils::ProofSourceForTesting()); in TEST()
33 CryptoTestUtils::ProofVerifierForTesting()); in TEST()
249 CryptoTestUtils::ProofVerifierForTesting()); in TEST()
332 CryptoTestUtils::ProofVerifierForTesting()); in TEST()
Dcert_compressor_test.cc51 CryptoTestUtils::MockCommonCertSets(chain[0], set_hash, 1)); in TEST()
128 CryptoTestUtils::MockCommonCertSets("foo", 42, 1)); in TEST()
Dchannel_id_test.cc224 CryptoTestUtils::ChannelIDSignerForTesting()); in TEST()
/external/chromium_org/net/tools/quic/
Dquic_client_session_test.cc16 using net::test::CryptoTestUtils;
40 CryptoTestUtils::HandshakeWithFakeServer( in CompleteCryptoHandshake()