I presented our mathematician with an idea:
If you have a black box that encrypts or decrypts AES with the same 128 bit key (you don't have any direct access to the key), and you control the input and the direction (enc/dec) and can see the output, can you mathematically derive the key? How many tests will you have to run to be able to derive the key?
He said he remembers there was a paper that said it will take only $2^{16}$ tries to derive the key. Does this paper exist? Dan anybody point me in the right direction?