/libcore/luni/src/test/java/libcore/javax/crypto/ |
D | CipherTest.java | 147 return Cipher.DECRYPT_MODE; in getDecryptMode() 381 setExpectedBlockSize("RSA", Cipher.DECRYPT_MODE, 256); 382 setExpectedBlockSize("RSA/ECB/NoPadding", Cipher.DECRYPT_MODE, 256); 383 setExpectedBlockSize("RSA/ECB/PKCS1Padding", Cipher.DECRYPT_MODE, 256); 486 setExpectedOutputSize("AES", Cipher.DECRYPT_MODE, 0); 487 setExpectedOutputSize("AES/CBC/PKCS5PADDING", Cipher.DECRYPT_MODE, 0); 488 setExpectedOutputSize("AES/CBC/PKCS7PADDING", Cipher.DECRYPT_MODE, 0); 489 setExpectedOutputSize("AES/CFB/PKCS5PADDING", Cipher.DECRYPT_MODE, 0); 490 setExpectedOutputSize("AES/CFB/PKCS7PADDING", Cipher.DECRYPT_MODE, 0); 491 setExpectedOutputSize("AES/CTR/PKCS5PADDING", Cipher.DECRYPT_MODE, 0); [all …]
|
D | CipherInputStreamTest.java | 98 cipher.init(Cipher.DECRYPT_MODE, key, iv); in testAvailable() 107 cipher.init(Cipher.DECRYPT_MODE, key, iv); in testDecrypt_NullInput_Discarded() 144 cipher.init(Cipher.DECRYPT_MODE, key, iv); in testDecrypt() 152 cipher.init(Cipher.DECRYPT_MODE, rc4Key); in testDecrypt_RC4() 160 cipher.init(Cipher.DECRYPT_MODE, key, iv); in testSkip() 177 cipher.init(Cipher.DECRYPT_MODE, key, iv); in testCipherInputStream_TruncatedInput_Failure() 185 cipher.init(Cipher.DECRYPT_MODE, key, iv); in testCipherInputStream_NullInputStream_Failure()
|
/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() 654 c.init(Cipher.DECRYPT_MODE, CIPHER_KEY_DES, ap); in test_doFinalLjava_nio_ByteBufferLjava_nio_ByteBuffer() 696 c.init(Cipher.DECRYPT_MODE, CIPHER_KEY_DES, ap); in test_initWithKeyAlgorithmParameters() 700 c.init(Cipher.DECRYPT_MODE, CIPHER_KEY_3DES, ap); in test_initWithKeyAlgorithmParameters() 706 c.init(Cipher.DECRYPT_MODE, CIPHER_KEY_DES, (AlgorithmParameters)null); in test_initWithKeyAlgorithmParameters() 716 c.init(Cipher.DECRYPT_MODE, CIPHER_KEY_DES, ap, new SecureRandom()); in test_initWithKeyAlgorithmParametersSecureRandom() 720 c.init(Cipher.DECRYPT_MODE, CIPHER_KEY_3DES, ap, new SecureRandom()); in test_initWithKeyAlgorithmParametersSecureRandom() 726 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/support/src/test/java/tests/security/ |
D | CipherSymmetricCryptHelper.java | 28 Cipher.DECRYPT_MODE); in CipherSymmetricCryptHelper()
|
D | CipherAsymmetricCryptHelper.java | 28 Cipher.DECRYPT_MODE); in CipherAsymmetricCryptHelper()
|
D | AlgorithmParameterAsymmetricHelper.java | 51 cipher.init(Cipher.DECRYPT_MODE, keyPair.getPrivate(), parameters); in test()
|
D | AlgorithmParameterSymmetricHelper.java | 65 cipher.init(Cipher.DECRYPT_MODE, key, parameters); in test()
|
/libcore/ojluni/src/main/java/javax/crypto/ |
D | SealedObject.java | 415 c.init(Cipher.DECRYPT_MODE, key, params); in unseal() 417 c.init(Cipher.DECRYPT_MODE, key); in unseal()
|
D | EncryptedPrivateKeyInfo.java | 286 c.init(Cipher.DECRYPT_MODE, decryptKey, algid.getParameters()); in getKeySpecImpl()
|
D | Cipher.java | 638 public static final int DECRYPT_MODE = 2; field in Cipher 1644 (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/src/main/java/sun/security/ssl/ |
D | CipherBox.java | 151 int mode = encrypt ? Cipher.ENCRYPT_MODE : Cipher.DECRYPT_MODE; in CipherBox() 170 mode == Cipher.DECRYPT_MODE && in CipherBox()
|
/libcore/ojluni/src/main/java/java/security/ |
D | Signature.java | 1328 cipher.init(Cipher.DECRYPT_MODE, publicKey); in engineInitVerify()
|