Merge branch '236-curve25519' into 'master'

Use Curve25519 for key agreement

Closes #236

See merge request akwizgran/briar!693
This commit is contained in:
akwizgran
2018-02-09 10:13:56 +00:00
11 changed files with 258 additions and 115 deletions

View File

@@ -5,7 +5,7 @@ public interface CryptoConstants {
/**
* The maximum length of an agreement public key in bytes.
*/
int MAX_AGREEMENT_PUBLIC_KEY_BYTES = 65;
int MAX_AGREEMENT_PUBLIC_KEY_BYTES = 32;
/**
* The maximum length of a signature public key in bytes.