forked from I2P_Developers/i2p.i2p
CryptixRijndael_Algorithm._BLOCK_SIZE is private, so specify value directly
This commit is contained in:
@ -53,7 +53,7 @@ public class AESInputStream extends FilterInputStream {
|
||||
/** how many bytes are available for reading without decrypt? */
|
||||
private int _decryptedSize;
|
||||
|
||||
private final static int BLOCK_SIZE = CryptixRijndael_Algorithm._BLOCK_SIZE;
|
||||
private final static int BLOCK_SIZE = 16;
|
||||
|
||||
public AESInputStream(I2PAppContext context, InputStream source, SessionKey key, byte[] iv) {
|
||||
super(source);
|
||||
|
@ -48,7 +48,7 @@ public class AESOutputStream extends FilterOutputStream {
|
||||
|
||||
public final static float EXPANSION_FACTOR = 1.0625f; // 6% overhead w/ the padding
|
||||
|
||||
private final static int BLOCK_SIZE = CryptixRijndael_Algorithm._BLOCK_SIZE;
|
||||
private final static int BLOCK_SIZE = 16;
|
||||
private final static int MAX_BUF = 256;
|
||||
|
||||
public AESOutputStream(I2PAppContext context, OutputStream source, SessionKey key, byte[] iv) {
|
||||
|
Reference in New Issue
Block a user