bugfix, if the parameter inOff is not zero, it can not be decrypted successully
@@ -164,7 +164,7 @@ protected ECMultiplier createBasePointMultiplier()
int check = 0;
for (int i = 0; i != c3.length; i++)
{
- check |= c3[i] ^ in[c1.length + c2.length + i];
+ check |= c3[i] ^ in[inOff + c1.length + c2.length + i];
}
Arrays.fill(c1, (byte)0);
