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 | 238 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()
|
D | CipherTest.java | 1354 assertEquals(expectedEntropyBytesConsumedDuringInit, rng.getOutputSizeBytes()); in testEntropyConsumption() 1360 assertEquals(0, rng.getOutputSizeBytes()); in testEntropyConsumption() 1394 expectedEntropyBytesConsumedDuringDoFinal, rng.getOutputSizeBytes()); in testEntropyConsumption() 1403 assertEquals(0, rng.getOutputSizeBytes()); in testEntropyConsumption() 1408 assertEquals(0, rng.getOutputSizeBytes()); in testEntropyConsumption() 1411 assertEquals(0, rng.getOutputSizeBytes()); in testEntropyConsumption() 1414 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 | 1194 long consumedEntropyAmountBytes = mRng.getOutputSizeBytes(); in assertKeyGenUsingECSizeOnlyUsesCorrectCurve() 1224 long consumedEntropyAmountBytes = mRng.getOutputSizeBytes(); in assertKeyGenUsingECNamedCurveSupported() 1253 long consumedEntropyAmountBytes = mRng.getOutputSizeBytes(); in assertKeyGenUsingRSASizeOnlySupported() 1279 long consumedEntropyAmountBytes = mRng.getOutputSizeBytes(); in assertKeyGenUsingRSAKeyGenParameterSpecSupported()
|