chore: Move timing related thing out of protocol.rs

This commit is contained in:
Karolin Varner
2025-06-01 14:21:48 +02:00
parent ad6d053015
commit da642186f2
5 changed files with 68 additions and 60 deletions

View File

@@ -10,8 +10,10 @@ use rosenpass_ciphers::StaticKem;
use rosenpass_util::result::OkExt;
use rosenpass::protocol::{
testutils::time_travel_forward, CryptoServer, HostIdentification, MsgBuf, PeerPtr, PollResult,
ProtocolVersion, SPk, SSk, SymKey, Timing, UNENDING,
testutils::time_travel_forward,
timing::{Timing, UNENDING},
CryptoServer, HostIdentification, MsgBuf, PeerPtr, PollResult, ProtocolVersion, SPk, SSk,
SymKey,
};
// TODO: Most of the utility functions in here should probably be moved to