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/
DKeyGeneratorTest.java284 assertEquals((i + 7) / 8, rng.getOutputSizeBytes()); in testAesKeySupportedSizesHelper()
290 assertEquals(0, rng.getOutputSizeBytes()); in testAesKeySupportedSizesHelper()
330 assertEquals(0, rng.getOutputSizeBytes()); in testDESKeySupportedSizes()
382 assertEquals(0, rng.getOutputSizeBytes()); in testHmacKeySupportedSizesHelper()
388 assertEquals((i + 7) / 8, rng.getOutputSizeBytes()); in testHmacKeySupportedSizesHelper()
394 assertEquals(0, rng.getOutputSizeBytes()); in testHmacKeySupportedSizesHelper()
DCountingSecureRandom.java30 public long getOutputSizeBytes() { in getOutputSizeBytes() method in CountingSecureRandom
DCipherTest.java1573 assertEquals(expectedEntropyBytesConsumedDuringInit, rng.getOutputSizeBytes()); in testEntropyConsumption()
1579 assertEquals(0, rng.getOutputSizeBytes()); in testEntropyConsumption()
1614 expectedEntropyBytesConsumedDuringDoFinal, rng.getOutputSizeBytes()); in testEntropyConsumption()
1623 assertEquals(0, rng.getOutputSizeBytes()); in testEntropyConsumption()
1628 assertEquals(0, rng.getOutputSizeBytes()); in testEntropyConsumption()
1631 assertEquals(0, rng.getOutputSizeBytes()); in testEntropyConsumption()
1634 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.java1476 long consumedEntropyAmountBytes = mRng.getOutputSizeBytes(); in assertKeyGenUsingECSizeOnlyUsesCorrectCurve()
1511 long consumedEntropyAmountBytes = mRng.getOutputSizeBytes(); in assertKeyGenUsingECNamedCurveSupported()
1545 long consumedEntropyAmountBytes = mRng.getOutputSizeBytes(); in assertKeyGenUsingRSASizeOnlySupported()
1571 long consumedEntropyAmountBytes = mRng.getOutputSizeBytes(); in assertKeyGenUsingRSAKeyGenParameterSpecSupported()