Searched refs:rng (Results 1 – 1 of 1) sorted by relevance
143 SecureRandom rng = new SecureRandom(); in testInitWithKeySizeAndSecureRandomThrowsUnsupportedOperationException() local149 keyGenerator.init(keySizeBits, rng); in testInitWithKeySizeAndSecureRandomThrowsUnsupportedOperationException()175 SecureRandom rng = new SecureRandom(); in testInitWithNullAlgParamsAndSecureRandomThrowsInvalidAlgorithmParameterException() local180 keyGenerator.init((AlgorithmParameterSpec) null, rng); in testInitWithNullAlgParamsAndSecureRandomThrowsInvalidAlgorithmParameterException() local263 CountingSecureRandom rng = new CountingSecureRandom(); in testAesKeySupportedSizesHelper() local266 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 …]