31 #ifndef LEDGER_CORE_SECP256K1POINT_HPP 32 #define LEDGER_CORE_SECP256K1POINT_HPP 34 #include <include/secp256k1.h> 35 #include "../math/BigInt.h" 44 SECP256k1Point generatorMultiply(
const std::vector<uint8_t>& n)
const;
46 std::vector<uint8_t> toByteArray(
bool compressed =
true)
const;
48 bool isAtInfinity()
const;
52 void ensurePubkeyIsNotNull()
const;
55 secp256k1_context* _context;
56 secp256k1_pubkey* _pubKey;
62 #endif //LEDGER_CORE_SECP256K1POINT_HPP Definition: SECP256k1Point.hpp:40
Definition: Account.cpp:8