1
$\begingroup$

A message accompanied with a digital signature and a MAC.

are there any possibility to know that the digital signature and the MAC are generated from the same message?

$\endgroup$

1 Answer 1

1
$\begingroup$

You have the message, so verify the signature and mac against the message, if both are valid, then they must be generated from the message (except for a negligible probability).

For signature, you need the public key, which is assumed to be public and freely available, so verifying the signature is usually not a problem.

For the MAC, since it is symmetric key based, if you have the key, then it is fine. But if you don't have the key, then you won't be able to verify. In the latter case, it would be difficult to decide the relationship between the message and the MAC, unless the sender provides e.g. a zero-knowledge proof asserting the MAC was correctly generated from the message.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.