athena/include/ec.h

11 lines
327 B
C
Raw Normal View History

2013-02-16 04:22:16 +00:00
#ifndef EC_H
#define EC_H
2014-04-20 09:14:15 +00:00
#include "Athena/Types.hpp"
2013-02-16 04:22:16 +00:00
2015-05-19 03:24:56 +00:00
bool check_ec(atUint8* ng, atUint8* ap, atUint8* sig, atUint8* sig_hash);
void make_ec_cert(atUint8* cert, atUint8* sig, char* signer, char* name, atUint8* priv, atUint32 key_id);
void generate_ecdsa(atUint8* R, atUint8* S, atUint8* k, atUint8* hash);
2013-02-16 04:22:16 +00:00
#endif // EC_H