Home
last modified time | relevance | path

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

/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/func/
DKeyGeneratorThread.java32 Key k = kg.generateKey(); in test()
42 k = kg.generateKey(); in test()
56 k = kg.generateKey(); in test()
60 k = kg.generateKey(); in test()
DCipherWrapThread.java34 Key key = kg.generateKey(); in crypt()
DCipherSymmetricKeyThread.java44 Key key = kg.generateKey(); in crypt()
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
DSealedObjectTest.java104 Key key = kg.generateKey(); in testSealedObject1()
158 Key key = kg.generateKey(); in testGetAlgorithm()
173 Key key = kg.generateKey(); in testGetAlgorithmAfterSerialization()
203 Key key = kg.generateKey(); in testGetObject1()
247 Key key = kg.generateKey(); in testGetObject2()
294 Key key = kg.generateKey(); in testGetObject3()
308 key = kg.generateKey(); in testGetObject3()
329 Key key = kg.generateKey(); in testDeserialization()
DKeyGeneratorTest.java429 sKey = kgs[i].generateKey(); in testGenerateKey()
433 sKey = kgs[i].generateKey(); in testGenerateKey()
437 sKey = kgs[i].generateKey(); in testGenerateKey()
441 sKey = kgs[i].generateKey(); in testGenerateKey()
DExemptionMechanismTest.java437 key = kg.generateKey(); in test_initLjava_security_Key()
478 key = kg.generateKey(); in test_initLjava_security_KeyLjava_security_AlgorithmParameters()
519 key = kg.generateKey(); in test_initLjava_security_KeyLjava_security_spec_AlgorithmParameterSpec()
DCipherInputStream1Test.java257 Key key = kg.generateKey(); in test_ConstructorLjava_io_InputStreamLjavax_crypto_Cipher()
DCipherOutputStream1Test.java206 Key key = kg.generateKey(); in test_ConstructorLjava_io_OutputStreamLjavax_crypto_Cipher()
DSecretKeyFactoryTest.java466 key = kg.generateKey(); in test_translateKeyLjavax_crypto_SecretKey()
DEncryptedPrivateKeyInfoTest.java1618 k = kg.generateKey(); in TestDataGenerator()
/libcore/luni/src/test/java/libcore/javax/crypto/
DCipherOutputStreamTest.java52 key = keygen.generateKey(); in testDecryptCorruptGCM()
103 return keygen.generateKey(); in getAndroidKeyStoreSecretKey()
DCipherInputStreamTest.java309 key = keygen.generateKey(); in testDecryptCorruptGCM()
361 return keygen.generateKey(); in getAndroidKeyStoreSecretKey()
/libcore/benchmarks/src/benchmarks/regression/
DCipherInputStreamBenchmark.java61 key = generator.generateKey(); in setUp()
DCipherBenchmark.java108 key = generator.generateKey(); in setUp()
/libcore/ojluni/src/main/java/javax/crypto/
DKeyGenerator.java610 public final SecretKey generateKey() { in generateKey() method in KeyGenerator
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DKeyStoreTest.java256 SecretKey secretKey = keyGen.generateKey(); in testEngineEntryInstanceOf()