Home
last modified time | relevance | path

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

/development/samples/BrokenKeyDerivation/src/com/example/android/brokenkeyderivation/
DInsecureSHA1PRNGKeyDerivator.java72 private static final int FRAME_LENGTH = 16; field in InsecureSHA1PRNGKeyDerivator
210 copies = new int[2 * FRAME_LENGTH + EXTRAFRAME_OFFSET]; in InsecureSHA1PRNGKeyDerivator()
321 for (i = lastWord + 3; i < FRAME_LENGTH + 2; i++) { in nextBytes()
376 copies[EXTRAFRAME_OFFSET] = seed[FRAME_LENGTH]; in nextBytes()
377 copies[EXTRAFRAME_OFFSET + 1] = seed[FRAME_LENGTH + 1]; in nextBytes()
384 System.arraycopy(seed, 0, copies, FRAME_OFFSET, FRAME_LENGTH); in nextBytes()
386 FRAME_LENGTH); in nextBytes()
389 System.arraycopy(copies, FRAME_OFFSET, seed, 0, FRAME_LENGTH); in nextBytes()