Move dependencies to the top level.

This commit is contained in:
jakcron
2022-04-16 18:27:14 +08:00
parent b67980d3d2
commit 5d62e839e7
844 changed files with 74 additions and 114431 deletions
@@ -0,0 +1,34 @@
#pragma once
#include "ITestClass.h"
#include <vector>
#include <tc/ByteData.h>
class crypto_HmacSha1Generator_TestClass : public ITestClass
{
public:
void runAllTests();
private:
void test_Constants();
void test_SingleUpdateCall();
void test_MultiUpdateCall();
void test_UtilFunc();
void test_NoInitNoUpdateDoMac();
void test_NoInitDoUpdateDoMac();
void test_DoInitNoUpdateDoMac();
void test_DoInitNoKeyDoUpdateDoMac();
void test_DoInitNoKeyNoUpdateDoMac();
void test_CallGetMacRepeatedly();
struct TestCase
{
std::string test_name;
tc::ByteData in_data;
tc::ByteData in_key;
tc::ByteData out_mac;
};
void util_Setup_Rfc2202_TestCases(std::vector<crypto_HmacSha1Generator_TestClass::TestCase>& test_cases);
};