Home
last modified time | relevance | path

Searched refs:getOutputSizeBytes (Results 1 – 5 of 5) sorted by relevance

/cts/tests/tests/keystore/src/android/keystore/cts/
DCountingSecureRandom.java30 public long getOutputSizeBytes() { in getOutputSizeBytes() method in CountingSecureRandom
DKeyGeneratorTest.java238 assertEquals((i + 7) / 8, rng.getOutputSizeBytes()); in testAesKeySupportedSizes()
244 assertEquals(0, rng.getOutputSizeBytes()); in testAesKeySupportedSizes()
278 assertEquals((i + 7) / 8, rng.getOutputSizeBytes()); in testHmacKeySupportedSizes()
284 assertEquals(0, rng.getOutputSizeBytes()); in testHmacKeySupportedSizes()
DCipherTest.java1354 assertEquals(expectedEntropyBytesConsumedDuringInit, rng.getOutputSizeBytes()); in testEntropyConsumption()
1360 assertEquals(0, rng.getOutputSizeBytes()); in testEntropyConsumption()
1394 expectedEntropyBytesConsumedDuringDoFinal, rng.getOutputSizeBytes()); in testEntropyConsumption()
1403 assertEquals(0, rng.getOutputSizeBytes()); in testEntropyConsumption()
1408 assertEquals(0, rng.getOutputSizeBytes()); in testEntropyConsumption()
1411 assertEquals(0, rng.getOutputSizeBytes()); in testEntropyConsumption()
1414 assertEquals(0, rng.getOutputSizeBytes()); in testEntropyConsumption()
DSignatureTest.java588 assertEquals(0, rng.getOutputSizeBytes()); in testEntropyConsumption()
594 assertEquals(0, rng.getOutputSizeBytes()); in testEntropyConsumption()
611 assertEquals(expectedEntropyBytesConsumed, rng.getOutputSizeBytes()); in testEntropyConsumption()
DKeyPairGeneratorTest.java1194 long consumedEntropyAmountBytes = mRng.getOutputSizeBytes(); in assertKeyGenUsingECSizeOnlyUsesCorrectCurve()
1224 long consumedEntropyAmountBytes = mRng.getOutputSizeBytes(); in assertKeyGenUsingECNamedCurveSupported()
1253 long consumedEntropyAmountBytes = mRng.getOutputSizeBytes(); in assertKeyGenUsingRSASizeOnlySupported()
1279 long consumedEntropyAmountBytes = mRng.getOutputSizeBytes(); in assertKeyGenUsingRSAKeyGenParameterSpecSupported()