Searched refs:getOutputSizeBytes (Results 1 – 5 of 5) sorted by relevance
/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | CountingSecureRandom.java | 30 public long getOutputSizeBytes() { in getOutputSizeBytes() method in CountingSecureRandom
|
D | KeyGeneratorTest.java | 247 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()
|
D | CipherTest.java | 1546 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()
|
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 | 1196 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()
|