1
0
Fork 0
mirror of https://github.com/eosswedenorg/antelope-keygen synced 2026-06-18 04:00:03 +02:00

Adding "eoskeygen" namespace.

This commit is contained in:
Henrik Hautakoski 2020-02-10 16:58:08 +01:00
parent 20a47d11b5
commit 0e9d23086f
22 changed files with 95 additions and 11 deletions

View file

@ -26,6 +26,8 @@
#include <openssl/hmac.h>
#include "generate.h"
namespace eoskeygen {
static int ec_generate_pair(unsigned char *priv, unsigned char *pub) {
int ret = -1;
@ -69,3 +71,5 @@ int ec_generate_key(struct ec_keypair *pair) {
return ec_generate_pair(pair->secret.data(), pair->pub.data());
}
} // namespace eoskeygen