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.java1340 assertEquals(expectedEntropyBytesConsumedDuringInit, rng.getOutputSizeBytes()); in testEntropyConsumption()
1346 assertEquals(0, rng.getOutputSizeBytes()); in testEntropyConsumption()
1380 expectedEntropyBytesConsumedDuringDoFinal, rng.getOutputSizeBytes()); in testEntropyConsumption()
1389 assertEquals(0, rng.getOutputSizeBytes()); in testEntropyConsumption()
1394 assertEquals(0, rng.getOutputSizeBytes()); in testEntropyConsumption()
1397 assertEquals(0, rng.getOutputSizeBytes()); in testEntropyConsumption()
1400 assertEquals(0, rng.getOutputSizeBytes()); in testEntropyConsumption()
DSignatureTest.java589 assertEquals(0, rng.getOutputSizeBytes()); in DISABLED_testEntropyConsumption()
595 assertEquals(0, rng.getOutputSizeBytes()); in DISABLED_testEntropyConsumption()
612 assertEquals(expectedEntropyBytesConsumed, rng.getOutputSizeBytes()); in DISABLED_testEntropyConsumption()
DKeyPairGeneratorTest.java1167 long consumedEntropyAmountBytes = mRng.getOutputSizeBytes(); in assertKeyGenUsingECSizeOnlyUsesCorrectCurve()
1197 long consumedEntropyAmountBytes = mRng.getOutputSizeBytes(); in assertKeyGenUsingECNamedCurveSupported()
1226 long consumedEntropyAmountBytes = mRng.getOutputSizeBytes(); in assertKeyGenUsingRSASizeOnlySupported()
1252 long consumedEntropyAmountBytes = mRng.getOutputSizeBytes(); in assertKeyGenUsingRSAKeyGenParameterSpecSupported()