|
|
|
@ -100,7 +100,7 @@ public class DecryptingPartInputStream extends FileInputStream {
|
|
|
|
|
private int readFinal(byte[] buffer, int offset, int length) throws IOException {
|
|
|
|
|
try {
|
|
|
|
|
int flourish = cipher.doFinal(buffer, offset);
|
|
|
|
|
// mac.update(buffer, offset, flourish);
|
|
|
|
|
//mac.update(buffer, offset, flourish);
|
|
|
|
|
|
|
|
|
|
byte[] ourMac = mac.doFinal();
|
|
|
|
|
byte[] theirMac = new byte[mac.getMacLength()];
|
|
|
|
|