I am having some troubles understanding the power of an adversary in attack against a MAC.
- In chapter 4 in Introduction of Modern Cryptography by Jonathan Katz and Yehuda Lindell, specifically in the message authentication experiment ($Mac-forge_{A,\Pi}(n)$), an adversary $A$ is given access to MAC oracle $Mac_k(\cdot)$ where $k$ is previously generated by $Gen$. So my question is: Is it right that $A$ can only access to $Mac(\cdot)$ with a fixed key $k$? Can $A$ access to $Mac(\cdot)$ with a different key $k'$ in a same experiment?
- In the paper The Power of Verification Queries in Message Authentication and Authenticated Encryption, specifically in Claim 4.2, it is stated that adversary $A$ simply runs algorithm $Mac(\cdot)$ with key $L$ and message $M$ (where $L$ is a key forged by $A$). I do not understand this part.
Question: How does $A$ run the algorithm if it is not a $Mac$ query? If possible, could you please provide an example in reality?