Home
last modified time | relevance | path

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

/libcore/luni/src/test/java/libcore/javax/crypto/
DSecretKeyFactoryTest.java134 int iterations = 5; in test_PBKDF2_rfc3211_64() local
140 test_PBKDF2_UTF8(password, salt, iterations, keyLength, expected); in test_PBKDF2_rfc3211_64()
141 test_PBKDF2_8BIT(password, salt, iterations, keyLength, expected); in test_PBKDF2_rfc3211_64()
156 int iterations = 500; in test_PBKDF2_rfc3211_192() local
164 test_PBKDF2_UTF8(password, salt, iterations, keyLength, expected); in test_PBKDF2_rfc3211_192()
165 test_PBKDF2_8BIT(password, salt, iterations, keyLength, expected); in test_PBKDF2_rfc3211_192()
177 int iterations = 4096; in test_PBKDF2_b8312059() local
191 test_PBKDF2_UTF8(password, salt, iterations, keyLength, expected_utf8); in test_PBKDF2_b8312059()
192 test_PBKDF2_8BIT(password, salt, iterations, keyLength, expected_8bit); in test_PBKDF2_b8312059()
195 private void test_PBKDF2_8BIT(char[] password, byte[] salt, int iterations, int keyLength, in test_PBKDF2_8BIT() argument
[all …]
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DKeyFactory2Test.java51 int sleepTime, iterations; field in KeyFactory2Test.KeepAlive
53 public KeepAlive(int sleepTime, int iterations) { in KeepAlive() argument
55 this.iterations = iterations; in KeepAlive()
62 for (int i = 0; i < iterations; i++) { in run()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DHashtableTest.java522 final int iterations = 10000; in test_keySet_subtest0() local
526 for (int i = 0; i < iterations; i++) { in test_keySet_subtest0()
534 for (int i = 0; i < iterations; i++) { in test_keySet_subtest0()
DVectorTest.java489 final int iterations = 10000; in test_elements_subtest0() local
493 for (int i = 0; i < iterations; i++) { in test_elements_subtest0()
502 for (int i = 0; i < iterations; i++) { in test_elements_subtest0()
/libcore/ojluni/src/test/java/util/concurrent/tck/
DConcurrentHashMapTest.java857 final int iterations = expensiveTests ? 500 : 2; in testRemoveAll_performance() local
863 for (int i = 0; i < iterations; i++) in testRemoveAll_performance()
DConcurrentHashMap8Test.java1128 final int iterations = expensiveTests ? (1 << 23) : mapSize * 2; in testcomputeIfAbsent_performance() local
1138 for (int i = 0; i < iterations; i++) in testcomputeIfAbsent_performance()
/libcore/ojluni/src/main/java/java/math/
DBigInteger.java1021 private boolean passesMillerRabin(int iterations, @NonNull Random rnd) { in passesMillerRabin() argument
1032 for (int i=0; i < iterations; i++) { in passesMillerRabin()