remove bink generation script

add runtime json parsing
add cmake.cpm
update cmake to reflect this
fix compilation errors

** breaks 2k3 key generation, work in progress
This commit is contained in:
Neo
2023-06-01 10:55:36 -07:00
parent 1f30ff762d
commit 96639bbaf7
7 changed files with 65 additions and 90 deletions

View File

@@ -10,17 +10,18 @@
#include <cstdlib>
#include <cstring>
#include <ctime>
#include <fstream>
#include <string>
#include <vector>
#include <unordered_map>
#include <nlohmann/json.hpp>
#include <openssl/bn.h>
#include <openssl/ec.h>
#include <openssl/sha.h>
#include <openssl/rand.h>
#include "bink.h"
#define PK_LENGTH 25
#define NULL_TERMINATOR 1
@@ -38,7 +39,7 @@ extern char charset[];
void endian(byte *data, int length);
// key.cpp
void unbase24(ul32 *byteSeq, char *cdKey);
void unbase24(ul32 *byteSeq, const char *cdKey);
void base24(char *cdKey, ul32 *byteSeq);
// cli.cpp