HomeSort by relevance Sort by last modified time
    Searched refs:EXTRAFRAME_OFFSET (Results 1 - 2 of 2) sorted by null

  /libcore/luni/src/main/java/org/apache/harmony/security/provider/crypto/
SHA1PRNG_SecureRandomImpl.java 88 // EXTRAFRAME_OFFSET - offset for extra frame in "copies" array;
90 // EXTRAFRAME_OFFSET is equal to length of current hash frame
104 private static final int EXTRAFRAME_OFFSET = 5;
170 seed = new int[HASH_OFFSET + EXTRAFRAME_OFFSET];
178 copies = new int[2 * FRAME_LENGTH + EXTRAFRAME_OFFSET];
222 EXTRAFRAME_OFFSET);
311 EXTRAFRAME_OFFSET);
338 copies[EXTRAFRAME_OFFSET + 14] = (int) (bits >>> 32);
339 copies[EXTRAFRAME_OFFSET + 15] = (int) (bits & 0xFFFFFFFF);
381 copies[EXTRAFRAME_OFFSET] = seed[FRAME_LENGTH]
    [all...]
  /development/samples/BrokenKeyDerivation/src/com/example/android/brokenkeyderivation/
InsecureSHA1PRNGKeyDerivator.java 78 // EXTRAFRAME_OFFSET - offset for extra frame in "copies" array;
80 // EXTRAFRAME_OFFSET is equal to length of current hash frame
94 private static final int EXTRAFRAME_OFFSET = 5;
202 seed = new int[HASH_OFFSET + EXTRAFRAME_OFFSET];
210 copies = new int[2 * FRAME_LENGTH + EXTRAFRAME_OFFSET];
253 EXTRAFRAME_OFFSET);
306 EXTRAFRAME_OFFSET);
333 copies[EXTRAFRAME_OFFSET + 14] = (int) (bits >>> 32);
334 copies[EXTRAFRAME_OFFSET + 15] = (int) (bits & 0xFFFFFFFF);
376 copies[EXTRAFRAME_OFFSET] = seed[FRAME_LENGTH]
    [all...]

Completed in 171 milliseconds