Set STREAM_HEADER_IV_LENGTH to 24 to match spec.

This commit is contained in:
akwizgran
2015-12-14 16:57:30 +00:00
parent f2efe7f2ea
commit e6eb1707a9

View File

@@ -9,7 +9,7 @@ public interface TransportConstants {
int TAG_LENGTH = 16;
/** The length of the stream header IV in bytes. */
int STREAM_HEADER_IV_LENGTH = 12;
int STREAM_HEADER_IV_LENGTH = 24;
/** The length of the message authentication code (MAC) in bytes. */
int MAC_LENGTH = 16;