1
0
mirror of https://github.com/facebookincubator/mvfst.git synced 2025-08-09 20:42:44 +03:00

Add a bridge to fizz::Aead (#12)

Summary:
This introduce quic::Aead as a simple typedef to fizz::Aead and update the codebase to use quic::Aead . This should not impact the functionality of the code in any way.

This is a first step toward introducing an interface that is specific for mvfst so that mvfst can swap fizz for something else.
Pull Request resolved: https://github.com/facebookincubator/mvfst/pull/12

Reviewed By: JunqiWang

Differential Revision: D15335324

Pulled By: mjoras

fbshipit-source-id: fef166a9a5c2cbae08ad9511d0abd749f330c221
This commit is contained in:
Amaury Séchet
2019-05-29 11:50:22 -07:00
committed by Facebook Github Bot
parent f7b8ca44f4
commit f26cd1f62d
25 changed files with 120 additions and 106 deletions

View File

@@ -333,7 +333,7 @@ class TestQuicTransport
}
QuicServerConnectionState* transportConn;
std::unique_ptr<fizz::Aead> aead;
std::unique_ptr<Aead> aead;
std::unique_ptr<PacketNumberCipher> headerCipher;
std::unique_ptr<ConnectionIdAlgo> connIdAlgo_;
bool transportClosed{false};