@@ -188,9 +188,9 @@ type Verifier interface {
188188 // FixedBlind initializes the partially blind RSA protocol using an input message, metadata, and randomness values.
189189 FixedBlind (message , metadata , salt , blind , blindInv []byte ) ([]byte , VerifierState , error )
190190
191- // Verify verifies the input (message, signature) pair using the augmented public key
192- // and produces an error upon failure.
193- Verify (message , signature , metadata []byte ) error
191+ // Verify verifies the input (message, metadata, signature) triple using the public
192+ // key augmented with metadata, and produces an error upon failure.
193+ Verify (message , metadata , signature []byte ) error
194194
195195 // Hash returns the hash function associated with the Verifier.
196196 Hash () hash.Hash
@@ -236,8 +236,8 @@ func (v randomizedVerifier) FixedBlind(message, metadata, salt, blind, blindInv
236236 return fixedPartiallyBlind (inputMsg , salt , r , rInv , metadataKey , v .hash )
237237}
238238
239- // Verify verifies the input (message, signature) pair using the augmented public key
240- // and produces an error upon failure.
239+ // Verify verifies the input (message, metadata, signature) triple using the public key
240+ // augmented with metadata, and produces an error upon failure.
241241//
242242// See the specification for more details:
243243// https://datatracker.ietf.org/doc/html/draft-amjad-cfrg-partially-blind-rsa-00#name-verification-2
0 commit comments