mirror of
https://github.com/DarkStore-3DS/Project_CTR.git
synced 2026-07-05 16:59:02 +00:00
Move dependencies to the top level.
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
#pragma once
|
||||
#include "ITestClass.h"
|
||||
|
||||
#include <vector>
|
||||
#include <tc/ByteData.h>
|
||||
|
||||
class crypto_Aes192CbcEncryptor_TestClass : public ITestClass
|
||||
{
|
||||
public:
|
||||
void runAllTests();
|
||||
private:
|
||||
void test_Constants();
|
||||
void test_UseClassEnc();
|
||||
void test_UseClassDec();
|
||||
void test_UseUtilFuncEnc();
|
||||
void test_UseUtilFuncDec();
|
||||
|
||||
void test_DoesNothingWhenNotInit();
|
||||
void test_InitializeThrowsExceptionOnBadInput();
|
||||
void test_EncryptThrowsExceptionOnBadInput();
|
||||
void test_DecryptThrowsExceptionOnBadInput();
|
||||
|
||||
struct TestCase
|
||||
{
|
||||
std::string test_name;
|
||||
tc::ByteData key;
|
||||
tc::ByteData iv;
|
||||
tc::ByteData plaintext;
|
||||
tc::ByteData ciphertext;
|
||||
};
|
||||
|
||||
void util_Setup_TestCases(std::vector<crypto_Aes192CbcEncryptor_TestClass::TestCase>& test_cases);
|
||||
};
|
||||
Reference in New Issue
Block a user