[*] Fix stupid link error
This commit is contained in:
parent
c93d6033a5
commit
4675be4d78
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user