Skip to content
Snippets Groups Projects
Commit 5f65b8a9 authored by akwizgran's avatar akwizgran
Browse files

Reduced MAX_PUBLIC_KEY_LENGTH to match SEC 1 encoding of 384-bit keys.

parent 2dd36921
No related branches found
No related tags found
No related merge requests found
......@@ -12,5 +12,5 @@ public interface InvitationConstants {
int HASH_LENGTH = 48; // Bytes
int MAX_PUBLIC_KEY_LENGTH = 120; // Bytes
int MAX_PUBLIC_KEY_LENGTH = 97; // Bytes
}
......@@ -24,7 +24,7 @@ public interface ProtocolConstants {
int MAX_GROUP_NAME_LENGTH = 50;
/** The maximum length of a public key in bytes. */
int MAX_PUBLIC_KEY_LENGTH = 120;
int MAX_PUBLIC_KEY_LENGTH = 97;
/** The maximum length of an author's name in UTF-8 bytes. */
int MAX_AUTHOR_NAME_LENGTH = 50;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment