Remove BINK.h dependency on header.h

This commit is contained in:
Andrew
2023-06-01 19:24:07 +03:00
parent 814b8e48fb
commit 62e2e37373
4 changed files with 25 additions and 27 deletions

View File

@@ -14,11 +14,28 @@ with open('bink.h', 'w') as out:
#ifndef WINDOWSXPKG_BINK_H
#define WINDOWSXPKG_BINK_H
#include "header.h"
std::unordered_map<std::string, std::unordered_map<int, std::string>> Products;
std::unordered_map<std::string, ECDLP_Params> BINKData;
struct ECDLP_Params {
// p, a, b
std::tuple<std::string, std::string, std::string> E;
// x, y
std::tuple<std::string, std::string> K;
// x, y
std::tuple<std::string, std::string> G;
std::string n;
std::string k;
};
struct ProductID {
uint8_t SiteID;
uint16_t Serial;
};
void initBink() {
''')