Home
last modified time | relevance | path

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

/development/samples/BrokenKeyDerivation/src/com/example/android/brokenkeyderivation/
DInsecureSHA1PRNGKeyDerivator.java168 private static final int BYTES_OFFSET = 81; field in InsecureSHA1PRNGKeyDerivator
296 lastWord = seed[BYTES_OFFSET] == 0 ? 0 in nextBytes()
297 : (seed[BYTES_OFFSET] + extrabytes) >> 3 - 1; in nextBytes()
329 if (seed[BYTES_OFFSET] < MAX_BYTES) { in nextBytes()
361 n = seed[BYTES_OFFSET] & 0x03; in nextBytes()
375 if (seed[BYTES_OFFSET] > MAX_BYTES) { in nextBytes()
382 if (seed[BYTES_OFFSET] > MAX_BYTES) { in nextBytes()
537 int index = intArray[BYTES_OFFSET];
545 intArray[BYTES_OFFSET] = ( index + toByte - fromByte + 1 ) & 077 ;