Define PROOF_BYTES as MAC_BYTES.

This commit is contained in:
akwizgran
2019-06-04 12:38:21 +01:00
parent 34a5b69100
commit 0951508af7

View File

@@ -1,5 +1,7 @@
package org.briarproject.bramble.contact;
import static org.briarproject.bramble.api.crypto.CryptoConstants.MAC_BYTES;
interface HandshakeConstants {
/**
@@ -25,5 +27,5 @@ interface HandshakeConstants {
/**
* The length of the proof of ownership in bytes.
*/
int PROOF_BYTES = 32;
int PROOF_BYTES = MAC_BYTES;
}