Support for Cryptonight variant 4 (Monero)

This commit is contained in:
SChernykh
2019-02-17 18:17:14 +01:00
parent cf4d900d4f
commit 4e24ccdb2b
28 changed files with 2610 additions and 253 deletions

View File

@@ -60,6 +60,10 @@ bool MultiWorker<N>::selfTest()
LOG_WARN("CryptonightR (Wownero) self-test failed");
return false;
}
if (!verify2(VARIANT_4, test_input_R)) {
LOG_WARN("CryptonightR self-test failed");
return false;
}
const bool rc = verify(VARIANT_0, test_output_v0) &&
verify(VARIANT_1, test_output_v1) &&