/libcore/luni/src/test/java/libcore/javax/crypto/ |
D | CipherInputStreamTest.java | 111 cipher.init(Cipher.DECRYPT_MODE, key, iv); in testAvailable() 120 cipher.init(Cipher.DECRYPT_MODE, key, iv); in testDecrypt_NullInput_Discarded() 157 cipher.init(Cipher.DECRYPT_MODE, key, iv); in testDecrypt() 165 cipher.init(Cipher.DECRYPT_MODE, rc4Key); in testDecrypt_RC4() 173 cipher.init(Cipher.DECRYPT_MODE, key, iv); in testSkip() 190 cipher.init(Cipher.DECRYPT_MODE, key, iv); in testCipherInputStream_TruncatedInput_Failure() 198 cipher.init(Cipher.DECRYPT_MODE, key, iv); in testCipherInputStream_NullInputStream_Failure() 223 cipher.init(Cipher.DECRYPT_MODE, key, iv); in testCloseTwice() 281 cipher.init(Cipher.DECRYPT_MODE, key, iv); in testCipherOutputSizeChange() 326 cipher.init(Cipher.DECRYPT_MODE, key, params); in testDecryptCorruptGCM()
|
D | CipherTest.java | 377 c.init(Cipher.DECRYPT_MODE, new MockKey(), AlgorithmParameters.getInstance("AES")); in testCipher_init_CallsInitWithMode() 409 c.init(Cipher.DECRYPT_MODE, new MockKey()); in testCipher_init_DoesNotSupportKeyClass_throwsInvalidKeyException() 443 c.init(Cipher.DECRYPT_MODE, new MockKey()); in testCipher_init_tryAllCombinationsBeforeThrowingInvalidKey() 454 c.init(Cipher.DECRYPT_MODE, new MockKey()); in testCipher_init_tryAllCombinationsBeforeThrowingInvalidKey()
|
D | CipherOutputStreamTest.java | 69 cipher.init(Cipher.DECRYPT_MODE, key, params); in testDecryptCorruptGCM()
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/ |
D | CipherTest.java | 336 c.init(Cipher.DECRYPT_MODE, k, iv); in test_update$BII() 451 c.init(Cipher.DECRYPT_MODE, CIPHER_KEY_DES, ap); in test_doFinal() 536 c.init(Cipher.DECRYPT_MODE, CIPHER_KEY_DES, ap); in testDoFinalbyteArrayintintbyteArrayint() 655 c.init(Cipher.DECRYPT_MODE, CIPHER_KEY_DES, ap); in test_doFinalLjava_nio_ByteBufferLjava_nio_ByteBuffer() 697 c.init(Cipher.DECRYPT_MODE, CIPHER_KEY_DES, ap); in test_initWithKeyAlgorithmParameters() 701 c.init(Cipher.DECRYPT_MODE, CIPHER_KEY_3DES, ap); in test_initWithKeyAlgorithmParameters() 707 c.init(Cipher.DECRYPT_MODE, CIPHER_KEY_DES, (AlgorithmParameters)null); in test_initWithKeyAlgorithmParameters() 717 c.init(Cipher.DECRYPT_MODE, CIPHER_KEY_DES, ap, new SecureRandom()); in test_initWithKeyAlgorithmParametersSecureRandom() 721 c.init(Cipher.DECRYPT_MODE, CIPHER_KEY_3DES, ap, new SecureRandom()); in test_initWithKeyAlgorithmParametersSecureRandom() 727 c.init(Cipher.DECRYPT_MODE, CIPHER_KEY_DES, (AlgorithmParameters)null, in test_initWithKeyAlgorithmParametersSecureRandom() [all …]
|
D | SealedObjectTest.java | 258 cipher.init(Cipher.DECRYPT_MODE, key, ips); in testGetObject2() 303 cipher.init(Cipher.DECRYPT_MODE, key); in testGetObject3()
|
D | EncryptedPrivateKeyInfoTest.java | 1701 c.init(Cipher.DECRYPT_MODE, pubK == null ? k : pubK); in TestDataGenerator() 1703 c.init(Cipher.DECRYPT_MODE, pubK == null ? k : pubK, ap); in TestDataGenerator()
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/func/ |
D | CipherSymmetricKeyThread.java | 61 cip.init(Cipher.DECRYPT_MODE, key, ivspec); in crypt() 67 cip.init(Cipher.DECRYPT_MODE, key); in crypt()
|
D | CipherRSAThread.java | 45 cip.init(Cipher.DECRYPT_MODE, kp.getPrivate()); in crypt()
|
D | CipherPBEThread.java | 55 cip.init(Cipher.DECRYPT_MODE, key, parSpec); in crypt()
|
/libcore/luni/src/test/java/libcore/javax/crypto/spec/ |
D | AlgorithmParametersTestPBES2.java | 217 c.init(Cipher.DECRYPT_MODE, key, ap); in test_encryptWithAlgorithmParameters() 246 c.init(Cipher.DECRYPT_MODE, key, new PBEParameterSpec(new byte[0], 1000)); in test_encryptWithNoSalt()
|
/libcore/ojluni/src/main/java/javax/crypto/ |
D | SealedObject.java | 411 c.init(Cipher.DECRYPT_MODE, key, params); in unseal() 413 c.init(Cipher.DECRYPT_MODE, key); in unseal()
|
D | EncryptedPrivateKeyInfo.java | 273 c.init(Cipher.DECRYPT_MODE, decryptKey, algid.getParameters()); in getKeySpecImpl()
|
D | Cipher.java | 288 public static final int DECRYPT_MODE = 2; field in Cipher 1020 case DECRYPT_MODE: in getOpmodeString() 1643 (opmode != Cipher.DECRYPT_MODE)) { in checkCipherState()
|
/libcore/benchmarks/src/benchmarks/regression/ |
D | CipherBenchmark.java | 131 cipherDecrypt.init(Cipher.DECRYPT_MODE, key, spec); in setUp()
|
/libcore/ojluni/annotations/mmodule/javax/crypto/ |
D | Cipher.annotated.java | 122 public static final int DECRYPT_MODE = 2; // 0x2 field in Cipher
|
/libcore/ojluni/src/main/java/java/security/ |
D | Signature.java | 1489 cipher.init(Cipher.DECRYPT_MODE, publicKey); in engineInitVerify()
|