[*] Fix stupid link error

This commit is contained in:
Reece Wilson 2022-06-07 05:29:32 +01:00
parent c93d6033a5
commit 4675be4d78

View File

@ -148,7 +148,7 @@ namespace Aurora::Crypto::ECC
} }
} }
AUKN_SYM IECCPrivate *NewECC(EECCCurve curve) AUKN_SYM IECCPrivate *NewECCNew(EECCCurve curve)
{ {
switch (curve) switch (curve)
{ {
@ -161,7 +161,7 @@ namespace Aurora::Crypto::ECC
} }
} }
AUKN_SYM IECCPrivate *OpenPrivateECC(const AuMemoryViewRead &pk) AUKN_SYM IECCPrivate *OpenPrivateECCNew(const AuMemoryViewRead &pk)
{ {
auto type = GetEdECCCurveType(pk.ptr, pk.length); auto type = GetEdECCCurveType(pk.ptr, pk.length);
if (type != EECCCurve::eEnumInvalid) if (type != EECCCurve::eEnumInvalid)
@ -185,7 +185,7 @@ namespace Aurora::Crypto::ECC
return {}; return {};
} }
AUKN_SYM IECCPublic *OpenPublicECC(const AuMemoryViewRead &pk) AUKN_SYM IECCPublic *OpenPublicECCNew(const AuMemoryViewRead &pk)
{ {
auto type = GetEdECCCurveType(pk.ptr, pk.length); auto type = GetEdECCCurveType(pk.ptr, pk.length);
if (type != EECCCurve::eEnumInvalid) if (type != EECCCurve::eEnumInvalid)
@ -209,7 +209,7 @@ namespace Aurora::Crypto::ECC
return {}; return {};
} }
AUKN_SYM IECCPublic *OpenPublicECCFromCert(const AuMemoryViewRead &certificate) AUKN_SYM IECCPublic *OpenPublicECCFromCertNew(const AuMemoryViewRead &certificate)
{ {
auto type = GetEdECCCurveType(certificate.ptr, certificate.length); auto type = GetEdECCCurveType(certificate.ptr, certificate.length);
if (type != EECCCurve::eEnumInvalid) if (type != EECCCurve::eEnumInvalid)