Searched refs:keyLength (Results 1 – 4 of 4) sorted by relevance
/libcore/luni/src/test/java/libcore/javax/crypto/ |
D | SecretKeyFactoryTest.java | 135 int keyLength = 64; 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() 157 int keyLength = 192; 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() 178 int keyLength = 160; 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/ojluni/src/main/java/javax/crypto/spec/ |
D | PBEKeySpec.java | 69 private int keyLength = 0; field in PBEKeySpec 109 int keyLength) { in PBEKeySpec() argument 127 if (keyLength<=0) { in PBEKeySpec() 131 this.keyLength = keyLength; in PBEKeySpec() 237 return keyLength; in getKeyLength()
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/spec/ |
D | PBEKeySpecTest.java | 69 int keyLength = 10; in testPBEKeySpec2() local 73 iterationCount, keyLength); in testPBEKeySpec2() 83 new PBEKeySpec(password, null, iterationCount, keyLength); in testPBEKeySpec2() 92 new PBEKeySpec(password, new byte [0], iterationCount, keyLength); in testPBEKeySpec2() 99 new PBEKeySpec(password, salt, -1, keyLength); in testPBEKeySpec2() 113 new PBEKeySpec(password, salt, 0, keyLength); in testPBEKeySpec2() 127 iterationCount, keyLength); in testPBEKeySpec2() 289 int keyLength = 10; in testGetKeyLength() local 291 iterationCount, keyLength); in testGetKeyLength() 294 pbeks.getKeyLength() == keyLength); in testGetKeyLength()
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/func/ |
D | CipherThread.java | 33 private int keyLength = 0; field in CipherThread 78 keyLength = getNextKey(); in launcher() 122 return keyLength; in getKeyLength() 138 return "Alg name:" + algName + " Key:" + keyLength + " Mode:" + mode + in getCipherParameters()
|