Open GoogleCodeExporter opened 8 years ago
Looks like it is related to partial blocks, to reproduce add to SkeinTesting:
byte[] result256_2 = {
0x0B, 0x98, 0xDC, 0xD1, 0x98, 0xEA, 0x0E, 0x50,
0xA7, 0xA2, 0x44, 0xC4, 0x44, 0xE2, 0x5C, 0x23,
0xDA, 0x30, 0xC1, 0x0F, 0xC9, 0xA1, 0xF2, 0x70,
0xA6, 0x63, 0x7F, 0x1F, 0x34, 0xE6, 0x7E, 0xD2
};
hash = skein256.ComputeHash(new byte[] { 0xFF });
for (i = 0; i < result256_2.Length; i++)
if (hash[i] != result256_2[i]) return false;
Original comment by steppenw...@yahoo.com
on 6 Apr 2015 at 5:39
I managed to fix this problem by calling Initialize(); at the bottom of the
Skein class constructor, seems to work properly and passes all of KATs from the
documentation now.
Original comment by steppenw...@yahoo.com
on 6 Apr 2015 at 9:41
Original issue reported on code.google.com by
steppenw...@yahoo.com
on 6 Apr 2015 at 4:50