-
Notifications
You must be signed in to change notification settings - Fork 397
Closed
Labels
Description
src/utility/ec_keys.cpp: In function ‘libbitcoin::ec_point libbitcoin::secret_to_public_key(const ec_secret&, bool)’:
src/utility/ec_keys.cpp:70:23: error: ‘secp256k1_ecdsa_pubkey_create’ was not declared in this scope
compressed))
^
src/utility/ec_keys.cpp: In function ‘bool libbitcoin::verify_public_key(const ec_point&)’:
src/utility/ec_keys.cpp:79:78: error: ‘secp256k1_ecdsa_pubkey_verify’ was not declared in this scope
return secp256k1_ecdsa_pubkey_verify(public_key.data(), public_key.size())
^
src/utility/ec_keys.cpp: In function ‘bool libbitcoin::verify_private_key(const ec_secret&)’:
src/utility/ec_keys.cpp:95:60: error: ‘secp256k1_ecdsa_seckey_verify’ was not declared in this scope
return secp256k1_ecdsa_seckey_verify(private_key.data()) == 1;
^
src/utility/ec_keys.cpp: In function ‘bool libbitcoin::ec_add(libbitcoin::ec_point&, const ec_secret&)’:
src/utility/ec_keys.cpp:131:73: error: ‘secp256k1_ecdsa_pubkey_tweak_add’ was not declared in this scope
return secp256k1_ecdsa_pubkey_tweak_add(a.data(), a.size(), b.data()) == 1;
^
src/utility/ec_keys.cpp: In function ‘bool libbitcoin::ec_add(libbitcoin::ec_secret&, const ec_secret&)’:
src/utility/ec_keys.cpp:137:64: error: ‘secp256k1_ecdsa_privkey_tweak_add’ was not declared in this scope
return secp256k1_ecdsa_privkey_tweak_add(a.data(), b.data()) == 1;
^
src/utility/ec_keys.cpp: In function ‘bool libbitcoin::ec_multiply(libbitcoin::ec_point&, const ec_secret&)’:
src/utility/ec_keys.cpp:143:73: error: ‘secp256k1_ecdsa_pubkey_tweak_mul’ was not declared in this scope
return secp256k1_ecdsa_pubkey_tweak_mul(a.data(), a.size(), b.data()) == 1;
^
src/utility/ec_keys.cpp: In function ‘bool libbitcoin::ec_multiply(libbitcoin::ec_secret&, const ec_secret&)’:
src/utility/ec_keys.cpp:149:64: error: ‘secp256k1_ecdsa_privkey_tweak_mul’ was not declared in this scope
return secp256k1_ecdsa_privkey_tweak_mul(a.data(), b.data()) == 1;
^
src/utility/ec_keys.cpp: In function ‘bool libbitcoin::verify_public_key(const ec_point&)’:
src/utility/ec_keys.cpp:81:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
src/utility/ec_keys.cpp: In function ‘bool libbitcoin::verify_private_key(const ec_secret&)’:
src/utility/ec_keys.cpp:96:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
src/utility/ec_keys.cpp: In function ‘bool libbitcoin::ec_add(libbitcoin::ec_point&, const ec_secret&)’:
src/utility/ec_keys.cpp:132:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
src/utility/ec_keys.cpp: In function ‘bool libbitcoin::ec_add(libbitcoin::ec_secret&, const ec_secret&)’:
src/utility/ec_keys.cpp:138:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
src/utility/ec_keys.cpp: In function ‘bool libbitcoin::ec_multiply(libbitcoin::ec_point&, const ec_secret&)’:
src/utility/ec_keys.cpp:144:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
src/utility/ec_keys.cpp: In function ‘bool libbitcoin::ec_multiply(libbitcoin::ec_secret&, const ec_secret&)’:
src/utility/ec_keys.cpp:150:1: warning: control reaches end of non-void function [-Wreturn-type]
}