Searched refs:iterationCount (Results 1 – 5 of 5) sorted by relevance
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/spec/ |
D | PBEKeySpecTest.java | 68 int iterationCount = 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() 106 new PBEKeySpec(password, salt, iterationCount, -1); in testPBEKeySpec2() 120 new PBEKeySpec(password, salt, iterationCount, 0); in testPBEKeySpec2() 127 iterationCount, keyLength); in testPBEKeySpec2() 147 int iterationCount = 10; in testPBEKeySpec3() local 150 PBEKeySpec pbeks = new PBEKeySpec(null, salt, iterationCount); in testPBEKeySpec3() 160 new PBEKeySpec(password, null, iterationCount); in testPBEKeySpec3() [all …]
|
D | PBEParameterSpecTest.java | 45 int iterationCount = 10; in testPBEParameterSpec() local 48 new PBEParameterSpec(null, iterationCount); in testPBEParameterSpec() 54 PBEParameterSpec pbeps = new PBEParameterSpec(salt, iterationCount); in testPBEParameterSpec() 68 int iterationCount = 10; in testGetSalt() local 69 PBEParameterSpec pbeps = new PBEParameterSpec(salt, iterationCount); in testGetSalt() 87 int iterationCount = 10; in testGetIterationCount() local 88 PBEParameterSpec pbeps = new PBEParameterSpec(salt, iterationCount); in testGetIterationCount() 91 pbeps.getIterationCount() == iterationCount); in testGetIterationCount() 100 int iterationCount = 10; in testGetAlgorithmParameterSpec() local 104 PBEParameterSpec pbeps = new PBEParameterSpec(salt, iterationCount, null); in testGetAlgorithmParameterSpec() [all …]
|
/libcore/ojluni/src/main/java/javax/crypto/spec/ |
D | PBEParameterSpec.java | 43 private int iterationCount; field in PBEParameterSpec 55 public PBEParameterSpec(byte[] salt, int iterationCount) { in PBEParameterSpec() argument 57 this.iterationCount = iterationCount; in PBEParameterSpec() 73 public PBEParameterSpec(byte[] salt, int iterationCount, in PBEParameterSpec() argument 76 this.iterationCount = iterationCount; in PBEParameterSpec() 96 return this.iterationCount; in getIterationCount()
|
D | PBEKeySpec.java | 68 private int iterationCount = 0; field in PBEKeySpec 108 public PBEKeySpec(char[] password, byte[] salt, int iterationCount, in PBEKeySpec() argument 124 if (iterationCount<=0) { in PBEKeySpec() 130 this.iterationCount = iterationCount; in PBEKeySpec() 151 public PBEKeySpec(char[] password, byte[] salt, int iterationCount) { in PBEKeySpec() argument 166 if (iterationCount<=0) { in PBEKeySpec() 169 this.iterationCount = iterationCount; in PBEKeySpec() 224 return iterationCount; in getIterationCount()
|
/libcore/luni/src/test/java/libcore/javax/crypto/ |
D | MacTest.java | 123 int iterationCount = 100; in test_PBEWITHHMACSHA_Variants() local 132 iterationCount, in test_PBEWITHHMACSHA_Variants()
|