Skip to content

Commit 70142b6

Browse files
jrickdavecgh
authored andcommitted
mixing: Remove reference to x25519
x25519 was the ECDH used in the older client-server mixing implementation, but this was replaced with secp256k1 ECDH in the peer-to-peer implementation. Remove a lingering reference to x25519 that didn't get updated.
1 parent fb36b20 commit 70142b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mixing/keyagreement.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ func (kx *KX) SharedSecrets(k *RevealedKeys, sid []byte, run uint32, mcounts []u
172172
// XOR ECDH and both sntrup4591761 keys into a single
173173
// shared key. If sntrup4591761 is discovered to be
174174
// broken in the future, the security only reduces to
175-
// that of x25519.
175+
// that of ECDH.
176176
// If the message belongs to our own peer, only XOR
177177
// the sntrup4591761 key once. The decapsulated and
178178
// cleartext keys are equal in this case, and would

0 commit comments

Comments
 (0)