Home
last modified time | relevance | path

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

/external/conscrypt/repackaged/openjdk-integ-tests/src/test/java/com/android/org/conscrypt/javax/crypto/
DKeyGeneratorTest.java182 test_SecretKey(kg, kg.generateKey()); in test_KeyGenerator()
185 test_SecretKey(kg, kg.generateKey()); in test_KeyGenerator()
191 test_SecretKey(kg, kg.generateKey()); in test_KeyGenerator()
194 test_SecretKey(kg, kg.generateKey()); in test_KeyGenerator()
197 test_SecretKey(kg, kg.generateKey()); in test_KeyGenerator()
DCipherTest.java329 key = kg.generateKey(); in getEncryptKey()
1277 SecretKey sk = kg.generateKey(); in test_Cipher()
3970 SecretKey sk = kg.generateKey(); in checkCipher()
4253 SecretKey key = kg.generateKey(); in checkCipher_Wrap_invalidMode_Failure()
4284 SecretKey key = kg.generateKey(); in checkCipher_Unwrap_invalidMode_Failure()
4461 keys[index] = kg.generateKey(); in testRC4_MultipleKeySizes()
4541 SecretKey key = kg.generateKey(); in checkAES_keyConstraint()
/external/conscrypt/openjdk-integ-tests/src/test/java/org/conscrypt/javax/crypto/
DKeyGeneratorTest.java178 test_SecretKey(kg, kg.generateKey()); in test_KeyGenerator()
181 test_SecretKey(kg, kg.generateKey()); in test_KeyGenerator()
187 test_SecretKey(kg, kg.generateKey()); in test_KeyGenerator()
190 test_SecretKey(kg, kg.generateKey()); in test_KeyGenerator()
193 test_SecretKey(kg, kg.generateKey()); in test_KeyGenerator()
DCipherTest.java325 key = kg.generateKey(); in getEncryptKey()
1273 SecretKey sk = kg.generateKey(); in test_Cipher()
3968 SecretKey sk = kg.generateKey(); in checkCipher()
4251 SecretKey key = kg.generateKey(); in checkCipher_Wrap_invalidMode_Failure()
4282 SecretKey key = kg.generateKey(); in checkCipher_Unwrap_invalidMode_Failure()
4459 keys[index] = kg.generateKey(); in testRC4_MultipleKeySizes()
4539 SecretKey key = kg.generateKey(); in checkAES_keyConstraint()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/
DCipherKeyGenerator.java30 public byte[] generateKey() in generateKey() method in CipherKeyGenerator
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/
DCipherKeyGenerator.java32 public byte[] generateKey() in generateKey() method in CipherKeyGenerator
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/
DDESede.java190 byte[] k = engine.generateKey(); in engineGenerateKey()
198 return new SecretKeySpec(engine.generateKey(), algName); in engineGenerateKey()
DDES.java238 return new SecretKeySpec(engine.generateKey(), algName); in engineGenerateKey()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/generators/
DDESKeyGenerator.java34 public byte[] generateKey() in generateKey() method in DESKeyGenerator
DDESedeKeyGenerator.java44 public byte[] generateKey() in generateKey() method in DESedeKeyGenerator
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/generators/
DDESKeyGenerator.java38 public byte[] generateKey() in generateKey() method in DESKeyGenerator
DDESedeKeyGenerator.java48 public byte[] generateKey() in generateKey() method in DESedeKeyGenerator
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/symmetric/
DDESede.java209 byte[] k = engine.generateKey(); in engineGenerateKey()
217 return new SecretKeySpec(engine.generateKey(), algName); in engineGenerateKey()
DDES.java254 return new SecretKeySpec(engine.generateKey(), algName); in engineGenerateKey()
/external/conscrypt/repackaged/testing/src/main/java/com/android/org/conscrypt/java/security/
DAlgorithmParameterSymmetricHelper.java53 Key key = generator.generateKey(); in test()
/external/conscrypt/repackaged/benchmark-base/src/main/java/com/android/org/conscrypt/
DTransformation.java83 return keyGen.generateKey(); in newEncryptKey()
/external/conscrypt/benchmark-base/src/main/java/org/conscrypt/
DTransformation.java81 return keyGen.generateKey(); in newEncryptKey()
/external/conscrypt/testing/src/main/java/org/conscrypt/java/security/
DAlgorithmParameterSymmetricHelper.java49 Key key = generator.generateKey(); in test()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/util/
DBaseKeyGenerator.java81 return new SecretKeySpec(engine.generateKey(), algName); in engineGenerateKey()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/symmetric/util/
DBaseKeyGenerator.java85 return new SecretKeySpec(engine.generateKey(), algName); in engineGenerateKey()
/external/nos/host/android/hals/keymaster/include/
DKeymasterDevice.h63 Return<void> generateKey(const hidl_vec<KeyParameter>& keyParams,
/external/nos/host/android/hals/keymaster/
DKeymasterDevice.cpp455 Return<void> KeymasterDevice::generateKey( in generateKey() function in android::hardware::keymaster::KeymasterDevice