mac.update(input1, 0, input1.length);
byte[] out = new byte[4];
mac.doFinal(out, 0);
if (!arraysEqual(out, output1))
{
return new SimpleTestResult(false, getName() + ": Failed - expected " + new String(Hex.encode(output1)) + " got " + new String(Hex.encode(out)));
}