Home
last modified time | relevance | path

Searched refs:WRAP_MODE (Results 1 – 10 of 10) sorted by relevance

/dalvik/libcore/security/src/main/java/org/bouncycastle/jce/provider/
DJCEIESCipher.java93 if (state == Cipher.ENCRYPT_MODE || state == Cipher.WRAP_MODE) in engineGetOutputSize()
155 if (params == null && (opmode == Cipher.ENCRYPT_MODE || opmode == Cipher.WRAP_MODE)) in engineInit()
210 case Cipher.WRAP_MODE: in engineInit()
262 if (opmode == Cipher.ENCRYPT_MODE || opmode == Cipher.WRAP_MODE) in engineInit()
DJCEStreamCipher.java225 if ((opmode == Cipher.ENCRYPT_MODE) || (opmode == Cipher.WRAP_MODE)) in engineInit()
242 case Cipher.WRAP_MODE: in engineInit()
DBrokenJCEBlockCipher.java299 if ((opmode == Cipher.ENCRYPT_MODE) || (opmode == Cipher.WRAP_MODE)) in engineInit()
316 case Cipher.WRAP_MODE: in engineInit()
DJCEBlockCipher.java485 if ((opmode == Cipher.ENCRYPT_MODE) || (opmode == Cipher.WRAP_MODE)) in engineInit()
509 case Cipher.WRAP_MODE: in engineInit()
DWrapCipherSpi.java161 case Cipher.WRAP_MODE: in engineInit()
DJCERSACipher.java328 case Cipher.WRAP_MODE: in engineInit()
DJDKPKCS12KeyStore.java608 cipher.init(Cipher.WRAP_MODE, keyFact.generateSecret(pbeSpec), defParams); in wrapKey()
/dalvik/libcore/crypto/src/main/java/javax/crypto/
DCipher.java117 public static final int WRAP_MODE = 3; field in Cipher
546 && opmode != UNWRAP_MODE && opmode != WRAP_MODE) { in init()
639 && opmode != UNWRAP_MODE && opmode != WRAP_MODE) { in init()
737 && opmode != UNWRAP_MODE && opmode != WRAP_MODE) { in init()
830 && opmode != UNWRAP_MODE && opmode != WRAP_MODE) { in init()
1362 if (mode != WRAP_MODE) { in wrap()
/dalvik/libcore/crypto/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/func/
DCipherWrapThread.java39 cip.init(Cipher.WRAP_MODE, key); in crypt()
/dalvik/libcore/crypto/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
DCipherTest.java1201 c.init(Cipher.WRAP_MODE, cipherKeyDES, ap, sr); in test_unwrap$BLjava_lang_StringI()
1365 c.init(Cipher.WRAP_MODE, cipherKeyDES, ap, sr); in test_wrap_java_security_Key()
1376 c.init(Cipher.WRAP_MODE, cipherKeyDES, ap, sr); in test_wrap_java_security_Key()
1393 c.init(Cipher.WRAP_MODE, cipherKeyDES, ap, sr); in test_wrap_java_security_Key()