# Security proof. Adversary source of random coins.

Consider the game-based security proofs, i.e. a game played between the challenger and a PPT adversary.

My question is... what is the source of random coins for the adversary? Is is valid to say that the challenger provides the coins to the adversary?

"If" the challenger is the one giving the coins to the adversary, then I assume it will be possible for the challenger to initialize the adversary on the "same" coins and expect a deterministic behaviour.

If someone has a link for further explanation it would be really healpul. Thanks a lot.

It certainly wouldn't make sense for the challenger to provide the coins. If you are working with non-uniform adversaries, then you can assume that the adversary is deterministic. This is due to the fact that $BPP \subset P/poly$. Intuitively, a non-uniform adversary can receive as "advice" the best random coins that maximize its probability of winning the game. However, if you are working with uniform adversaries, then you cannot assume that the adversary is deterministic.