Practical Cryptanalysis of ISO 9796-2 and EMV Signatures