Searched refs:getBlockSize (Results 1 - 25 of 32) sorted by relevance

12

/dalvik/libcore/security/src/main/java/org/bouncycastle/crypto/
H A DBlockCipher.java33 public int getBlockSize(); method in interface:BlockCipher
H A DBufferedBlockCipher.java40 buf = new byte[cipher.getBlockSize()];
97 public int getBlockSize() method in class:BufferedBlockCipher
99 return cipher.getBlockSize();
118 leftOver = total % buf.length - (cipher.getBlockSize() + 2);
144 leftOver = total % buf.length - (cipher.getBlockSize() + 2);
212 int blockSize = getBlockSize();
H A DStreamBlockCipher.java24 if (cipher.getBlockSize() != 1)
/dalvik/libcore/security/src/main/java/org/bouncycastle/crypto/macs/
H A DCBCBlockCipherMac.java34 this(cipher, (cipher.getBlockSize() * 8) / 2, null);
48 this(cipher, (cipher.getBlockSize() * 8) / 2, padding);
99 mac = new byte[cipher.getBlockSize()];
101 buf = new byte[cipher.getBlockSize()];
147 int blockSize = cipher.getBlockSize();
179 int blockSize = cipher.getBlockSize();
H A DBlockCipherMac.java29 this(cipher, (cipher.getBlockSize() * 8) / 2);
56 mac = new byte[cipher.getBlockSize()];
58 buf = new byte[cipher.getBlockSize()];
104 int blockSize = cipher.getBlockSize();
136 int blockSize = cipher.getBlockSize();
H A DCFBBlockCipherMac.java36 this.IV = new byte[cipher.getBlockSize()];
37 this.cfbV = new byte[cipher.getBlockSize()];
38 this.cfbOutV = new byte[cipher.getBlockSize()];
96 public int getBlockSize() method in class:MacCFBBlockCipher
191 this(cipher, 8, (cipher.getBlockSize() * 8) / 2, null);
206 this(cipher, 8, (cipher.getBlockSize() * 8) / 2, padding);
257 mac = new byte[cipher.getBlockSize()];
263 buf = new byte[this.cipher.getBlockSize()];
309 int blockSize = cipher.getBlockSize();
341 int blockSize = cipher.getBlockSize();
[all...]
H A DISO9797Alg3Mac.java42 this(cipher, cipher.getBlockSize() * 8, null);
56 this(cipher, cipher.getBlockSize() * 8, padding);
113 mac = new byte[cipher.getBlockSize()];
115 buf = new byte[cipher.getBlockSize()];
193 int blockSize = cipher.getBlockSize();
225 int blockSize = cipher.getBlockSize();
/dalvik/libcore/security/src/main/java/org/bouncycastle/crypto/modes/
H A DOFBBlockCipher.java35 this.IV = new byte[cipher.getBlockSize()];
36 this.ofbV = new byte[cipher.getBlockSize()];
37 this.ofbOutV = new byte[cipher.getBlockSize()];
114 public int getBlockSize() method in class:OFBBlockCipher
H A DSICBlockCipher.java30 this.blockSize = cipher.getBlockSize();
69 public int getBlockSize() method in class:SICBlockCipher
71 return cipher.getBlockSize();
H A DGOFBBlockCipher.java38 this.blockSize = cipher.getBlockSize();
45 this.IV = new byte[cipher.getBlockSize()];
46 this.ofbV = new byte[cipher.getBlockSize()];
47 this.ofbOutV = new byte[cipher.getBlockSize()];
128 public int getBlockSize() method in class:GOFBBlockCipher
H A DCBCBlockCipher.java31 this.blockSize = cipher.getBlockSize();
104 public int getBlockSize() method in class:CBCBlockCipher
106 return cipher.getBlockSize();
H A DPaddedBlockCipher.java30 buf = new byte[cipher.getBlockSize()];
135 int blockSize = getBlockSize();
178 * 2 * getBlockSize() bytes.
193 int blockSize = cipher.getBlockSize();
H A DCFBBlockCipher.java36 this.IV = new byte[cipher.getBlockSize()];
37 this.cfbV = new byte[cipher.getBlockSize()];
38 this.cfbOutV = new byte[cipher.getBlockSize()];
116 public int getBlockSize() method in class:CFBBlockCipher
H A DCTSBlockCipher.java32 blockSize = cipher.getBlockSize();
130 int blockSize = getBlockSize();
197 int blockSize = cipher.getBlockSize();
H A DCCMBlockCipher.java34 this.blockSize = c.getBlockSize();
/dalvik/libcore/security/src/main/java/org/bouncycastle/crypto/engines/
H A DDESedeWrapEngine.java151 int noOfBlocks = WKCKS.length / engine.getBlockSize();
152 int extraBytes = WKCKS.length % engine.getBlockSize();
163 int currentBytePos = i * engine.getBlockSize();
191 int currentBytePos = i * engine.getBlockSize();
221 if (inLen % engine.getBlockSize() != 0)
224 + engine.getBlockSize());
253 for (int i = 0; i < (TEMP3.length / engine.getBlockSize()); i++)
255 int currentBytePos = i * engine.getBlockSize();
286 for (int i = 0; i < (WKCKS.length / engine.getBlockSize()); i++)
288 int currentBytePos = i * engine.getBlockSize();
[all...]
H A DNullEngine.java41 * @see org.bouncycastle.crypto.BlockCipher#getBlockSize()
43 public int getBlockSize() method in class:NullEngine
H A DDESedeEngine.java81 public int getBlockSize() method in class:DESedeEngine
/dalvik/libcore/security/src/main/java/org/bouncycastle/crypto/paddings/
H A DPaddedBufferedBlockCipher.java35 buf = new byte[cipher.getBlockSize()];
187 int blockSize = getBlockSize();
230 * 2 * getBlockSize() bytes.
246 int blockSize = cipher.getBlockSize();
/dalvik/libcore/security/src/main/java/org/bouncycastle/jce/provider/
H A DJCEBlockCipher.java104 return baseEngine.getBlockSize();
177 ivLength = baseEngine.getBlockSize();
183 ivLength = baseEngine.getBlockSize();
194 new OFBBlockCipher(baseEngine, 8 * baseEngine.getBlockSize()));
199 ivLength = baseEngine.getBlockSize();
210 new CFBBlockCipher(baseEngine, 8 * baseEngine.getBlockSize()));
218 // ivLength = baseEngine.getBlockSize();
224 // ivLength = baseEngine.getBlockSize();
238 ivLength = baseEngine.getBlockSize();
248 ivLength = baseEngine.getBlockSize();
[all...]
H A DBrokenJCEBlockCipher.java96 return cipher.getBlockSize();
156 ivLength = cipher.getUnderlyingCipher().getBlockSize();
162 ivLength = cipher.getUnderlyingCipher().getBlockSize();
173 new OFBBlockCipher(cipher.getUnderlyingCipher(), 8 * cipher.getBlockSize()));
178 ivLength = cipher.getUnderlyingCipher().getBlockSize();
189 new CFBBlockCipher(cipher.getUnderlyingCipher(), 8 * cipher.getBlockSize()));
/dalvik/libcore/crypto/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
H A DNullCipherTest.java75 method = "getBlockSize",
79 assertEquals("Incorrect BlockSize", 1, c.getBlockSize());
/dalvik/libcore/x-net/src/main/java/org/apache/harmony/xnet/provider/jsse/
H A DCipherSuite.java573 public int getBlockSize() { method in class:CipherSuite
H A DConnectionStateSSLv3.java69 int iv_size = cipherSuite.getBlockSize();
H A DConnectionStateTLS.java96 int iv_size = cipherSuite.getBlockSize();

Completed in 198 milliseconds

12