athena/include/ec.hpp

9 lines
363 B
C++
Raw Permalink Normal View History

2018-10-07 03:37:09 +00:00
#pragma once
#include "athena/Types.hpp"
2018-12-08 05:18:17 +00:00
namespace ecc {
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