Home
last modified time | relevance | path

Searched refs:HASH_OFFSET (Results 1 – 1 of 1) sorted by relevance

/development/samples/BrokenKeyDerivation/src/com/example/android/brokenkeyderivation/
DInsecureSHA1PRNGKeyDerivator.java174 private static final int HASH_OFFSET = 82; field in InsecureSHA1PRNGKeyDerivator
202 seed = new int[HASH_OFFSET + EXTRAFRAME_OFFSET]; in InsecureSHA1PRNGKeyDerivator()
203 seed[HASH_OFFSET] = H0; in InsecureSHA1PRNGKeyDerivator()
204 seed[HASH_OFFSET + 1] = H1; in InsecureSHA1PRNGKeyDerivator()
205 seed[HASH_OFFSET + 2] = H2; in InsecureSHA1PRNGKeyDerivator()
206 seed[HASH_OFFSET + 3] = H3; in InsecureSHA1PRNGKeyDerivator()
207 seed[HASH_OFFSET + 4] = H4; in InsecureSHA1PRNGKeyDerivator()
252 System.arraycopy(copies, HASHCOPY_OFFSET, this.seed, HASH_OFFSET, in setSeed()
305 System.arraycopy(seed, HASH_OFFSET, copies, HASHCOPY_OFFSET, in nextBytes()
395 int k = seed[HASH_OFFSET + i]; in nextBytes()
[all …]