Home
last modified time | relevance | path

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

/cts/tests/tests/keystore/src/android/keystore/cts/
DKeyGeneratorTest.java125 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 …]
DCipherTest.java1309 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 …]
DSignatureTest.java573 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/tests/libcore/javautilcollections/libs/
Dguava-20.0.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
/cts/tools/dex-tools/dex/
Dclasses0.out.dex49041 private static java.security.SecureRandom rng
/cts/tests/tests/media/res/raw/
Dfootball_qvga.yuv202 …gmkjhihgfddhL]�����Ʒ��gfedbchhijjmlehsxyz~��uc\S9'%$%&'(''$%&#"#!!2HWbju��{rng\Uex��������ð�sM-$),…