Add source code for ctrtool

This commit is contained in:
jakcron
2022-03-12 16:00:33 +08:00
parent 6ad2f13c50
commit 800f5776bc
681 changed files with 219734 additions and 0 deletions
@@ -0,0 +1,22 @@
#pragma once
#include "ITestClass.h"
#include <vector>
#include <tc/ByteData.h>
class crypto_Rsa1024Pkcs1Sha256Signer_TestClass : public ITestClass
{
public:
void runAllTests();
private:
void test_Constants();
void test_UseClassSign();
void test_UseClassVerify();
void test_UseUtilFuncSign();
void test_UseUtilFuncVerify();
void test_DoesNothingWhenNotInit();
void test_InitializeThrowsExceptionOnBadInput();
void test_SignReturnsFalseOnBadInput();
void test_VerifyReturnsFalseOnBadInput();
};