mirror of
https://github.com/DarkStore-3DS/Project_CTR.git
synced 2026-07-05 00:39:04 +00:00
Move dependencies to the top level.
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
#pragma once
|
||||
#include "ITestClass.h"
|
||||
|
||||
#include <vector>
|
||||
#include <tc/ByteData.h>
|
||||
|
||||
class crypto_HmacSha512Generator_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_Rfc4231_TestCases(std::vector<crypto_HmacSha512Generator_TestClass::TestCase>& test_cases);
|
||||
};
|
||||
Reference in New Issue
Block a user