Integer factorization and discrete logarithm problems Pierrick Gaudry