Home
last modified time | relevance | path

Searched refs:iterationCount (Results 1 – 25 of 33) sorted by relevance

12

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/pkcs/
DPBKDF2Params.java36 private final ASN1Integer iterationCount; field in PBKDF2Params
70 int iterationCount) in PBKDF2Params() argument
72 this(salt, iterationCount, 0); in PBKDF2Params()
84 int iterationCount, in PBKDF2Params() argument
87 this(salt, iterationCount, keyLength, null); in PBKDF2Params()
100 int iterationCount, in PBKDF2Params() argument
105 this.iterationCount = new ASN1Integer(iterationCount); in PBKDF2Params()
128 int iterationCount, in PBKDF2Params() argument
131 this(salt, iterationCount, 0, prf); in PBKDF2Params()
140 iterationCount = (ASN1Integer)e.nextElement(); in PBKDF2Params()
[all …]
DMacData.java23 BigInteger iterationCount; field in MacData
49 this.iterationCount = ASN1Integer.getInstance(seq.getObjectAt(2)).getValue(); in MacData()
53 this.iterationCount = ONE; in MacData()
60 int iterationCount) in MacData() argument
64 this.iterationCount = BigInteger.valueOf(iterationCount); in MacData()
79 return iterationCount; in getIterationCount()
100 if (!iterationCount.equals(ONE)) in toASN1Primitive()
102 v.add(new ASN1Integer(iterationCount)); in toASN1Primitive()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/
DPKCS12KeyWithParameters.java15 private final int iterationCount; field in PKCS12KeyWithParameters
24 public PKCS12KeyWithParameters(char[] password, byte[] salt, int iterationCount) in PKCS12KeyWithParameters() argument
29 this.iterationCount = iterationCount; in PKCS12KeyWithParameters()
42 …hParameters(char[] password, boolean useWrongZeroLengthConversion, byte[] salt, int iterationCount) in PKCS12KeyWithParameters() argument
47 this.iterationCount = iterationCount; in PKCS12KeyWithParameters()
67 return iterationCount; in getIterationCount()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/pkcs/
DPBKDF2Params.java38 private final ASN1Integer iterationCount; field in PBKDF2Params
72 int iterationCount) in PBKDF2Params() argument
74 this(salt, iterationCount, 0); in PBKDF2Params()
86 int iterationCount, in PBKDF2Params() argument
89 this(salt, iterationCount, keyLength, null); in PBKDF2Params()
102 int iterationCount, in PBKDF2Params() argument
107 this.iterationCount = new ASN1Integer(iterationCount); in PBKDF2Params()
130 int iterationCount, in PBKDF2Params() argument
133 this(salt, iterationCount, 0, prf); in PBKDF2Params()
142 iterationCount = (ASN1Integer)e.nextElement(); in PBKDF2Params()
[all …]
DMacData.java27 BigInteger iterationCount; field in MacData
53 this.iterationCount = ASN1Integer.getInstance(seq.getObjectAt(2)).getValue(); in MacData()
57 this.iterationCount = ONE; in MacData()
64 int iterationCount) in MacData() argument
68 this.iterationCount = BigInteger.valueOf(iterationCount); in MacData()
83 return iterationCount; in getIterationCount()
104 if (!iterationCount.equals(ONE)) in toASN1Primitive()
106 v.add(new ASN1Integer(iterationCount)); in toASN1Primitive()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/
DPKCS12KeyWithParameters.java17 private final int iterationCount; field in PKCS12KeyWithParameters
26 public PKCS12KeyWithParameters(char[] password, byte[] salt, int iterationCount) in PKCS12KeyWithParameters() argument
31 this.iterationCount = iterationCount; in PKCS12KeyWithParameters()
44 …hParameters(char[] password, boolean useWrongZeroLengthConversion, byte[] salt, int iterationCount) in PKCS12KeyWithParameters() argument
49 this.iterationCount = iterationCount; in PKCS12KeyWithParameters()
69 return iterationCount; in getIterationCount()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/keystore/bc/
DBcKeyStoreSpi.java151 int iterationCount = MIN_ITERATIONS + (random.nextInt() & 0x3ff); in StoreEntry() local
159 dOut.writeInt(iterationCount); in StoreEntry()
161 … cipher = makePBECipher(KEY_CIPHER, Cipher.ENCRYPT_MODE, password, salt, iterationCount); in StoreEntry()
237 int iterationCount = dIn.readInt(); in getObject() local
239 …ipher cipher = makePBECipher(KEY_CIPHER, Cipher.DECRYPT_MODE, password, salt, iterationCount); in getObject()
256 iterationCount = dIn.readInt(); in getObject()
258 …cipher = makePBECipher("Broken" + KEY_CIPHER, Cipher.DECRYPT_MODE, password, salt, iterationCount); in getObject()
277 iterationCount = dIn.readInt(); in getObject()
279 … cipher = makePBECipher("Old" + KEY_CIPHER, Cipher.DECRYPT_MODE, password, salt, iterationCount); in getObject()
296 dOut.writeInt(iterationCount); in getObject()
[all …]
/external/apache-commons-math/src/main/java/org/apache/commons/math/
DConvergingAlgorithmImpl.java49 protected int iterationCount; field in ConvergingAlgorithmImpl
70 this.iterationCount = 0; in ConvergingAlgorithmImpl()
85 return iterationCount; in getIterationCount()
139 iterationCount = 0; in resetIterationsCounter()
151 if (++iterationCount > maximalIterationCount) { in incrementIterationsCounter()
/external/apache-commons-math/src/main/java/org/apache/commons/math/analysis/solvers/
DUnivariateRealSolverImpl.java192 protected final void setResult(final double newResult, final int iterationCount) { in setResult() argument
194 this.iterationCount = iterationCount; in setResult()
206 final int iterationCount) { in setResult() argument
209 this.iterationCount = iterationCount; in setResult()
217 this.iterationCount = 0; in clearResult()
DLaguerreSolver.java239 setResult(z.getReal(), iterationCount); in solve() local
247 setResult(root[i].getReal(), iterationCount); in solve()
315 int iterationCount = 0; in solveAll() local
339 iterationCount += this.iterationCount; in solveAll()
343 this.iterationCount = iterationCount; in solveAll()
401 iterationCount = i; in solve()
406 iterationCount = i; in solve()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/
DPBEParametersGenerator.java12 protected int iterationCount; field in PBEParametersGenerator
32 int iterationCount) in init() argument
36 this.iterationCount = iterationCount; in init()
66 return iterationCount; in getIterationCount()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/keystore/bc/
DBcKeyStoreSpi.java155 int iterationCount = MIN_ITERATIONS + (random.nextInt() & 0x3ff); in StoreEntry() local
163 dOut.writeInt(iterationCount); in StoreEntry()
165 … cipher = makePBECipher(KEY_CIPHER, Cipher.ENCRYPT_MODE, password, salt, iterationCount); in StoreEntry()
241 int iterationCount = dIn.readInt(); in getObject() local
243 …ipher cipher = makePBECipher(KEY_CIPHER, Cipher.DECRYPT_MODE, password, salt, iterationCount); in getObject()
260 iterationCount = dIn.readInt(); in getObject()
262 …cipher = makePBECipher("Broken" + KEY_CIPHER, Cipher.DECRYPT_MODE, password, salt, iterationCount); in getObject()
281 iterationCount = dIn.readInt(); in getObject()
283 … cipher = makePBECipher("Old" + KEY_CIPHER, Cipher.DECRYPT_MODE, password, salt, iterationCount); in getObject()
300 dOut.writeInt(iterationCount); in getObject()
[all …]
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/
DPBEParametersGenerator.java15 protected int iterationCount; field in PBEParametersGenerator
36 int iterationCount) in init() argument
40 this.iterationCount = iterationCount; in init()
70 return iterationCount; in getIterationCount()
/external/deqp/modules/egl/
DteglMakeCurrentPerfTests.cpp79 int iterationCount; member
418 …log << TestLog::Message << "Iteration count: " << m_spec.iterationCount << TestLog::EndMe… in logTestInfo()
459 totalIterationCount += m_spec.iterationCount; in logResults()
464 …imeMedianUs = ((float)(((double)m_samples[m_samples.size() / 2]) / (double)m_spec.iterationCount)); in logResults()
469 float iterationTimeUs = (float)(((double)m_samples[sampleNdx]) / m_spec.iterationCount); in logResults()
476 float iterationTimeUs = (float)(((double)m_samples[sampleNdx]) / m_spec.iterationCount); in logResults()
486 float iterationTimeUs = (float)(((double)m_samples[sampleNdx]) / m_spec.iterationCount); in logResults()
518 for (int iteration = 0; iteration < m_spec.iterationCount; iteration++) in iterate()
551 const int iterationCount = 100; in init() local
574 spec.iterationCount = iterationCount; in init()
[all …]
DteglWideColorTests.cpp559 int iterationCount; member
561 : start(s), increment(i), iterationCount(c) {} in Iteration()
1175 << "count = " << it->iterationCount in doClearTest()
1178 for (int iterationCount = 0; iterationCount < it->iterationCount; iterationCount++) in doClearTest() local
/external/apache-commons-math/src/main/java/org/apache/commons/math/analysis/integration/
DUnivariateRealIntegratorImpl.java126 protected final void setResult(double newResult, int iterationCount) { in setResult() argument
128 this.iterationCount = iterationCount; in setResult()
136 this.iterationCount = 0; in clearResult()
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/
DThreadTest.java26 private int iterationCount = 50000; field in ThreadTest
32 iterationCount = 1000000; in TestThreads()
64 for (int loop = 0; loop < iterationCount; loop++) { in run()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/translit/
DThreadTest.java29 private int iterationCount = 50000; field in ThreadTest
35 iterationCount = 1000000; in TestThreads()
67 for (int loop = 0; loop < iterationCount; loop++) { in run()
/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/univariate/
DAbstractUnivariateRealOptimizer.java124 final int iterationCount) { in setResult() argument
127 this.iterationCount = iterationCount; in setResult()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/spec/
DPBKDF2KeySpec.java28 …public PBKDF2KeySpec(char[] password, byte[] salt, int iterationCount, int keySize, AlgorithmIdent… in PBKDF2KeySpec() argument
30 super(password, salt, iterationCount, keySize); in PBKDF2KeySpec()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/spec/
DPBKDF2KeySpec.java30 …public PBKDF2KeySpec(char[] password, byte[] salt, int iterationCount, int keySize, AlgorithmIdent… in PBKDF2KeySpec() argument
32 super(password, salt, iterationCount, keySize); in PBKDF2KeySpec()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/
DPBES2AlgorithmParameters.java315 byte[] salt, int iterationCount, byte[] iv) { in createPBEParameterSpec() argument
323 return constructor.newInstance(salt, iterationCount, new IvParameterSpec(iv)); in createPBEParameterSpec()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/symmetric/
DPBES2AlgorithmParameters.java352 byte[] salt, int iterationCount, byte[] iv) { in createPBEParameterSpec() argument
360 return constructor.newInstance(salt, iterationCount, new IvParameterSpec(iv)); in createPBEParameterSpec()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/generators/
DPKCS5S1ParametersGenerator.java45 for (int i = 1; i < iterationCount; i++) in generateDerivedKey()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/generators/
DPKCS5S1ParametersGenerator.java47 for (int i = 1; i < iterationCount; i++) in generateDerivedKey()

12