mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-17 21:29:54 +01:00
Add comment about tag reuse.
This commit is contained in:
@@ -24,7 +24,9 @@ public interface TransportCrypto {
|
|||||||
KeyPair ourHandshakeKeyPair) throws GeneralSecurityException;
|
KeyPair ourHandshakeKeyPair) throws GeneralSecurityException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Derives the handshake mode root key from the static master key.
|
* Derives the handshake mode root key from the static master key. To
|
||||||
|
* prevent tag reuse, separate root keys are derived for contacts and
|
||||||
|
* pending contacts.
|
||||||
*
|
*
|
||||||
* @param pendingContact Whether the static master key is shared with a
|
* @param pendingContact Whether the static master key is shared with a
|
||||||
* pending contact or a contact
|
* pending contact or a contact
|
||||||
|
|||||||
Reference in New Issue
Block a user