diff --git a/circuits/cpp/barretenberg/cpp/src/barretenberg/crypto/ecdsa/ecdsa.hpp b/circuits/cpp/barretenberg/cpp/src/barretenberg/crypto/ecdsa/ecdsa.hpp index 8264ed985f2..bc2a6dafe17 100644 --- a/circuits/cpp/barretenberg/cpp/src/barretenberg/crypto/ecdsa/ecdsa.hpp +++ b/circuits/cpp/barretenberg/cpp/src/barretenberg/crypto/ecdsa/ecdsa.hpp @@ -31,6 +31,7 @@ signature construct_signature(const std::string& message, const key_pair template typename G1::affine_element recover_public_key(const std::string& message, const signature& sig); +// TODO(https://github.com/AztecProtocol/barretenberg/issues/659) template bool verify_signature(const auto& message, const typename G1::affine_element& public_key, diff --git a/circuits/cpp/barretenberg/cpp/src/barretenberg/crypto/schnorr/schnorr.tcc b/circuits/cpp/barretenberg/cpp/src/barretenberg/crypto/schnorr/schnorr.tcc index b2fdd18ea30..b805de33204 100644 --- a/circuits/cpp/barretenberg/cpp/src/barretenberg/crypto/schnorr/schnorr.tcc +++ b/circuits/cpp/barretenberg/cpp/src/barretenberg/crypto/schnorr/schnorr.tcc @@ -24,7 +24,8 @@ namespace schnorr { * * @tparam Hash the hash-function used as random-oracle * @tparam G1 Group over which the signature is produced - * @param message what are we signing over? // WORKTODO: this was only audited for std::string. + * @todo TODO(https://github.com/AztecProtocol/barretenberg/issues/659) + * @param message what are we signing over? * @param pubkey the pubkey of the signer * @param R the nonce * @return e = H(pedersen(R.x || pubkey.x || pubkey.y), message) as a 256-bit integer,