add confirmation ID generator, fix server.cpp (#14)

* add confirmation ID generator, fix server.cpp

* made an oopsie

* Update README.md

* Remove unused platform-dependent code
This commit is contained in:
WitherOrNot
2023-06-03 10:14:11 -04:00
committed by GitHub
parent 728bf2a781
commit e9a10e2882
5 changed files with 859 additions and 4 deletions

View File

@@ -352,8 +352,8 @@ int main()
prefix[0] &= 0x3ff;
do {
generate2003(pkey, ec, g, n, priv, osfamily, prefix);
} while (!verify2003(ec, g, pub, pkey));
generateServerKey(pkey, ec, g, n, priv, osfamily, prefix);
} while (!verifyServerKey(ec, g, pub, pkey));
print_product_key(pkey);
std::cout << std::endl << std::endl;