20 lines
592 B
C++
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);
|
|
} |