athena/include/ec.h

11 lines
317 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
bool check_ec ( Uint8 *ng, Uint8 *ap, Uint8 *sig, Uint8 *sig_hash );
void make_ec_cert ( Uint8 *cert, Uint8 *sig, char *signer, char *name, Uint8 *priv, Uint32 key_id );
void generate_ecdsa( Uint8 *R, Uint8 *S, Uint8 *k, Uint8 *hash );
#endif // EC_H