mirror of
https://github.com/xtexChooser/WindowsXPKg.git
synced 2024-09-29 18:17:53 +00:00
Include "bink.h", update BINK.h generation script
This commit is contained in:
parent
5bf1da663a
commit
bd11fb5eed
2 changed files with 5 additions and 4 deletions
|
@ -14,7 +14,7 @@ with open('bink.h', 'w') as out:
|
|||
#ifndef WINDOWSXPKG_BINK_H
|
||||
#define WINDOWSXPKG_BINK_H
|
||||
|
||||
#include "shared.h"
|
||||
#include "header.h"
|
||||
|
||||
std::unordered_map<std::string, std::unordered_map<int, std::string>> Products;
|
||||
std::unordered_map<std::string, ECDLP_Params> BINKData;
|
||||
|
@ -39,8 +39,8 @@ void initBink() {
|
|||
'{"' + d['g']['x'] + '", "' + d['g']['y'] + '"}, ' +
|
||||
'"' + d['n'] + '", "' + d['priv'] + '"};' + "\n")
|
||||
|
||||
out.write("""
|
||||
out.write('''
|
||||
}
|
||||
|
||||
#endif //WINDOWSXPKG_BINK_H
|
||||
""")
|
||||
''')
|
||||
|
|
3
header.h
3
header.h
|
@ -6,7 +6,6 @@
|
|||
#define WINDOWSXPKG_HEADER_H
|
||||
|
||||
#include <cassert>
|
||||
#include <cstdio>
|
||||
#include <cstdint>
|
||||
#include <cstdlib>
|
||||
#include <cstring>
|
||||
|
@ -20,6 +19,8 @@
|
|||
#include <openssl/sha.h>
|
||||
#include <openssl/rand.h>
|
||||
|
||||
#include "bink.h"
|
||||
|
||||
#define PK_LENGTH 25
|
||||
#define NULL_TERMINATOR 1
|
||||
|
||||
|
|
Loading…
Reference in a new issue