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.java247 assertEquals((i + 7) / 8, rng.getOutputSizeBytes()); in testAesKeySupportedSizes()
253 assertEquals(0, rng.getOutputSizeBytes()); in testAesKeySupportedSizes()
287 assertEquals((i + 7) / 8, rng.getOutputSizeBytes()); in testHmacKeySupportedSizes()
293 assertEquals(0, rng.getOutputSizeBytes()); in testHmacKeySupportedSizes()
DCipherTest.java1546 assertEquals(expectedEntropyBytesConsumedDuringInit, rng.getOutputSizeBytes()); in testEntropyConsumption()
1552 assertEquals(0, rng.getOutputSizeBytes()); in testEntropyConsumption()
1587 expectedEntropyBytesConsumedDuringDoFinal, rng.getOutputSizeBytes()); in testEntropyConsumption()
1596 assertEquals(0, rng.getOutputSizeBytes()); in testEntropyConsumption()
1601 assertEquals(0, rng.getOutputSizeBytes()); in testEntropyConsumption()
1604 assertEquals(0, rng.getOutputSizeBytes()); in testEntropyConsumption()
1607 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.java1196 long consumedEntropyAmountBytes = mRng.getOutputSizeBytes(); in assertKeyGenUsingECSizeOnlyUsesCorrectCurve()
1226 long consumedEntropyAmountBytes = mRng.getOutputSizeBytes(); in assertKeyGenUsingECNamedCurveSupported()
1255 long consumedEntropyAmountBytes = mRng.getOutputSizeBytes(); in assertKeyGenUsingRSASizeOnlySupported()
1281 long consumedEntropyAmountBytes = mRng.getOutputSizeBytes(); in assertKeyGenUsingRSAKeyGenParameterSpecSupported()