diff --git a/src/crypto/zarcanum.h b/src/crypto/zarcanum.h index e78e5261..014ff0f5 100644 --- a/src/crypto/zarcanum.h +++ b/src/crypto/zarcanum.h @@ -84,7 +84,7 @@ namespace crypto scalar_t y; }; - template + template inline bool generate_schnorr_sig(const hash& m, const point_t& A, const scalar_t& secret_a, generic_schnorr_sig& result); template<> @@ -123,7 +123,7 @@ namespace crypto return true; } - template + template inline bool verify_schnorr_sig(const hash& m, const public_key& A, const generic_schnorr_sig& sig) noexcept; // TODO @#@# make optimized version inline bool verify_schnorr_sig(const hash& m, const point_t& A, const generic_schnorr_sig& sig) noexcept;