From 99f8d21eea9f38a08c4965f2706c11e6d1c07420 Mon Sep 17 00:00:00 2001 From: akwizgran <akwizgran@users.sourceforge.net> Date: Mon, 4 Jan 2016 12:47:49 +0000 Subject: [PATCH] Fixed a typo. --- briar-core/src/org/briarproject/crypto/CryptoComponentImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/briar-core/src/org/briarproject/crypto/CryptoComponentImpl.java b/briar-core/src/org/briarproject/crypto/CryptoComponentImpl.java index c4cde4aea3..b8b54ff7ff 100644 --- a/briar-core/src/org/briarproject/crypto/CryptoComponentImpl.java +++ b/briar-core/src/org/briarproject/crypto/CryptoComponentImpl.java @@ -310,7 +310,7 @@ class CryptoComponentImpl implements CryptoComponent { throw new IllegalArgumentException(); // Initialise the PRF Digest prf = new Blake2sDigest(tagKey.getBytes()); - // The output of the PRF must be long enough to use as a key + // The output of the PRF must be long enough to use as a tag int macLength = prf.getDigestSize(); if (macLength < TAG_LENGTH) throw new IllegalStateException(); // The input is the stream number as a 64-bit integer -- GitLab