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:
parent
20a47d11b5
commit
0e9d23086f
22 changed files with 95 additions and 11 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue