Skip to content

Commit fdefdde

Browse files
committed
adjusted code so base block size explicitly called out.
1 parent 05d1599 commit fdefdde

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/java/org/bouncycastle/crypto/DefaultMultiBlockCipher.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public int processBlocks(byte[] in, int inOff, int blockCount, byte[] out, int o
2121
// TODO check if the underlying cipher supports the multiblock interface and call it directly?
2222

2323
int resultLen = 0;
24-
int blockSize = this.getMultiBlockSize();
24+
int blockSize = this.getBlockSize();
2525
int len = blockCount * blockSize;
2626
if (in == out && Arrays.segmentsOverlap(inOff, len, outOff, len))
2727
{

0 commit comments

Comments
 (0)