Open fjarri opened 5 days ago
Ideally we would want protocol to know nothing of session. But currently there are several back-references:
protocol
session
FirstRound::new()
SessionId
LocalError
RemoteError
EchoRoundError
ReceiveError
Edit: Fixed/invalidated:
Protocol
Digest
Ideally we would want
protocol
to know nothing ofsession
. But currently there are several back-references:FirstRound::new()
needs to know aboutSessionId
(see also #9),LocalError
andRemoteError
are used on both levels. Should we have each layer have their own?EchoRoundError
is declared at the session level, but used at the protocol level as one of the variants ofReceiveError
Edit: Fixed/invalidated:
Protocol
trait usesDigest
trait, which is defined at the session level — using RustCrypto traits directly now