Searched refs:WRAP_MODE (Results 1 – 10 of 10) sorted by relevance
/dalvik/libcore/security/src/main/java/org/bouncycastle/jce/provider/ |
D | JCEIESCipher.java | 93 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()
|
D | JCEStreamCipher.java | 225 if ((opmode == Cipher.ENCRYPT_MODE) || (opmode == Cipher.WRAP_MODE)) in engineInit() 242 case Cipher.WRAP_MODE: in engineInit()
|
D | BrokenJCEBlockCipher.java | 299 if ((opmode == Cipher.ENCRYPT_MODE) || (opmode == Cipher.WRAP_MODE)) in engineInit() 316 case Cipher.WRAP_MODE: in engineInit()
|
D | JCEBlockCipher.java | 485 if ((opmode == Cipher.ENCRYPT_MODE) || (opmode == Cipher.WRAP_MODE)) in engineInit() 509 case Cipher.WRAP_MODE: in engineInit()
|
D | WrapCipherSpi.java | 161 case Cipher.WRAP_MODE: in engineInit()
|
D | JCERSACipher.java | 328 case Cipher.WRAP_MODE: in engineInit()
|
D | JDKPKCS12KeyStore.java | 608 cipher.init(Cipher.WRAP_MODE, keyFact.generateSecret(pbeSpec), defParams); in wrapKey()
|
/dalvik/libcore/crypto/src/main/java/javax/crypto/ |
D | Cipher.java | 117 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/ |
D | CipherWrapThread.java | 39 cip.init(Cipher.WRAP_MODE, key); in crypt()
|
/dalvik/libcore/crypto/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/ |
D | CipherTest.java | 1201 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()
|