// subLength can't be more than 0x40
if (subLength > 0x40)
subLength = 0x40;
// Copy this part of the hashdata into the int array
ByteFromIntArray bfia = new ByteFromIntArray(true);
for (int j = 0; j < subLength; j++) {
bfia.insertByte(hashBuffer, j + (4 * 5), hashData[j + i]);
}
// If we don't reach the end of the buffer, pad it
if (subLength < 0x40) {
for (int j = subLength; j < 0x40; j++)
bfia.insertByte(hashBuffer, j + (4 * 5), (byte) 0);
}
doHash(hashBuffer);
}