mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-18 05:39:53 +01:00
Define PROOF_BYTES as MAC_BYTES.
This commit is contained in:
@@ -1,5 +1,7 @@
|
|||||||
package org.briarproject.bramble.contact;
|
package org.briarproject.bramble.contact;
|
||||||
|
|
||||||
|
import static org.briarproject.bramble.api.crypto.CryptoConstants.MAC_BYTES;
|
||||||
|
|
||||||
interface HandshakeConstants {
|
interface HandshakeConstants {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -25,5 +27,5 @@ interface HandshakeConstants {
|
|||||||
/**
|
/**
|
||||||
* The length of the proof of ownership in bytes.
|
* The length of the proof of ownership in bytes.
|
||||||
*/
|
*/
|
||||||
int PROOF_BYTES = 32;
|
int PROOF_BYTES = MAC_BYTES;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user