Home
last modified time | relevance | path

Searched refs:rng (Results 1 – 1 of 1) sorted by relevance

/cts/tests/tests/keystore/src/android/keystore/cts/
DKeyGeneratorTest.java143 SecureRandom rng = new SecureRandom(); in testInitWithKeySizeAndSecureRandomThrowsUnsupportedOperationException() local
149 keyGenerator.init(keySizeBits, rng); in testInitWithKeySizeAndSecureRandomThrowsUnsupportedOperationException()
175 SecureRandom rng = new SecureRandom(); in testInitWithNullAlgParamsAndSecureRandomThrowsInvalidAlgorithmParameterException() local
180 keyGenerator.init((AlgorithmParameterSpec) null, rng); in testInitWithNullAlgParamsAndSecureRandomThrowsInvalidAlgorithmParameterException() local
263 CountingSecureRandom rng = new CountingSecureRandom(); in testAesKeySupportedSizesHelper() local
266 rng.resetCounters(); in testAesKeySupportedSizesHelper()
280 rng.resetCounters(); in testAesKeySupportedSizesHelper()
283 keyGenerator.init(spec, rng); in testAesKeySupportedSizesHelper()
286 assertEquals((i + 7) / 8, rng.getOutputSizeBytes()); in testAesKeySupportedSizesHelper()
292 keyGenerator.init(spec, rng); in testAesKeySupportedSizesHelper()
[all …]