Use a different set of round keys for AesGenerator4R

Redefined all AES constants using simpler rules
This commit is contained in:
tevador
2019-05-29 11:33:14 +02:00
parent 8a69efeeae
commit d40d1c149a
3 changed files with 60 additions and 43 deletions
+1 -1
View File
@@ -241,7 +241,7 @@ int main(int argc, char** argv) {
std::cout << "Calculated result: ";
result.print(std::cout);
if (noncesCount == 1000 && seedValue == 0)
std::cout << "Reference result: 2599bd6d913b0eadef37857c498d44a24fa6bdd02c20deff8c837f9e5bb25e56" << std::endl;
std::cout << "Reference result: 669ae4f2e5e2c0d9cc232ff2c37d41ae113fa302bbf983d9f3342879831b4edf" << std::endl;
if (!miningMode) {
std::cout << "Performance: " << 1000 * elapsed / noncesCount << " ms per hash" << std::endl;
}