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_chromium.cc110 ProofSource* CryptoTestUtils::ProofSourceForTesting() { in ProofSourceForTesting()
115 ProofVerifier* CryptoTestUtils::ProofVerifierForTesting() { in ProofVerifierForTesting()
124 ProofVerifyContext* CryptoTestUtils::ProofVerifyContextForTesting() { in ProofVerifyContextForTesting()
129 ProofSource* CryptoTestUtils::FakeProofSourceForTesting() { in FakeProofSourceForTesting()
134 ProofVerifier* CryptoTestUtils::FakeProofVerifierForTesting() { in FakeProofVerifierForTesting()
139 ProofVerifyContext* CryptoTestUtils::FakeProofVerifyContextForTesting() { in FakeProofVerifyContextForTesting()
Dcrypto_test_utils.cc135 public CryptoTestUtils::CallbackSource {
178 CryptoTestUtils::FakeClientOptions::FakeClientOptions() in FakeClientOptions()
185 int CryptoTestUtils::HandshakeWithFakeServer( in HandshakeWithFakeServer()
214 int CryptoTestUtils::HandshakeWithFakeClient( in HandshakeWithFakeClient()
273 void CryptoTestUtils::SetupCryptoServerConfigForTest( in SetupCryptoServerConfigForTest()
286 void CryptoTestUtils::CommunicateHandshakeMessages( in CommunicateHandshakeMessages()
295 void CryptoTestUtils::CommunicateHandshakeMessagesAndRunCallbacks( in CommunicateHandshakeMessagesAndRunCallbacks()
322 pair<size_t, size_t> CryptoTestUtils::AdvanceHandshake( in AdvanceHandshake()
344 string CryptoTestUtils::GetValueForTag(const CryptoHandshakeMessage& message, in GetValueForTag()
409 CommonCertSets* CryptoTestUtils::MockCommonCertSets(StringPiece cert, in MockCommonCertSets()
[all …]
Dcrypto_test_utils.h39 class CryptoTestUtils {
183 DISALLOW_COPY_AND_ASSIGN(CryptoTestUtils);
Dcrypto_test_utils_nss.cc58 ChannelIDSource* CryptoTestUtils::ChannelIDSourceForTesting() { in ChannelIDSourceForTesting()
Dcrypto_test_utils_openssl.cc160 ChannelIDSource* CryptoTestUtils::ChannelIDSourceForTesting() { in ChannelIDSourceForTesting()
/external/chromium_org/net/quic/
Dquic_crypto_server_stream_test.cc72 crypto_config_.SetProofSource(CryptoTestUtils::FakeProofSourceForTesting()); in QuicCryptoServerStreamTest()
75 CryptoTestUtils::SetupCryptoServerConfigForTest( in QuicCryptoServerStreamTest()
103 return CryptoTestUtils::HandshakeWithFakeClient(connection_, &stream_, in CompleteCryptoHandshake()
115 CryptoTestUtils::FakeClientOptions client_options_;
166 CryptoTestUtils::CommunicateHandshakeMessages( in TEST_P()
201 pair<size_t, size_t> messages_moved = CryptoTestUtils::AdvanceHandshake( in TEST_P()
214 messages_moved = CryptoTestUtils::AdvanceHandshake( in TEST_P()
222 CryptoTestUtils::CommunicateHandshakeMessages( in TEST_P()
Dquic_crypto_server_stream.h24 class CryptoTestUtils; variable
96 friend class test::CryptoTestUtils;
Dquic_crypto_stream_test.cc88 EXPECT_EQ("abc", CryptoTestUtils::GetValueForTag(message, 1)); in TEST_F()
89 EXPECT_EQ("def", CryptoTestUtils::GetValueForTag(message, 2)); in TEST_F()
Dquic_crypto_client_stream.h22 class CryptoTestUtils; variable
96 friend class test::CryptoTestUtils;
Dquic_crypto_client_stream_test.cc43 CryptoTestUtils::HandshakeWithFakeServer(connection_, stream_.get()); in CompleteCryptoHandshake()
Dquic_client_session_test.cc72 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.cc84 config_.SetProofSource(CryptoTestUtils::ProofSourceForTesting()); in CryptoServerTest()
112 CryptoHandshakeMessage client_hello = CryptoTestUtils::Message( in SetUp()
254 CryptoTestUtils::BuildMessage(message_tag, ap); in InchoateClientHello()
374 ShouldFailMentioning("too small", CryptoTestUtils::Message( in TEST_P()
449 CryptoHandshakeMessage msg = CryptoTestUtils::Message( in TEST_P()
470 CryptoHandshakeMessage msg = CryptoTestUtils::Message( in TEST_P()
491 CryptoHandshakeMessage msg = CryptoTestUtils::Message( in TEST_P()
513 CryptoHandshakeMessage msg = CryptoTestUtils::Message( in TEST_P()
537 CryptoHandshakeMessage msg = CryptoTestUtils::Message( in TEST_P()
684 CryptoHandshakeMessage msg = CryptoTestUtils::Message( in TEST_P()
Dproof_test.cc69 CryptoTestUtils::ProofVerifyContextForTesting()); in RunVerification()
112 scoped_ptr<ProofSource> source(CryptoTestUtils::ProofSourceForTesting()); in TEST()
114 CryptoTestUtils::ProofVerifierForTesting()); in TEST()
234 CryptoTestUtils::ProofVerifierForTesting()); in TEST()
316 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::ChannelIDSourceForTesting()); in TEST()
/external/chromium_org/net/tools/quic/
Dquic_client_session_test.cc19 using net::test::CryptoTestUtils;
55 CryptoTestUtils::HandshakeWithFakeServer( in CompleteCryptoHandshake()