Add secure m2p loader with runtime key enforcement
Some checks failed
build / Windows Build (push) Has been cancelled
Some checks failed
build / Windows Build (push) Has been cancelled
This commit is contained in:
13
src/PackLib/M2PackRuntimeKeyProvider.h
Normal file
13
src/PackLib/M2PackRuntimeKeyProvider.h
Normal file
@@ -0,0 +1,13 @@
|
||||
#pragma once
|
||||
|
||||
#include <array>
|
||||
|
||||
#include "M2Pack.h"
|
||||
|
||||
bool InitializeM2PackRuntimeKeyProvider(const char* commandLine);
|
||||
const std::array<uint8_t, M2PACK_KEY_SIZE>& GetM2PackActiveMasterKey();
|
||||
const std::array<uint8_t, M2PACK_PUBLIC_KEY_SIZE>& GetM2PackActivePublicKey();
|
||||
bool HasM2PackRuntimeMasterKey();
|
||||
bool HasM2PackRuntimeKeysForArchiveLoad();
|
||||
bool IsM2PackUsingRuntimeMasterKey();
|
||||
bool IsM2PackUsingRuntimePublicKey();
|
||||
Reference in New Issue
Block a user