Searched refs:rng (Results 1 – 5 of 5) sorted by relevance
/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | KeyGeneratorTest.java | 125 SecureRandom rng = new SecureRandom(); in testInitWithKeySizeAndSecureRandomThrowsUnsupportedOperationException() local 131 keyGenerator.init(keySizeBits, rng); in testInitWithKeySizeAndSecureRandomThrowsUnsupportedOperationException() 157 SecureRandom rng = new SecureRandom(); in testInitWithNullAlgParamsAndSecureRandomThrowsInvalidAlgorithmParameterException() local 162 keyGenerator.init((AlgorithmParameterSpec) null, rng); in testInitWithNullAlgParamsAndSecureRandomThrowsInvalidAlgorithmParameterException() local 218 CountingSecureRandom rng = new CountingSecureRandom(); in testAesKeySupportedSizes() local 221 rng.resetCounters(); in testAesKeySupportedSizes() 233 rng.resetCounters(); in testAesKeySupportedSizes() 235 keyGenerator.init(spec, rng); in testAesKeySupportedSizes() 238 assertEquals((i + 7) / 8, rng.getOutputSizeBytes()); in testAesKeySupportedSizes() 241 keyGenerator.init(spec, rng); in testAesKeySupportedSizes() [all …]
|
D | CipherTest.java | 1309 CountingSecureRandom rng = new CountingSecureRandom(); in testEntropyConsumption() local 1327 rng.resetCounters(); in testEntropyConsumption() 1328 cipher.init(Cipher.ENCRYPT_MODE, encryptionKey, rng); in testEntropyConsumption() 1354 assertEquals(expectedEntropyBytesConsumedDuringInit, rng.getOutputSizeBytes()); in testEntropyConsumption() 1358 rng.resetCounters(); in testEntropyConsumption() 1360 assertEquals(0, rng.getOutputSizeBytes()); in testEntropyConsumption() 1363 rng.resetCounters(); in testEntropyConsumption() 1394 expectedEntropyBytesConsumedDuringDoFinal, rng.getOutputSizeBytes()); in testEntropyConsumption() 1401 rng.resetCounters(); in testEntropyConsumption() 1402 cipher.init(Cipher.ENCRYPT_MODE, encryptionKey, params, rng); in testEntropyConsumption() [all …]
|
D | SignatureTest.java | 573 CountingSecureRandom rng = new CountingSecureRandom(); in testEntropyConsumption() local 586 rng.resetCounters(); in testEntropyConsumption() 587 signature.initSign(privateKey, rng); in testEntropyConsumption() 588 assertEquals(0, rng.getOutputSizeBytes()); in testEntropyConsumption() 592 rng.resetCounters(); in testEntropyConsumption() 594 assertEquals(0, rng.getOutputSizeBytes()); in testEntropyConsumption() 597 rng.resetCounters(); in testEntropyConsumption() 611 assertEquals(expectedEntropyBytesConsumed, rng.getOutputSizeBytes()); in testEntropyConsumption()
|
/cts/tools/dex-tools/dex/ |
D | classes0.out.dex | 49041 private static java.security.SecureRandom rng
|
/cts/tests/tests/media/res/raw/ |
D | football_qvga.yuv | 202 …gmkjhihgfddhL]�����Ʒ��gfedbchhijjmlehsxyz~��uc\S9'%$%&'(''$%&#"#!!2HWbju��{rng\Uex��������ð�sM-$),…
|