2018-10-07 03:37:09 +00:00
|
|
|
#pragma once
|
2017-01-03 10:32:39 +00:00
|
|
|
#include "athena/Types.hpp"
|
|
|
|
|
2018-12-08 05:18:17 +00:00
|
|
|
namespace ecc {
|
2017-01-03 10:32:39 +00:00
|
|
|
void checkEC(atUint8* ng, atUint8* ap, atUint8* sig, atUint8* sigHash, bool& apValid, bool& ngValid);
|
|
|
|
void makeECCert(atUint8* cert, atUint8* sig, const char* signer, const char* name, atUint8* priv, atUint32 keyId);
|
|
|
|
void createECDSA(atUint8* R, atUint8* S, atUint8* k, atUint8* hash);
|
2018-12-08 05:18:17 +00:00
|
|
|
} // namespace ecc
|