Home
last modified time | relevance | path

Searched refs:forEncryption (Results 1 – 21 of 21) sorted by relevance

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/engines/
DRSACoreEngine.java17 private boolean forEncryption; field in RSACoreEngine
26 boolean forEncryption, in init() argument
40 this.forEncryption = forEncryption; in init()
54 if (forEncryption) in getInputBlockSize()
75 if (forEncryption) in getOutputBlockSize()
94 else if (inLen == (getInputBlockSize() + 1) && !forEncryption) in convertInput()
126 if (forEncryption) in convertOutput()
DDESedeEngine.java20 private boolean forEncryption; field in DESedeEngine
53 this.forEncryption = encrypting; in init()
108 if (forEncryption) in processBlock()
DAESEngine.java282 private int[][] generateWorkingKey(byte[] key, boolean forEncryption) in generateWorkingKey() argument
399 if (!forEncryption) in generateWorkingKey()
416 private boolean forEncryption; field in AESEngine
436 boolean forEncryption, in init() argument
441 WorkingKey = generateWorkingKey(((KeyParameter)params).getKey(), forEncryption); in init()
442 this.forEncryption = forEncryption; in init()
480 if (forEncryption) in processBlock()
DAESFastEngine.java610 private int[][] generateWorkingKey(byte[] key, boolean forEncryption) in generateWorkingKey() argument
727 if (!forEncryption) in generateWorkingKey()
744 private boolean forEncryption; field in AESFastEngine
764 boolean forEncryption, in init() argument
769 WorkingKey = generateWorkingKey(((KeyParameter)params).getKey(), forEncryption); in init()
770 this.forEncryption = forEncryption; in init()
810 if (forEncryption) in processBlock()
DRSABlindedEngine.java33 boolean forEncryption, in init() argument
36 core.init(forEncryption, param); in init()
DRC4Engine.java32 boolean forEncryption, in init() argument
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/encodings/
DPKCS1Encoding.java39 private boolean forEncryption; field in PKCS1Encoding
127 boolean forEncryption, in init() argument
142 if (!kParam.isPrivate() && forEncryption) in init()
148 engine.init(forEncryption, param); in init()
151 this.forEncryption = forEncryption; in init()
158 if (forEncryption) in getInputBlockSize()
172 if (forEncryption) in getOutputBlockSize()
188 if (forEncryption) in processBlock()
DOAEPEncoding.java25 private boolean forEncryption; field in OAEPEncoding
76 boolean forEncryption, in init() argument
90 engine.init(forEncryption, param); in init()
92 this.forEncryption = forEncryption; in init()
99 if (forEncryption) in getInputBlockSize()
113 if (forEncryption) in getOutputBlockSize()
129 if (forEncryption) in processBlock()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/paddings/
DPaddedBufferedBlockCipher.java61 boolean forEncryption, in init() argument
65 this.forEncryption = forEncryption; in init()
75 cipher.init(forEncryption, p.getParameters()); in init()
81 cipher.init(forEncryption, params); in init()
101 if (forEncryption) in getOutputSize()
250 if (forEncryption) in doFinal()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/
DBufferedBlockCipher.java17 protected boolean forEncryption; field in BufferedBlockCipher
81 boolean forEncryption, in init() argument
85 this.forEncryption = forEncryption; in init()
89 cipher.init(forEncryption, params); in init()
118 if (forEncryption) in getUpdateOutputSize()
DAsymmetricBlockCipher.java17 public void init(boolean forEncryption, CipherParameters param); in init() argument
DBlockCipher.java18 public void init(boolean forEncryption, CipherParameters params) in init() argument
DStreamCipher.java17 public void init(boolean forEncryption, CipherParameters params) in init() argument
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/modes/
DGCMBlockCipher.java39 private boolean forEncryption; field in GCMBlockCipher
95 public void init(boolean forEncryption, CipherParameters params) in init() argument
98 this.forEncryption = forEncryption; in init()
133 int bufLength = forEncryption ? BLOCK_SIZE : (BLOCK_SIZE + macSize); in init()
202 if (forEncryption) in getOutputSize()
221 if (!forEncryption) in getUpdateOutputSize()
345 if (forEncryption) in outputBlock()
366 if (forEncryption) in doFinal()
452 if (forEncryption) in doFinal()
518 gHASHBlock(S, forEncryption ? tmp : block); in gCTRBlock()
[all …]
DCCMBlockCipher.java27 private boolean forEncryption; field in CCMBlockCipher
64 public void init(boolean forEncryption, CipherParameters params) in init() argument
67 this.forEncryption = forEncryption; in init()
184 if (forEncryption) in getOutputSize()
207 if (forEncryption) in processPacket()
264 ctrCipher.init(forEncryption, new ParametersWithIV(keyParam, iv)); in processPacket()
270 if (forEncryption) in processPacket()
DAEADBlockCipher.java31 public void init(boolean forEncryption, CipherParameters params) in init() argument
DCTSBlockCipher.java202 if (forEncryption) in doFinal()
DSICBlockCipher.java46 boolean forEncryption, //ignored by this CTR mode in init() argument
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/util/
DBaseBlockCipher.java1167 public void init(boolean forEncryption, CipherParameters params) in init() argument
1213 public void init(boolean forEncryption, CipherParameters params) in init() argument
1216 cipher.init(forEncryption, params); in init()
1308 public void init(boolean forEncryption, CipherParameters params) in init() argument
1311 cipher.init(forEncryption, params); in init()
/external/google-tv-pairing-protocol/java/jar/
Dbcprov-jdk15-143.jarMETA-INF/MANIFEST.MF META-INF/BCKEY.SF META-INF/BCKEY ...
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/keystore/pkcs12/
DPKCS12KeyStoreSpi.java679 boolean forEncryption, in cryptData() argument
687 int mode = forEncryption ? Cipher.ENCRYPT_MODE : Cipher.DECRYPT_MODE; in cryptData()