diff --git a/src/tcp.rs b/src/tcp.rs index d04ed1e66..35d22d639 100644 --- a/src/tcp.rs +++ b/src/tcp.rs @@ -30,6 +30,10 @@ pub struct DynTcpStream(pub Box); /// the handshake transcript into both, and keeps the nonce layout. pub const KX_VERSION_LATEST: u32 = 1; +/// Prefix of what the server signs as `KxParams`. The same key signs other messages, and a +/// protobuf carries no type of its own, so the prefix is what keeps them apart. +pub const KX_PARAMS_DOMAIN: &[u8] = b"rdkx-params"; + /// The version to run against a peer that advertised `advertised`: the highest both sides /// support. #[inline]