AuroraRuntime/Include/Aurora/Crypto/ECC/ECC.hpp
2021-09-21 02:54:47 +01:00

20 lines
592 B
C++

/***
Copyright (C) 2021 J Reece Wilson (a/k/a "Reece"). All rights reserved.
File: ECC.hpp
Date: 2021-7-1
Author: Reece
***/
#pragma once
#include "EECCCurve.hpp"
#include "IECCPublic.hpp"
#include "IECCPrivate.hpp"
namespace Aurora::Crypto::ECC
{
AUKN_SHARED_API(NewECC, IECCPrivate, EECCCurve curve);
AUKN_SHARED_API(OpenPrivateECC, IECCPrivate, const Memory::MemoryViewRead &pk);
AUKN_SHARED_API(OpenPublicECC, IECCPublic, const Memory::MemoryViewRead &pk);
AUKN_SHARED_API(OpenPublicECCFromCert, IECCPublic, const Memory::MemoryViewRead &certificate);
}