Changes

AES-CCM Attack

14 bytes added, 13:38, 3 November 2016
Step #2B: AES-CTR Pad Output DPA
Finally - we decrypt the best guess. If this was a valid AES-CTR mode output we'd expect to see the lower bytes as being '''00 01''' for the first data packet:
<syntaxhighlightlang="python">
from Crypto.Cipher import AES
key_from_cbcattack = [0x94, 0x28, 0x5D, 0x4D, 0x6D, 0xCF, 0xEC, 0x08, 0xD8, 0xAC, 0xDD, 0xF6, 0xBE, 0x25, 0xA4, 0x99]
Approved_users, bureaucrat, administrator
1,956
edits