Home
last modified time | relevance | path

Searched refs:NullEncrypter (Results 1 – 6 of 6) sorted by relevance

/external/chromium_org/net/quic/crypto/
Dnull_encrypter.cc16 NullEncrypter::NullEncrypter() {} in NullEncrypter() function in net::NullEncrypter
18 bool NullEncrypter::SetKey(StringPiece key) { return key.empty(); } in SetKey()
20 bool NullEncrypter::SetNoncePrefix(StringPiece nonce_prefix) { in SetNoncePrefix()
24 bool NullEncrypter::Encrypt( in Encrypt()
37 QuicData* NullEncrypter::EncryptPacket( in EncryptPacket()
47 size_t NullEncrypter::GetKeySize() const { return 0; } in GetKeySize()
49 size_t NullEncrypter::GetNoncePrefixSize() const { return 0; } in GetNoncePrefixSize()
51 size_t NullEncrypter::GetMaxPlaintextSize(size_t ciphertext_size) const { in GetMaxPlaintextSize()
55 size_t NullEncrypter::GetCiphertextSize(size_t plaintext_size) const { in GetCiphertextSize()
59 StringPiece NullEncrypter::GetKey() const { return StringPiece(); } in GetKey()
[all …]
Dnull_encrypter.h17 class NET_EXPORT_PRIVATE NullEncrypter : public QuicEncrypter {
19 NullEncrypter();
20 virtual ~NullEncrypter() {} in ~NullEncrypter()
42 DISALLOW_COPY_AND_ASSIGN(NullEncrypter);
Dnull_encrypter_test.cc26 NullEncrypter encrypter; in TEST_F()
37 NullEncrypter encrypter; in TEST_F()
44 NullEncrypter encrypter; in TEST_F()
Dquic_encrypter.cc22 return new NullEncrypter(); in Create()
/external/chromium_org/net/quic/test_tools/
Dquic_test_utils.cc577 NullEncrypter().GetCiphertextSize(*payload_length) + in GetPacketLengthForOneStream()
581 const size_t ack_length = NullEncrypter().GetCiphertextSize( in GetPacketLengthForOneStream()
590 return NullEncrypter().GetCiphertextSize(*payload_length) + in GetPacketLengthForOneStream()
/external/chromium_org/net/quic/
Dquic_packet_generator_test.cc516 NullEncrypter().GetCiphertextSize(0) + in TEST_F()