From 352c2f3efe92917f0b33b5c1a6b83a26bc4fc181 Mon Sep 17 00:00:00 2001 From: Prabhjot Date: Thu, 8 Aug 2019 08:20:58 -0400 Subject: [PATCH] Removed blind_sign and unblind_signature functions --- libraries/app/api.cpp | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/libraries/app/api.cpp b/libraries/app/api.cpp index 4d4f4dec..a6db2008 100644 --- a/libraries/app/api.cpp +++ b/libraries/app/api.cpp @@ -681,20 +681,6 @@ namespace graphene { namespace app { crypto_api::crypto_api(){}; - blind_signature crypto_api::blind_sign( const extended_private_key_type& key, const blinded_hash& hash, int i ) - { - return fc::ecc::extended_private_key( key ).blind_sign( hash, i ); - } - - signature_type crypto_api::unblind_signature( const extended_private_key_type& key, - const extended_public_key_type& bob, - const blind_signature& sig, - const fc::sha256& hash, - int i ) - { - return fc::ecc::extended_private_key( key ).unblind_signature( extended_public_key( bob ), sig, hash, i ); - } - commitment_type crypto_api::blind( const blind_factor_type& blind, uint64_t value ) { return fc::ecc::blind( blind, value );