Removed buggy self check

This commit is contained in:
Ben Gräf 2019-01-30 19:10:14 +01:00
parent 965c91040c
commit 25b1e2e223
3 changed files with 3 additions and 10 deletions

View file

@ -652,11 +652,6 @@ bool CryptoNight::selfTest(int algo)
result = result && memcmp(output, test_output_xfh, 64) == 0;
#endif
#if MAX_NUM_HASH_BLOCKS > 2
cryptonight_hash_ctx[2](asmOptimization, PowVariant::POW_XFH, test_input, 76, output, scratchPads);
result = result && memcmp(output, test_output_xfh, 96) == 0;
#endif
// cnv8 + xtl aka cn-fast2
cryptonight_hash_ctx[0](asmOptimization, PowVariant::POW_FAST_2, test_input, 76, output, scratchPads);

View file

@ -117,13 +117,11 @@ const static uint8_t test_output_alloy[32] = {
};
// CN XFH
const static uint8_t test_output_xfh[96] = {
const static uint8_t test_output_xfh[64] = {
0x40, 0x86, 0x5A, 0xA8, 0x87, 0x41, 0xEC, 0x1D, 0xCC, 0xBD, 0x2B, 0xC6, 0xFF, 0x36, 0xB9, 0x4D,
0x54, 0x71, 0x58, 0xDB, 0x94, 0x69, 0x8E, 0x3C, 0xA0, 0x3D, 0xE4, 0x81, 0x9A, 0x65, 0x9F, 0xEF,
0x52, 0x97, 0x35, 0x9E, 0xF7, 0x62, 0x9B, 0x1A, 0x9A, 0x9F, 0xE5, 0x0E, 0x50, 0x5F, 0xE6, 0xFB,
0xA4, 0xCF, 0x30, 0x47, 0xF7, 0xFE, 0x68, 0x4F, 0x7C, 0x87, 0x6A, 0xA6, 0x60, 0x3E, 0xD5, 0x3E,
0xCC, 0x30, 0xE5, 0xAB, 0xF3, 0x6A, 0x25, 0xB1, 0xD8, 0x89, 0xB8, 0x87, 0xE3, 0x61, 0x1D, 0x1E,
0xD5, 0x3D, 0x5D, 0x38, 0x29, 0x0F, 0x88, 0xDA, 0xE1, 0x69, 0x12, 0x4F, 0xA2, 0x4F, 0x24, 0x04
0xA4, 0xCF, 0x30, 0x47, 0xF7, 0xFE, 0x68, 0x4F, 0x7C, 0x87, 0x6A, 0xA6, 0x60, 0x3E, 0xD5, 0x3E
};
// CN XTL V9

View file

@ -36,7 +36,7 @@
#define APP_DESC "XMRigCC CPU miner"
#define APP_COPYRIGHT "Copyright (C) 2017- BenDr0id"
#endif
#define APP_VERSION "1.8.12 (based on XMRig)"
#define APP_VERSION "1.8.12b (based on XMRig)"
#define APP_DOMAIN ""
#define APP_SITE "https://github.com/Bendr0id/xmrigCC"
#define APP_KIND "cpu"