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

  /libcore/luni/src/main/java/org/apache/harmony/security/provider/crypto/
SHA1PRNG_SecureRandomImpl.java 126 private transient long seedLength;
177 seedLength = 0;
199 seedLength += bytes.length;
316 // 0x80, and 8 seedLength bytes; no extra frame required
318 // extra frame contains only seedLength value at the end
320 // at the beginning and seedLength value at the end;
330 bits = (seedLength << 3) + 64; // transforming # of bytes into # of bits
433 oos.writeLong(seedLength);
501 seedLength = ois.readLong();
  /development/samples/BrokenKeyDerivation/src/com/example/android/brokenkeyderivation/
InsecureSHA1PRNGKeyDerivator.java 114 private transient long seedLength;
209 seedLength = 0;
231 seedLength += bytes.length;
311 // 0x80, and 8 seedLength bytes; no extra frame required
313 // extra frame contains only seedLength value at the end
315 // at the beginning and seedLength value at the end;
325 bits = (seedLength << 3) + 64; // transforming # of bytes into # of bits

Completed in 2319 milliseconds