Source: http://www.unilim.fr/pages_perso/francois.pigalle/Croissance/travaux%20dirig%C3%A9s/correction%20TD%205%20macro%20AES.pdf