Key derivation function based on NIST SP 800-108.

This commit is contained in:
akwizgran
2011-11-15 17:19:11 +00:00
parent 6a15c03e81
commit 9220bb3426
9 changed files with 83 additions and 56 deletions

View File

@@ -97,9 +97,9 @@ public abstract class DatabaseComponentTest extends TestCase {
properties);
transports = Collections.singletonList(transport);
Random r = new Random();
inSecret = new byte[123];
inSecret = new byte[32];
r.nextBytes(inSecret);
outSecret = new byte[123];
outSecret = new byte[32];
r.nextBytes(outSecret);
}