Home
last modified time | relevance | path

Searched refs:getBlockSize (Results 1 – 25 of 41) sorted by relevance

12

/external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/
DCipherSuiteTest.java208 .getBlockSize()); in testGetBlockSize()
211 .getBlockSize()); in testGetBlockSize()
214 .getBlockSize()); in testGetBlockSize()
217 .getBlockSize()); in testGetBlockSize()
220 .getBlockSize()); in testGetBlockSize()
223 .getBlockSize()); in testGetBlockSize()
226 .getBlockSize()); in testGetBlockSize()
229 .getBlockSize()); in testGetBlockSize()
232 .getBlockSize()); in testGetBlockSize()
235 .getBlockSize()); in testGetBlockSize()
[all …]
/external/bouncycastle/src/main/java/org/bouncycastle/crypto/macs/
DCBCBlockCipherMac.java34 this(cipher, (cipher.getBlockSize() * 8) / 2, null); in CBCBlockCipherMac()
48 this(cipher, (cipher.getBlockSize() * 8) / 2, padding); in CBCBlockCipherMac()
99 mac = new byte[cipher.getBlockSize()]; in CBCBlockCipherMac()
101 buf = new byte[cipher.getBlockSize()]; in CBCBlockCipherMac()
145 int blockSize = cipher.getBlockSize(); in update()
176 int blockSize = cipher.getBlockSize(); in doFinal()
/external/bouncycastle/src/main/java/org/bouncycastle/crypto/modes/
DGOFBBlockCipher.java38 this.blockSize = cipher.getBlockSize(); in GOFBBlockCipher()
45 this.IV = new byte[cipher.getBlockSize()]; in GOFBBlockCipher()
46 this.ofbV = new byte[cipher.getBlockSize()]; in GOFBBlockCipher()
47 this.ofbOutV = new byte[cipher.getBlockSize()]; in GOFBBlockCipher()
128 public int getBlockSize() in getBlockSize() method in GOFBBlockCipher
DOFBBlockCipher.java35 this.IV = new byte[cipher.getBlockSize()]; in OFBBlockCipher()
36 this.ofbV = new byte[cipher.getBlockSize()]; in OFBBlockCipher()
37 this.ofbOutV = new byte[cipher.getBlockSize()]; in OFBBlockCipher()
114 public int getBlockSize() in getBlockSize() method in OFBBlockCipher
DCFBBlockCipher.java36 this.IV = new byte[cipher.getBlockSize()]; in CFBBlockCipher()
37 this.cfbV = new byte[cipher.getBlockSize()]; in CFBBlockCipher()
38 this.cfbOutV = new byte[cipher.getBlockSize()]; in CFBBlockCipher()
116 public int getBlockSize() in getBlockSize() method in CFBBlockCipher
DSICBlockCipher.java30 this.blockSize = cipher.getBlockSize(); in SICBlockCipher()
73 public int getBlockSize() in getBlockSize() method in SICBlockCipher
75 return cipher.getBlockSize(); in getBlockSize()
DCBCBlockCipher.java32 this.blockSize = cipher.getBlockSize(); in CBCBlockCipher()
105 public int getBlockSize() in getBlockSize() method in CBCBlockCipher
107 return cipher.getBlockSize(); in getBlockSize()
DCTSBlockCipher.java32 blockSize = cipher.getBlockSize(); in CTSBlockCipher()
130 int blockSize = getBlockSize(); in processBytes()
197 int blockSize = cipher.getBlockSize(); in doFinal()
/external/bouncycastle/src/main/java/org/bouncycastle/crypto/
DBufferedBlockCipher.java40 buf = new byte[cipher.getBlockSize()]; in BufferedBlockCipher()
97 public int getBlockSize() in getBlockSize() method in BufferedBlockCipher
99 return cipher.getBlockSize(); in getBlockSize()
118 leftOver = total % buf.length - (cipher.getBlockSize() + 2); in getUpdateOutputSize()
197 int blockSize = getBlockSize(); in processBytes()
DBlockCipher.java33 public int getBlockSize(); in getBlockSize() method
DStreamBlockCipher.java24 if (cipher.getBlockSize() != 1) in StreamBlockCipher()
/external/bouncycastle/src/main/java/org/bouncycastle/jce/provider/
DJCEBlockCipher.java134 return baseEngine.getBlockSize(); in engineGetBlockSize()
207 ivLength = baseEngine.getBlockSize(); in engineSetMode()
213 ivLength = baseEngine.getBlockSize(); in engineSetMode()
224 new OFBBlockCipher(baseEngine, 8 * baseEngine.getBlockSize())); in engineSetMode()
229 ivLength = baseEngine.getBlockSize(); in engineSetMode()
240 new CFBBlockCipher(baseEngine, 8 * baseEngine.getBlockSize())); in engineSetMode()
261 ivLength = baseEngine.getBlockSize(); in engineSetMode()
271 ivLength = baseEngine.getBlockSize(); in engineSetMode()
277 ivLength = baseEngine.getBlockSize(); in engineSetMode()
283 ivLength = baseEngine.getBlockSize(); in engineSetMode()
[all …]
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/crypto/
DPEMDecoder.java275 if ((ps.data.length % bc.getBlockSize()) != 0) in decryptPEM()
277 + bc.getBlockSize()); in decryptPEM()
283 for (int i = 0; i < ps.data.length / bc.getBlockSize(); i++) in decryptPEM()
285 bc.transformBlock(ps.data, i * bc.getBlockSize(), dz, i * bc.getBlockSize()); in decryptPEM()
290 dz = removePadding(dz, bc.getBlockSize()); in decryptPEM()
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/crypto/cipher/
DCTRMode.java31 blockSize = bc.getBlockSize(); in CTRMode()
43 public final int getBlockSize() in getBlockSize() method in CTRMode
DCBCMode.java30 this.blockSize = tc.getBlockSize(); in CBCMode()
42 public int getBlockSize() in getBlockSize() method in CBCMode
DBlockCipher.java17 public int getBlockSize(); in getBlockSize() method
DNullCipher.java30 public int getBlockSize() in getBlockSize() method in NullCipher
DDESede.java78 public int getBlockSize() in getBlockSize() method in DESede
DCipherInputStream.java76 blockSize = bc.getBlockSize(); in changeCipher()
DCipherOutputStream.java89 blockSize = bc.getBlockSize(); in changeCipher()
DBlockCipherFactory.java119 public static int getBlockSize(String type) in getBlockSize() method in BlockCipherFactory
/external/bouncycastle/src/main/java/org/bouncycastle/crypto/paddings/
DPaddedBufferedBlockCipher.java35 buf = new byte[cipher.getBlockSize()]; in PaddedBufferedBlockCipher()
187 int blockSize = getBlockSize(); in processBytes()
246 int blockSize = cipher.getBlockSize(); in doFinal()
/external/bouncycastle/src/main/java/org/bouncycastle/crypto/engines/
DDESedeWrapEngine.java159 int blockSize = engine.getBlockSize(); in wrap()
221 final int blockSize = engine.getBlockSize(); in unwrap()
DDESedeEngine.java79 public int getBlockSize() in getBlockSize() method in DESedeEngine
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/transport/
DTransportConnection.java85 recv_padd_blocksize = bc.getBlockSize(); in changeRecvCipher()
102 send_padd_blocksize = bc.getBlockSize(); in changeSendCipher()

12