From d390b294b1ea36a62628c160f4076c73063fde27 Mon Sep 17 00:00:00 2001 From: nathan Date: Thu, 29 Dec 2016 02:39:39 +0100 Subject: [PATCH] Added NIST comments --- Dorkbox-Util/src/dorkbox/util/crypto/Crypto.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Dorkbox-Util/src/dorkbox/util/crypto/Crypto.java b/Dorkbox-Util/src/dorkbox/util/crypto/Crypto.java index e518bff..cf53df4 100644 --- a/Dorkbox-Util/src/dorkbox/util/crypto/Crypto.java +++ b/Dorkbox-Util/src/dorkbox/util/crypto/Crypto.java @@ -58,6 +58,10 @@ import net.jpountz.xxhash.XXHashFactory; *

*

* To determine if we have hardware accelerated AES java -XX:+PrintFlagsFinal -version | grep UseAES + * + * Per NIST SP800-38D, + * The total number of invocations of the authenticated encryption function shall not exceed 232, including all IV lengths and all instances of the authenticated encryption function with the given key. + * */ public final class Crypto {