Add unit tests for Utils::toHex

This commit is contained in:
Michael Lynch
2025-10-12 11:11:05 -04:00
parent 9a1be5386d
commit 5e03c00397
7 changed files with 147 additions and 0 deletions

13
test/mocks/AES.h Normal file
View File

@@ -0,0 +1,13 @@
#pragma once
#include <stdint.h>
#include <stddef.h>
// Mock AES128 class for testing
// Provides minimal interface to allow Utils.cpp to compile
class AES128 {
public:
void setKey(const uint8_t* key, size_t keySize) {}
void encryptBlock(uint8_t* output, const uint8_t* input) {}
void decryptBlock(uint8_t* output, const uint8_t* input) {}
};