From 47bf6d6c96260a66b9d419d44d3ada13e5a59274 Mon Sep 17 00:00:00 2001 From: Nick Johnson Date: Thu, 11 Apr 2024 12:19:42 -0700 Subject: [PATCH] Fix keys --- protocol/src/lib.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/protocol/src/lib.rs b/protocol/src/lib.rs index 15c4102..348d684 100644 --- a/protocol/src/lib.rs +++ b/protocol/src/lib.rs @@ -660,8 +660,8 @@ impl<'a> Handshake<'a> { } Role::Responder => { let materials = get_shared_secrets( - self.point.elligator_swift, theirs, + self.point.elligator_swift, self.point.secret_key, ElligatorSwiftParty::B, self.network, @@ -674,8 +674,6 @@ impl<'a> Handshake<'a> { } }; - println!("{:?}", materials); - let mut packet_handler = PacketHandler::new(materials, self.role.clone()); // TODO: Support decoy packets.