diff --git a/include/libeosio/ec.hpp b/include/libeosio/ec.hpp index 0834f9a..457c179 100644 --- a/include/libeosio/ec.hpp +++ b/include/libeosio/ec.hpp @@ -57,12 +57,22 @@ struct ec_keypair { ec_pubkey_t pub; }; +/** + * Initialize the ec library. + */ +int ec_init(); + /** * Generates a keypair using the secp256k1 curve. * public key is in compressed format. */ int ec_generate_key(struct ec_keypair *pair); +/** + * Shutdown the ec library. + */ +void ec_shutdown(); + } // namespace libeosio