6 #ifndef KAGOME_CRYPTO_SECP256K1_PROVIDER_IMPL_HPP 7 #define KAGOME_CRYPTO_SECP256K1_PROVIDER_IMPL_HPP 29 outcome::result<secp256k1::UncompressedPublicKey>
30 recoverPublickeyUncompressed(
34 outcome::result<secp256k1::CompressedPublicKey> recoverPublickeyCompressed(
39 outcome::result<secp256k1_pubkey> recoverPublickey(
43 std::unique_ptr<secp256k1_context, void (*)(secp256k1_context *)>
context_;
49 #endif // KAGOME_CRYPTO_SECP256K1_PROVIDER_IMPL_HPP
OUTCOME_HPP_DECLARE_ERROR(kagome::crypto, Secp256k1ProviderError)
std::unique_ptr< secp256k1_context, void(*)(secp256k1_context *)> context_