mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-12 18:59:06 +01:00
Fixed some key derivation bugs and removed an unnecessary argument.
CryptoComponentImpl needs some unit tests.
This commit is contained in:
@@ -19,7 +19,7 @@ public interface CryptoComponent {
|
||||
byte[][] deriveInitialSecrets(byte[] ourPublicKey, byte[] theirPublicKey,
|
||||
PrivateKey ourPrivateKey, int invitationCode, boolean initiator);
|
||||
|
||||
int deriveConfirmationCode(byte[] secret, boolean initiator);
|
||||
int deriveConfirmationCode(byte[] secret);
|
||||
|
||||
byte[] deriveNextSecret(byte[] secret, int index, long connection);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user