Home
last modified time | relevance | path

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

/development/samples/BrokenKeyDerivation/src/com/example/android/brokenkeyderivation/
DInsecureSHA1PRNGKeyDerivator.java38 public static byte[] deriveInsecureKey(byte[] seed, int keySizeInBytes) { in deriveInsecureKey() argument
40 derivator.setSeed(seed); in deriveInsecureKey()
111 private transient int[] seed; field in InsecureSHA1PRNGKeyDerivator
202 seed = new int[HASH_OFFSET + EXTRAFRAME_OFFSET]; in InsecureSHA1PRNGKeyDerivator()
203 seed[HASH_OFFSET] = H0; in InsecureSHA1PRNGKeyDerivator()
204 seed[HASH_OFFSET + 1] = H1; in InsecureSHA1PRNGKeyDerivator()
205 seed[HASH_OFFSET + 2] = H2; in InsecureSHA1PRNGKeyDerivator()
206 seed[HASH_OFFSET + 3] = H3; in InsecureSHA1PRNGKeyDerivator()
207 seed[HASH_OFFSET + 4] = H4; in InsecureSHA1PRNGKeyDerivator()
229 updateHash(seed, bytes, 0, bytes.length - 1); in updateSeed()
[all …]
/development/tools/labpretest/
Dlabpretest.sh567 seed=$(($(date +%s) % 99))
569 …d.voicesearch -c android.intent.category.LAUNCHER --ignore-security-exceptions -s $seed $MEVENTS
/development/sdk/
Dsdk_files_NOTICE.txt7915 Before using, initialize the state by using init_genrand(seed)