From 0f43835f17dae7745a4b467157b844f0892855dd Mon Sep 17 00:00:00 2001 From: sowle Date: Tue, 13 Feb 2024 12:18:08 +0100 Subject: [PATCH] crypto: default template argument for generate/verify_schnorr_sig --- src/crypto/zarcanum.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;