Home
last modified time | relevance | path

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

/development/samples/BrokenKeyDerivation/src/com/example/android/brokenkeyderivation/
DInsecureSHA1PRNGKeyDerivator.java284 int lastWord; // index of last word in frame containing bytes in nextBytes() local
296 lastWord = seed[BYTES_OFFSET] == 0 ? 0 in nextBytes()
321 for (i = lastWord + 3; i < FRAME_LENGTH + 2; i++) { in nextBytes()
365 seed[lastWord] = (int) (counter >>> 32); in nextBytes()
366 seed[lastWord + 1] = (int) (counter & 0xFFFFFFFF); in nextBytes()
367 seed[lastWord + 2] = END_FLAGS[0]; in nextBytes()
371 seed[lastWord] |= (int) ((counter >>> RIGHT1[n]) & MASK[n]); in nextBytes()
372 seed[lastWord + 1] = (int) ((counter >>> RIGHT2[n]) & 0xFFFFFFFF); in nextBytes()
373 seed[lastWord + 2] = (int) ((counter << LEFT[n]) | END_FLAGS[n]); in nextBytes()