BitShares-Core  4.0.0
BitShares blockchain implementation and command-line interface software
Classes | Namespaces | Functions
elliptic_secp256k1.cpp File Reference
#include <fc/crypto/elliptic.hpp>
#include <fc/crypto/base58.hpp>
#include <fc/crypto/hmac.hpp>
#include <fc/crypto/openssl.hpp>
#include <fc/crypto/sha512.hpp>
#include <fc/fwd_impl.hpp>
#include <fc/exception/exception.hpp>
#include <fc/log/logger.hpp>
#include <assert.h>
#include <secp256k1.h>
#include "_elliptic_impl_priv.hpp"

Go to the source code of this file.

Classes

class  fc::ecc::detail::public_key_impl
 

Namespaces

 fc
 
 fc::ecc
 
 fc::ecc::detail
 

Functions

const secp256k1_context_t * fc::ecc::detail::_get_context ()
 
void fc::ecc::detail::_init_lib ()
 
chr37 fc::ecc::detail::_derive_message (const public_key_data &key, int i)
 
fc::sha256 fc::ecc::detail::_left (const fc::sha512 &v)
 
fc::sha256 fc::ecc::detail::_right (const fc::sha512 &v)
 
const ec_group & fc::ecc::detail::get_curve ()
 
const private_key_secret & fc::ecc::detail::get_curve_order ()
 
const private_key_secret & fc::ecc::detail::get_half_curve_order ()
 
commitment_type fc::ecc::blind (const blind_factor_type &blind, uint64_t value)
 
blind_factor_type fc::ecc::blind_sum (const std::vector< blind_factor_type > &blinds, uint32_t non_neg)
 
bool fc::ecc::verify_sum (const std::vector< commitment_type > &commits, const std::vector< commitment_type > &neg_commits, int64_t excess)
 
bool fc::ecc::verify_range (uint64_t &min_val, uint64_t &max_val, const commitment_type &commit, const range_proof_type &proof)
 
range_proof_type fc::ecc::range_proof_sign (uint64_t min_value, const commitment_type &commit, const blind_factor_type &commit_blind, const blind_factor_type &nonce, int8_t base10_exp, uint8_t min_bits, uint64_t actual_value)
 
bool fc::ecc::verify_range_proof_rewind (blind_factor_type &blind_out, uint64_t &value_out, string &message_out, const blind_factor_type &nonce, uint64_t &min_val, uint64_t &max_val, commitment_type commit, const range_proof_type &proof)
 
range_proof_info fc::ecc::range_get_info (const range_proof_type &proof)