/dalvik/libcore/security/src/main/java/org/bouncycastle/crypto/ |
H A D | BlockCipher.java | 33 public int getBlockSize(); method in interface:BlockCipher
|
H A D | BufferedBlockCipher.java | 40 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 D | StreamBlockCipher.java | 24 if (cipher.getBlockSize() != 1)
|
/dalvik/libcore/security/src/main/java/org/bouncycastle/crypto/macs/ |
H A D | CBCBlockCipherMac.java | 34 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 D | BlockCipherMac.java | 29 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 D | CFBBlockCipherMac.java | 36 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 D | ISO9797Alg3Mac.java | 42 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 D | OFBBlockCipher.java | 35 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 D | SICBlockCipher.java | 30 this.blockSize = cipher.getBlockSize(); 69 public int getBlockSize() method in class:SICBlockCipher 71 return cipher.getBlockSize();
|
H A D | GOFBBlockCipher.java | 38 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 D | CBCBlockCipher.java | 31 this.blockSize = cipher.getBlockSize(); 104 public int getBlockSize() method in class:CBCBlockCipher 106 return cipher.getBlockSize();
|
H A D | PaddedBlockCipher.java | 30 buf = new byte[cipher.getBlockSize()]; 135 int blockSize = getBlockSize(); 178 * 2 * getBlockSize() bytes. 193 int blockSize = cipher.getBlockSize();
|
H A D | CFBBlockCipher.java | 36 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 D | CTSBlockCipher.java | 32 blockSize = cipher.getBlockSize(); 130 int blockSize = getBlockSize(); 197 int blockSize = cipher.getBlockSize();
|
H A D | CCMBlockCipher.java | 34 this.blockSize = c.getBlockSize();
|
/dalvik/libcore/security/src/main/java/org/bouncycastle/crypto/engines/ |
H A D | DESedeWrapEngine.java | 151 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 D | NullEngine.java | 41 * @see org.bouncycastle.crypto.BlockCipher#getBlockSize() 43 public int getBlockSize() method in class:NullEngine
|
H A D | DESedeEngine.java | 81 public int getBlockSize() method in class:DESedeEngine
|
/dalvik/libcore/security/src/main/java/org/bouncycastle/crypto/paddings/ |
H A D | PaddedBufferedBlockCipher.java | 35 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 D | JCEBlockCipher.java | 104 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 D | BrokenJCEBlockCipher.java | 96 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 D | NullCipherTest.java | 75 method = "getBlockSize", 79 assertEquals("Incorrect BlockSize", 1, c.getBlockSize());
|
/dalvik/libcore/x-net/src/main/java/org/apache/harmony/xnet/provider/jsse/ |
H A D | CipherSuite.java | 573 public int getBlockSize() { method in class:CipherSuite
|
H A D | ConnectionStateSSLv3.java | 69 int iv_size = cipherSuite.getBlockSize();
|
H A D | ConnectionStateTLS.java | 96 int iv_size = cipherSuite.getBlockSize();
|