Searched refs:getOutputSizeBytes (Results 1 – 5 of 5) sorted by relevance
/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | KeyGeneratorTest.java | 284 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()
|
D | CountingSecureRandom.java | 30 public long getOutputSizeBytes() { in getOutputSizeBytes() method in CountingSecureRandom
|
D | CipherTest.java | 1573 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()
|
D | SignatureTest.java | 588 assertEquals(0, rng.getOutputSizeBytes()); in testEntropyConsumption() 594 assertEquals(0, rng.getOutputSizeBytes()); in testEntropyConsumption() 611 assertEquals(expectedEntropyBytesConsumed, rng.getOutputSizeBytes()); in testEntropyConsumption()
|
D | KeyPairGeneratorTest.java | 1476 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()
|