refactor: cryptography component

This commit is contained in:
Jan
2025-04-25 21:26:44 +01:00
committed by Jan Laupetin
parent 60f5c1a18f
commit 5635470b6e
63 changed files with 550 additions and 723 deletions

View File

@ -1,8 +1,8 @@
#include "JsonMaterialLoader.h"
#include "Base64.h"
#include "Game/IW5/CommonIW5.h"
#include "Game/IW5/Material/JsonMaterial.h"
#include "Impl/Base64.h"
#include <format>
#include <iostream>

View File

@ -1,6 +1,6 @@
#include "SoundBankWriter.h"
#include "Crypto.h"
#include "Cryptography.h"
#include "ObjContainer/SoundBank/SoundBankTypes.h"
#include "Sound/FlacDecoder.h"
#include "Sound/WavTypes.h"
@ -251,7 +251,7 @@ public:
SoundAssetBankChecksum checksum{};
const auto md5Crypt = Crypto::CreateMD5();
const auto md5Crypt = cryptography::CreateMd5();
md5Crypt->Process(soundData.get(), soundSize);
md5Crypt->Finish(checksum.checksumBytes);

View File

@ -1,6 +1,6 @@
#include "GltfBuffer.h"
#include "Impl/Base64.h"
#include "Base64.h"
#include "XModel/Gltf/GltfConstants.h"
#include <cassert>