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
+18
View File
@@ -0,0 +1,18 @@
#pragma once
#include <bitset>
#include <tc/types.h>
#include <brd/es/es_sign.h>
namespace ntd { namespace n3ds { namespace es {
class ISigner
{
public:
virtual ~ISigner() = default;
virtual const std::string& getIssuer() = 0;
virtual brd::es::ESSigType getSigType() = 0;
virtual bool signHash(const byte_t* hash, byte_t* signature) = 0;
virtual bool verifyHash(const byte_t* hash, const byte_t* signature) = 0;
};
}}} // namespace ntd::n3ds::es