HomeSort by relevance Sort by last modified time
    Searched refs:ENCRYPT_MODE (Results 1 - 25 of 49) sorted by null

1 2

  /libcore/luni/src/main/java/javax/crypto/
NullCipher.java 43 this.init(Cipher.ENCRYPT_MODE, (Key)null, (SecureRandom)null);
Cipher.java 72 public static final int ENCRYPT_MODE = 1;
464 * (one of: {@code ENCRYPT_MODE}, {@code DECRYPT_MODE}, {@code
502 * (one of: {@code ENCRYPT_MODE}, {@code DECRYPT_MODE}, {@code
524 if (mode != ENCRYPT_MODE && mode != DECRYPT_MODE
548 * (one of: {@code ENCRYPT_MODE}, {@code DECRYPT_MODE}, {@code
589 * (one of: {@code ENCRYPT_MODE}, {@code DECRYPT_MODE}, {@code
640 * (one of: {@code ENCRYPT_MODE}, {@code DECRYPT_MODE}, {@code
680 * (one of: {@code ENCRYPT_MODE}, {@code DECRYPT_MODE}, {@code
735 * (one of: {@code ENCRYPT_MODE}, {@code DECRYPT_MODE}, {@code
776 * (one of: {@code ENCRYPT_MODE}, {@code DECRYPT_MODE}, {@cod
    [all...]
  /libcore/support/src/test/java/tests/security/
CipherAsymmetricCryptHelper.java 27 super(algorithmName, plainData, Cipher.ENCRYPT_MODE,
CipherSymmetricCryptHelper.java 27 super(algorithmName, plainData, Cipher.ENCRYPT_MODE,
AlgorithmParameterAsymmetricHelper.java 66 cipher.init(Cipher.ENCRYPT_MODE, keyPair.getPublic(), parameters);
AlgorithmParameterSymmetricHelper.java 79 cipher.init(Cipher.ENCRYPT_MODE, key, parameters);
  /libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
CipherTest.java 218 cipher.init(Cipher.ENCRYPT_MODE, CIPHER_KEY_3DES, new SecureRandom());
234 cipher.init(Cipher.ENCRYPT_MODE, CIPHER_KEY_3DES);
239 cipher.init(Cipher.ENCRYPT_MODE, CIPHER_KEY_3DES);
251 cipher.init(Cipher.ENCRYPT_MODE, CIPHER_KEY_3DES, new SecureRandom());
255 cipher.init(Cipher.ENCRYPT_MODE, CIPHER_KEY_3DES, new SecureRandom());
269 cipher.init(Cipher.ENCRYPT_MODE, CIPHER_KEY_3DES, ap);
275 cipher.init(Cipher.ENCRYPT_MODE, CIPHER_KEY_3DES, ap);
283 cipher.init(Cipher.ENCRYPT_MODE, CIPHER_KEY_DES, ap);
298 cipher.init(Cipher.ENCRYPT_MODE, CIPHER_KEY_3DES, ap, new SecureRandom());
304 cipher.init(Cipher.ENCRYPT_MODE, CIPHER_KEY_3DES, ap, new SecureRandom())
    [all...]
SealedObjectTest.java 110 cipher.init(Cipher.ENCRYPT_MODE, key, ips);
115 cipher.init(Cipher.ENCRYPT_MODE, key, ips);
161 cipher.init(Cipher.ENCRYPT_MODE, key);
181 cipher.init(Cipher.ENCRYPT_MODE, key, ips);
225 cipher.init(Cipher.ENCRYPT_MODE, key, ips);
270 cipher.init(Cipher.ENCRYPT_MODE, key);
303 cipher.init(Cipher.ENCRYPT_MODE, key);
NullCipherTest.java 76 c.init(Cipher.ENCRYPT_MODE, new SecretKeySpec(new byte[1], "algorithm"));
84 c.init(Cipher.ENCRYPT_MODE, new SecretKeySpec(new byte[1],
93 c.init(Cipher.ENCRYPT_MODE, new SecretKeySpec(new byte[1],
CipherOutputStream1Test.java 202 c.init(Cipher.ENCRYPT_MODE, key);
  /external/apache-harmony/crypto/src/test/api/java.injected/javax/crypto/
SealedObjectTest.java 120 cipher.init(Cipher.ENCRYPT_MODE, key);
140 cipher.init(Cipher.ENCRYPT_MODE, key, ips);
175 cipher.init(Cipher.ENCRYPT_MODE, key, ips);
214 cipher.init(Cipher.ENCRYPT_MODE, key);
  /external/apache-harmony/crypto/src/test/impl/java/org/apache/harmony/crypto/tests/javax/crypto/
Cipher_Impl1Test.java 65 cipher.init(Cipher.ENCRYPT_MODE, cipherKey, ap);
97 cipher.init(Cipher.ENCRYPT_MODE, cipherKey, ap, sr);
  /libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/func/
CipherSymmetricKeyThread.java 56 cip.init(Cipher.ENCRYPT_MODE, key, ivspec);
64 cip.init(Cipher.ENCRYPT_MODE, key);
CipherPBEThread.java 52 cip.init(Cipher.ENCRYPT_MODE, key, parSpec);
CipherRSAThread.java 42 cip.init(Cipher.ENCRYPT_MODE, kp.getPublic());
  /external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/
NullCipherTest.java 74 c.init(Cipher.ENCRYPT_MODE, new SecretKeySpec(new byte[1], "algorithm"));
82 c.init(Cipher.ENCRYPT_MODE, new SecretKeySpec(new byte[1],
91 c.init(Cipher.ENCRYPT_MODE, new SecretKeySpec(new byte[1],
CipherTest.java 174 cipher.init(Cipher.ENCRYPT_MODE, cipherKey, sr);
190 cipher.init(Cipher.ENCRYPT_MODE, cipherKey);
201 cipher.init(Cipher.ENCRYPT_MODE, cipherKey, sr);
222 cipher.init(Cipher.ENCRYPT_MODE, cipherKey, ivAVP);
248 cipher.init(Cipher.ENCRYPT_MODE, cipherKey, ivAVP, sr);
321 c.init(Cipher.ENCRYPT_MODE, k, iv);
378 c.init(Cipher.ENCRYPT_MODE, cipherKey);
393 c.init(Cipher.ENCRYPT_MODE, cipherKey);
  /libcore/luni/src/test/java/libcore/javax/crypto/
CipherTest.java 151 return Cipher.ENCRYPT_MODE;
344 setExpectedBlockSize("RSA", Cipher.ENCRYPT_MODE, 256);
345 setExpectedBlockSize("RSA/ECB/NoPadding", Cipher.ENCRYPT_MODE, 256);
346 setExpectedBlockSize("RSA/ECB/PKCS1Padding", Cipher.ENCRYPT_MODE, 245);
349 setExpectedBlockSize("RSA", Cipher.ENCRYPT_MODE, "BC", 255);
350 setExpectedBlockSize("RSA/ECB/NoPadding", Cipher.ENCRYPT_MODE, "BC", 255);
424 setExpectedOutputSize("AES", Cipher.ENCRYPT_MODE, 16);
425 setExpectedOutputSize("AES/CBC/PKCS5PADDING", Cipher.ENCRYPT_MODE, 16);
426 setExpectedOutputSize("AES/CFB/PKCS5PADDING", Cipher.ENCRYPT_MODE, 16);
427 setExpectedOutputSize("AES/CTR/PKCS5PADDING", Cipher.ENCRYPT_MODE, 16)
    [all...]
CipherInputStreamTest.java 44 cipher.init(Cipher.ENCRYPT_MODE, key);
  /libcore/benchmarks/src/benchmarks/regression/
CipherBenchmark.java 131 cipherEncrypt.init(Cipher.ENCRYPT_MODE, key, spec);
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/util/
BaseStreamCipher.java 220 if ((opmode == Cipher.ENCRYPT_MODE) || (opmode == Cipher.WRAP_MODE))
236 case Cipher.ENCRYPT_MODE:
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/rsa/
CipherSpi.java 257 if (privateKeyOnly && opmode == Cipher.ENCRYPT_MODE)
267 if (publicKeyOnly && opmode == Cipher.ENCRYPT_MODE)
335 case Cipher.ENCRYPT_MODE:
  /libcore/crypto/src/main/java/org/conscrypt/
DigitalSignature.java 107 cipher.init(Cipher.ENCRYPT_MODE, key);
ConnectionStateSSLv3.java 184 encCipher.init(Cipher.ENCRYPT_MODE,
191 encCipher.init(Cipher.ENCRYPT_MODE,
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
JCEStreamCipher.java 247 if ((opmode == Cipher.ENCRYPT_MODE) || (opmode == Cipher.WRAP_MODE))
263 case Cipher.ENCRYPT_MODE:

Completed in 1575 milliseconds

1 2