diff --git a/core/java/test/junit/net/i2p/crypto/AESInputStream.java b/core/java/test/junit/net/i2p/crypto/AESInputStream.java index 58325649e9bfda46708fded2f9cc5aa5c3a087f2..09446b2222b061996d9cadc4012be926a75e3817 100644 --- a/core/java/test/junit/net/i2p/crypto/AESInputStream.java +++ b/core/java/test/junit/net/i2p/crypto/AESInputStream.java @@ -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); diff --git a/core/java/test/junit/net/i2p/crypto/AESOutputStream.java b/core/java/test/junit/net/i2p/crypto/AESOutputStream.java index a8a63956247f095b23b2b43b18588fc19557b5e3..c754813e99db6d52620c3494f304d425e61444a6 100644 --- a/core/java/test/junit/net/i2p/crypto/AESOutputStream.java +++ b/core/java/test/junit/net/i2p/crypto/AESOutputStream.java @@ -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) {