Home
last modified time | relevance | path

Searched refs:MockEncrypter (Results 1 – 3 of 3) sorted by relevance

/external/cronet/net/quic/
Dmock_encrypter.cc22 MockEncrypter::MockEncrypter(Perspective perspective) {} in MockEncrypter() function in net::MockEncrypter
24 bool MockEncrypter::SetKey(absl::string_view key) { in SetKey()
28 bool MockEncrypter::SetNoncePrefix(absl::string_view nonce_prefix) { in SetNoncePrefix()
32 bool MockEncrypter::SetIV(absl::string_view iv) { in SetIV()
36 bool MockEncrypter::EncryptPacket(uint64_t /*packet_number*/, in EncryptPacket()
51 bool MockEncrypter::SetHeaderProtectionKey(absl::string_view key) { in SetHeaderProtectionKey()
55 std::string MockEncrypter::GenerateHeaderProtectionMask( in GenerateHeaderProtectionMask()
60 size_t MockEncrypter::GetKeySize() const { in GetKeySize()
64 size_t MockEncrypter::GetNoncePrefixSize() const { in GetNoncePrefixSize()
68 size_t MockEncrypter::GetIVSize() const { in GetIVSize()
[all …]
Dmock_encrypter.h21 class MockEncrypter : public quic::QuicEncrypter {
23 explicit MockEncrypter(quic::Perspective perspective);
25 MockEncrypter(const MockEncrypter&) = delete;
26 MockEncrypter& operator=(const MockEncrypter&) = delete;
28 ~MockEncrypter() override = default;
Dmock_crypto_client_stream.cc152 std::make_unique<MockEncrypter>(Perspective::IS_CLIENT)); in CryptoConnect()
206 std::make_unique<MockEncrypter>(Perspective::IS_CLIENT)); in CryptoConnect()
318 std::make_unique<MockEncrypter>(Perspective::IS_CLIENT)); in NotifySessionOneRttKeyAvailable()