Home
last modified time | relevance | path

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

/external/bouncycastle/src/main/java/org/bouncycastle/crypto/macs/
DCMac.java54 this(cipher, cipher.getBlockSize() * 8); in CMac()
76 if (macSizeInBits > (cipher.getBlockSize() * 8)) in CMac()
80 + (cipher.getBlockSize() * 8)); in CMac()
83 if (cipher.getBlockSize() != 8 && cipher.getBlockSize() != 16) in CMac()
92 mac = new byte[cipher.getBlockSize()]; in CMac()
94 buf = new byte[cipher.getBlockSize()]; in CMac()
96 ZEROES = new byte[cipher.getBlockSize()]; in CMac()
161 int blockSize = cipher.getBlockSize(); in update()
190 int blockSize = cipher.getBlockSize(); in doFinal()
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()
DEAXBlockCipher.java58 blockSize = cipher.getBlockSize(); in EAXBlockCipher()
77 public int getBlockSize() in getBlockSize() method in EAXBlockCipher
79 return cipher.getBlockSize(); in getBlockSize()
DCCMBlockCipher.java42 this.blockSize = c.getBlockSize(); in CCMBlockCipher()
DGCMBlockCipher.java54 if (c.getBlockSize() != BLOCK_SIZE) in GCMBlockCipher()
/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.java150 return baseEngine.getBlockSize(); in engineGetBlockSize()
223 ivLength = baseEngine.getBlockSize(); in engineSetMode()
229 ivLength = baseEngine.getBlockSize(); in engineSetMode()
240 new OFBBlockCipher(baseEngine, 8 * baseEngine.getBlockSize())); in engineSetMode()
245 ivLength = baseEngine.getBlockSize(); in engineSetMode()
256 new CFBBlockCipher(baseEngine, 8 * baseEngine.getBlockSize())); in engineSetMode()
277 ivLength = baseEngine.getBlockSize(); in engineSetMode()
287 ivLength = baseEngine.getBlockSize(); in engineSetMode()
293 ivLength = baseEngine.getBlockSize(); in engineSetMode()
299 ivLength = baseEngine.getBlockSize(); in engineSetMode()
[all …]
/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
DBlowfishEngine.java385 public int getBlockSize() in getBlockSize() method in BlowfishEngine
DDESEngine.java58 public int getBlockSize() in getBlockSize() method in DESEngine
DRC2Engine.java154 public int getBlockSize() in getBlockSize() method in RC2Engine
DAESFastEngine.java705 public int getBlockSize() in getBlockSize() method in AESFastEngine
DAESEngine.java374 public int getBlockSize() in getBlockSize() method in AESEngine
DTwofishEngine.java329 public int getBlockSize() in getBlockSize() method in TwofishEngine
/external/bouncycastle/patches/
Dandroid.patch4826 new CFBBlockCipher(baseEngine, 8 * baseEngine.getBlockSize()));
4833 - ivLength = baseEngine.getBlockSize();
4848 + // ivLength = baseEngine.getBlockSize();
4861 ivLength = baseEngine.getBlockSize();