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

1 2

  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/
AsymmetricBlockCipher.java 13 * @param forEncryption if true the cipher is initialised for
17 public void init(boolean forEncryption, CipherParameters param);
BlockCipher.java 12 * @param forEncryption if true the cipher is initialised for
18 public void init(boolean forEncryption, CipherParameters params)
StreamCipher.java 11 * @param forEncryption if true the cipher is initialised for
17 public void init(boolean forEncryption, CipherParameters params)
StreamBlockCipher.java 35 * @param forEncryption true if we are setting up for encryption, false otherwise.
39 boolean forEncryption,
42 cipher.init(forEncryption, params);
BufferedBlockCipher.java 17 protected boolean forEncryption;
74 * @param forEncryption if true the cipher is initialised for
81 boolean forEncryption,
85 this.forEncryption = forEncryption;
89 cipher.init(forEncryption, params);
  /external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/crypto/cipher/
BlockCipher.java 15 public void init(boolean forEncryption, byte[] key);
NullCipher.java 26 public void init(boolean forEncryption, byte[] key)
CTRMode.java 24 public void init(boolean forEncryption, byte[] key)
CBCMode.java 22 public void init(boolean forEncryption, byte[] key)
AES.java     [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/encodings/
PKCS1Encoding.java 34 private boolean forEncryption;
72 boolean forEncryption,
90 engine.init(forEncryption, param);
93 this.forEncryption = forEncryption;
100 if (forEncryption)
114 if (forEncryption)
130 if (forEncryption)
OAEPEncoding.java 25 private boolean forEncryption;
76 boolean forEncryption,
90 engine.init(forEncryption, param);
92 this.forEncryption = forEncryption;
99 if (forEncryption)
113 if (forEncryption)
129 if (forEncryption)
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/engines/
RSACoreEngine.java 17 private boolean forEncryption;
22 * @param forEncryption true if we are encrypting, false otherwise.
26 boolean forEncryption,
40 this.forEncryption = forEncryption;
54 if (forEncryption)
75 if (forEncryption)
94 else if (inLen == (getInputBlockSize() + 1) && !forEncryption)
126 if (forEncryption)
DESedeEngine.java 20 private boolean forEncryption;
53 this.forEncryption = encrypting;
108 if (forEncryption)
RSABlindedEngine.java 29 * @param forEncryption true if we are encrypting, false otherwise.
33 boolean forEncryption,
36 core.init(forEncryption, param);
RC4Engine.java 26 * @param forEncryption whether or not we are for encryption.
32 boolean forEncryption,
40 * symmetrical, so the 'forEncryption' is
AESEngine.java 272 boolean forEncryption)
318 if (!forEncryption)
335 private boolean forEncryption;
349 * @param forEncryption whether or not we are for encryption.
355 boolean forEncryption,
360 WorkingKey = generateWorkingKey(((KeyParameter)params).getKey(), forEncryption);
361 this.forEncryption = forEncryption;
399 if (forEncryption)
AESFastEngine.java     [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/paddings/
PaddedBufferedBlockCipher.java 54 * @param forEncryption if true the cipher is initialised for
61 boolean forEncryption,
65 this.forEncryption = forEncryption;
75 cipher.init(forEncryption, p.getParameters());
81 cipher.init(forEncryption, params);
101 if (forEncryption)
250 if (forEncryption)
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/modes/
GCMBlockCipher.java 32 private boolean forEncryption;
84 public void init(boolean forEncryption, CipherParameters params)
87 this.forEncryption = forEncryption;
122 int bufLength = forEncryption ? BLOCK_SIZE : (BLOCK_SIZE + macSize);
189 if (forEncryption)
200 if (!forEncryption)
296 if (forEncryption)
316 if (!forEncryption)
391 if (forEncryption)
    [all...]
AEADBlockCipher.java 17 * @param forEncryption true if we are setting up for encryption, false otherwise.
21 public void init(boolean forEncryption, CipherParameters params)
CCMBlockCipher.java 26 private boolean forEncryption;
63 public void init(boolean forEncryption, CipherParameters params)
66 this.forEncryption = forEncryption;
173 if (forEncryption)
207 ctrCipher.init(forEncryption, new ParametersWithIV(keyParam, iv));
213 if (forEncryption)
SICBlockCipher.java 50 boolean forEncryption, //ignored by this CTR mode
CTSBlockCipher.java 201 if (forEncryption)
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/util/
BaseBlockCipher.java 801 public void init(boolean forEncryption, CipherParameters params)
844 public void init(boolean forEncryption, CipherParameters params)
847 cipher.init(forEncryption, params);
901 public void init(boolean forEncryption, CipherParameters params)
904 cipher.init(forEncryption, params);

Completed in 111 milliseconds

1 2