am 1a07229b: Merge "Reduce EntropyMixer seed size from 4096 to 512 bytes."

* commit '1a07229bc2042676c866051938ebe35d9cded900':
  Reduce EntropyMixer seed size from 4096 to 512 bytes.
This commit is contained in:
Alex Klyubin
2013-10-03 14:36:49 -07:00
committed by Android Git Automerger

View File

@@ -27,13 +27,13 @@ import java.io.InputStream;
import java.io.RandomAccessFile;
/**
* A 4k block of random {@code byte}s.
* A block of 512 random {@code byte}s.
*/
class RandomBlock {
private static final String TAG = "RandomBlock";
private static final boolean DEBUG = false;
private static final int BLOCK_SIZE = 4096;
private static final int BLOCK_SIZE = 512;
private byte[] block = new byte[BLOCK_SIZE];
private RandomBlock() { }