Searched refs:NullEncrypter (Results 1 – 6 of 6) sorted by relevance
16 NullEncrypter::NullEncrypter() {} in NullEncrypter() function in net::NullEncrypter18 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 …]
17 class NET_EXPORT_PRIVATE NullEncrypter : public QuicEncrypter {19 NullEncrypter();20 virtual ~NullEncrypter() {} in ~NullEncrypter()42 DISALLOW_COPY_AND_ASSIGN(NullEncrypter);
26 NullEncrypter encrypter; in TEST_F()37 NullEncrypter encrypter; in TEST_F()44 NullEncrypter encrypter; in TEST_F()
22 return new NullEncrypter(); in Create()
577 NullEncrypter().GetCiphertextSize(*payload_length) + in GetPacketLengthForOneStream()581 const size_t ack_length = NullEncrypter().GetCiphertextSize( in GetPacketLengthForOneStream()590 return NullEncrypter().GetCiphertextSize(*payload_length) + in GetPacketLengthForOneStream()
516 NullEncrypter().GetCiphertextSize(0) + in TEST_F()